Enlarging an Image File Using xfig

xfig will read gif, jpeg, ps, pcx and xbm files.  If you
have some other format, first convert to one of these with
xv or convert or some other utility.

Start xfig on a Unix command line by entering: xfig

Click on the "Picture" camera icon.

Mark an upper left and lower right corner (in that order)
by clicking the left mouse button. Put the upper left corner
near 0,0.  Put the lower right anywhere below and right.

Enter filename in the "Picture filename" box and hit return.
Then click on "Use Original Size" and then "Done."

(Note that at this point you could read in as many more
images as you want, position them wherever, overlay with
text and graphics, etc.  If you do a lot of work here within
xfig, you probably ought to save the figure before going on.
Pull down the "File" menu and save.)

Now choose "Export" from the top menu bar of xfig.
Under "Language" choose "Postscript" (not "Encapsulated Postscript"). 
Under "Paper Size" choose "ANSI E."
Under "Orientation," choose "landscape" if your image is wider
   than high, choose "portrait" otherwise.  You should see that
   "Magnif %" is now significantly higher than 100%.
Type in an output filename, for example: fig.ps
Click on "Export."

Click on "No" when xfig asks whether to save the "figure" - this
is not necessary.

At this point, edit fig.ps (or whatever you've called it) to
check that the "BoundingBox" looks reasonable.  The four numbers
represent the upper left X,Y and lower right X,Y respectively.
The 3rd and 4th of these numbers should be close to but not
greater than 2520 and 3384 respectively.

You can also reassure yourself that you have a truly large postscript
file by entering on the command line: gv fig.ps
Within gv, you can move the figure around by pressing and holding
the left mouse button and then moving the mouse around.

Finally, print your file:

lp -d poster fig.ps


To suggest changes, additions, clarifications in this documentation, contact Central Services: central@astro.