Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Helge Blischke Newsgroups: comp.lang.postscript Subject: Re: Rainbow printing Followup-To: comp.lang.postscript Date: Mon, 15 Jul 2013 18:56:32 +0200 Lines: 14 Message-ID: References: <87fvvfde6v.fsf@Aspire.decebal.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Trace: individual.net NgLVR+pKd+DsELsecUJPBQLGaRDhHkwjuzqAg0pai7iFyiozlu Cancel-Lock: sha1:K3Ojjxjtj/C+QuxKcaoljbrMUVQ= User-Agent: KNode/0.99.01 Xref: csiph.com comp.lang.postscript:1447 Cecil Westerhof wrote: > I would like to print things with a rainbow stripe. So the top would > be red, the bottom would be violet and the other colours would be in > between. Is it possible to do this? > It can be done using the shfill operator which requires a shading dictionary as the only parameter on the operand stack. See the PLRM section 4.9.3 "Shading Patterns" for the details. Helge