IUBio

Prettybox on A3 (PS)

Andy Phillips andy.phillips at bbsrc.ac.uk
Tue Sep 10 03:48:19 EST 1996


Ken Baker wrote:
> 
> Does anybody know how to force prettybox to use A3 sized output? We've got
> output which occupies 2 landscape A4 pages, and we want to print it onto
> portrait A3. (For those unfamiliar with European paper sizes, A4 is
> roughly letter-sized, A3 is like two A4's stuck together along their long
> edges.)
> 
> The photocopier won't reproduce all those nice halftones 8-(, and we don't
> have access to a postscript editing package.
> 
> Anybody got any bright ideas?
> 
> Thanks in advance,
> 
> Ken.
> 
> --
> Dr Ken Baker                           Internet:ken.baker at bbsrc.ac.uk
> B.I.T.S.
> BBSRC Computing Centre            BritishTelecomnet: (+44)1582 762271
> West Common                                  Faxnet: (+44)1582 761710
> Harpenden AL5 2JE                           ICBMnet:  51'48'N 00'21'W

P.S. (pun intended)

You can also use the postscript language to put colour into your prettybox files. I wrote the 
enclosed routines to replace the existing ones in the prettybox output. You can specific the 
colour of boxes using RGB notation, then output to a Deskjet (or even a slidemaker) using 
Ghostview.

/docolor {              %do coloured boxes with black letters 
 newpath 
 setrgbcolor 
 2 copy 
 moveto 
 box 
 moveto 
 0 setgray 
 .22 .2 rmoveto 
 show 
 } def 
 
/black {               %red box, black letter
 1 0.1 0.1 docolor
 } def 

/white {                %white box, black letter
 1 doblack
 } def 

/dark {                %dark pink box, black letter 
 1.0 0.3 0.3 docolor
 } def
 
/light {                 %pink box, black letter
 1.0 0.5 0.5 docolor
 } def 
 
/pale {                %pale pink box, black letter 
 1 0.7 0.7 docolor 
 } def 
 
Andy
 ------------------------------------------------------------------------ 
 Email  : andy.phillips at bbsrc.ac.uk  : University of Bristol
 Home   : andy at cycad.demon.co.uk     : IACR Long Ashton Research Station 
 Phone  : +44-1275-549257            : Long Ashton
 Fax    : +44-1275-394281            : Bristol, BS18 9AF, UK
 WWW    : http://www.lars.bbsrc.ac.uk/plantsci/molbiol/andy.html
 ------------------------------------------------------------------------



More information about the Info-gcg mailing list

Send comments to us at biosci-help [At] net.bio.net