Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #1474
| From | Cecil Westerhof <Cecil@decebal.nl> |
|---|---|
| Newsgroups | comp.lang.postscript |
| Subject | Re: Rainbow printing |
| Organization | Decebal Computing |
| References | <87fvvfde6v.fsf@Aspire.decebal.nl> <d577ad16-3fef-41af-b4d8-577cbc5660e1@googlegroups.com> |
| Date | 2013-07-18 05:22 +0200 |
| Message-ID | <87k3komu1q.fsf@Aspire.decebal.nl> (permalink) |
Op donderdag 18 jul 2013 00:08 CEST schreef sjprouty: > On Monday, July 15, 2013 8:40:24 AM UTC-7, 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? >> >> >> >> -- >> >> Cecil Westerhof >> >> Senior Software Engineer >> >> LinkedIn: http://www.linkedin.com/in/cecilwesterhof > > > Here is a way to do it: > > %! > > gsave > > /Helvetica-Bold 80 selectfont > newpath > 100 650 moveto > (RAINBOW) true charpath > clip > > 1 0 0 setrgbcolor > 100 700 2000 10 rectfill > 1 0.5 0 setrgbcolor > 100 690 2000 10 rectfill > 1 1 0 setrgbcolor > 100 680 2000 10 rectfill > 0 1 0 setrgbcolor > 100 670 2000 10 rectfill > 0 0 1 setrgbcolor > 100 660 2000 10 rectfill > .31 0 .5 setrgbcolor > 100 650 2000 10 rectfill > > grestore > > showpage I did find a way to do it, but this one is much better. Thanks. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof
Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Rainbow printing Cecil Westerhof <Cecil@decebal.nl> - 2013-07-15 17:40 +0200
Re: Rainbow printing abeddie <abeddie@hotmail.com> - 2013-07-15 09:54 -0700
Re: Rainbow printing Cecil Westerhof <Cecil@decebal.nl> - 2013-07-15 20:56 +0200
Re: Rainbow printing Mark Carroll <mtbc@bcs.org> - 2013-07-15 20:19 +0100
Re: Rainbow printing Cecil Westerhof <Cecil@decebal.nl> - 2013-07-16 01:48 +0200
Re: Rainbow printing Cecil Westerhof <Cecil@decebal.nl> - 2013-07-17 11:36 +0200
Re: Rainbow printing Helge Blischke <h.blischke@acm.org> - 2013-07-15 18:56 +0200
Re: Rainbow printing Michael Unger <spam.to.unger@spamgourmet.com> - 2013-07-15 19:06 +0200
Re: Rainbow printing Michael Unger <spam.to.unger@spamgourmet.com> - 2013-07-15 22:07 +0200
Re: Rainbow printing John Deubert <john@acumentraining.com> - 2013-07-16 16:34 -0700
Re: Rainbow printing Cecil Westerhof <Cecil@decebal.nl> - 2013-07-17 09:10 +0200
Re: Rainbow printing sjprouty3765@gmail.com - 2013-07-17 15:08 -0700
Re: Rainbow printing Cecil Westerhof <Cecil@decebal.nl> - 2013-07-18 05:22 +0200
Re: Rainbow printing luser- -droog <mijoryx@yahoo.com> - 2013-07-17 15:22 -0700
Re: Rainbow printing luser- -droog <mijoryx@yahoo.com> - 2013-07-17 16:55 -0700
Re: Rainbow printing Cecil Westerhof <Cecil@decebal.nl> - 2013-07-18 05:22 +0200
csiph-web