IUBio

Prettybox on A3

Ken Baker ken.baker at bbsrc.ac.uk
Wed Sep 11 11:09:32 EST 1996


In article <3235299E.69A9 at bbsrc.ac.uk>, Andy Phillips
<andy.phillips at bbsrc.ac.uk> wrote:

> 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
> 
> Ken,
> 
> You don't need a PS editing package - PS files are just text, so you can
use a text editor. 
> 
> One of the first postscript commands in the output file (after the list
of procedures) is X Y 
> SCALE. This, no surprise, sets the scale of the output, in points, so
when you specify 10 point 
> in PRETTYBOX this generates 
> 
> 10 10 SCALE 
> 
> in the output. So one way to produce A3 output is to set the point size
in prettybox to generate 
> a portrait A4, then edit the PS file and change the SCALE command to
increase scaling: to change 
> A4 to A3, multiply both X and Y scaleings by 1.414 (square root of 2).
You can get the 
> postscript interpreter to do this (note that postscript uses reverse
notation):

[edit]

> Andy

Yep, Andy is right. Actually I knew that postscript is text; what I didn't
know was which bits to edit. Anyway, with Andy's help we've now cracked
it.

In case anybody else get the same problem: here's the answer:-

Prettybox/linesize=60/fontsize=7 and select portrait

That sets the scale line in the postscript output to

7 7 scale

edit it to read

10 10 scale

(10 being about 1.414 x 7)

and print to an A3 printer.

What you get is the output which formerly occupied 2 landscape pages of A4
on one landscape page of A3.

It wasn't necessary to translate it positionally.

Presumably something analogous could be be done if the output was larger.

Cheers,

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



More information about the Info-gcg mailing list

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