PAGEVIEW(1) — USER COMMANDS
NAME
pageview − POSTSCRIPT language previewer for OpenWindows
SYNOPSIS
pageview [ −mono ] [ −wpaperwidth ] [ −hpaperheight ] [ −dpidots/inch ] [ −pagepage ] [ −dirdirectory ] [ −left|right|upsidedown ] [ −verbose ] [ psfile | − ]
DESCRIPTION
pageview is an interactive POSTSCRIPT previewer. pageview renders a document, a page at a time, onto an offscreen bitmap which may be of arbitrary size, resolution and orientation. The user can then adjust the viewing window’s size to see as much of the page as desired. The mouse buttons are used to position the page under the window in two different modes.
The left button moves the page in "relative mode". This allows you to move the page in a physically intuitive way. You press the left button on the page and while you drag the mouse around, the spot on the page that was under the mouse cursor when you pressed the button remains stationary relative to the cursor.
The middle button moves the page in "absolute mode". This allows you to easily get to the edges of the document, especially when the DPI is large and/or the window is small. When you press the middle button on a point in the window, the page is adjusted so that the same relative point on the page is under the mouse. For example, if you press the middle button at the top right corner of the window, you will see the top right corner of the page. A little experimentation with a page at 300 dpi and you will find this mode indispensible.
There are three menu buttons across the top of the main window which are described below:
File The File menu is used to bring up the Load... or Print... dialogs.
Load...
brings up a dialog which prompts for a directory and filename to load a new PostScript file.
Print...
brings up a dialog which prompts for the name of the printer to send the PostScript document to. You can print the whole document or only the current page. You may also write the PostScript to a named file.
View
The View menu allows you to move to the Next, Previous, First and Last pages of multipage documents.
Edit The edit menu has two choices, PostScript and Properties.
PostScript...
brings up a text editor with the PostScript document in it and a window which contains all of the errors and other output from the document. You may make changes to the document and press the run button to re-render the page.
Properties...
brings up the property sheet for page size, orientation and resolution.
DPI: This lets you change the "resolution" of the retained bitmap which the page is being rendered onto. 36 dpi will make a US Letter sized page be 306x396 pixels, where 300 dpi would be 2490x3300 pixels. This has the effect of making 36 dpi images appear smaller and 300 dpi pages appear larger due to the static resolution of the display. pageview starts out at 80 dpi, unless you have the environment variable $DPI set to some other default, or you use the −dpi command line argument.
Size: This lets you change the size of the retained bitmap which the page is rendered onto. USLetter is 8.5x11", Legal is 8.5x14", and the European page sizes are, A3 29.7 x 42.0 cm, A4 21.0 X 29.7 cm, A5 14.8 x 21.0 cm, and B5 17.6 x 25.0 cm. These values can be set to custom values by the −height and −width command line arguements.
Orientation:
This menu lets you choose which way to rotate the paper in 90 degree increments. This is useful for viewing slides which are commonly rendered in "Landscape left" orientation.
OPTIONS
−mono
is used to force pageview to use a monochrome retained canvas on color systems. This saves memory and is faster on some framebuffers.
−wpaperwidth
sets the width of the "paper" to paperwidth inches, the default is 8.5.
−hpaperheight
sets the height of the "paper" to paperheight inches, the default is 11.
−dpidots/inch
sets the "dpi" of the "paper" to dots/inch The environment variable $DPI is used if this option is not present, and the default is 85 if this variable is not in the environment. Caution must be used in setting this argument as well as the paper size args above, so you do not exhaust memory resources. For example a USLetter sized page previewed at 300 dpi, takes up 300∗8.5/8∗300∗11 or a little over a Megabyte. The same page at 1500 dpi takes over 26 Megabytes.
−dirdirectory
Sets the current working directory to directory so that you can type filenames at the "Load File: " prompt relative to directory
−left|right|upsidedown
Sets the rotation of the page.
−verbose
Prints lots of debugging information (not useful to the user)
If psfile is specified, the POSTSCRIPT code is taken from that file.
If no argument is given, pageview comes up with no document in it and if a ‘−’ is given as the argument, pageview reads the POSTSCRIPT program from standard input.
SEE ALSO
POSTSCRIPT Language Reference Manual , Adobe Systems Inc., Addison-Wesley
TRADEMARK
POSTSCRIPT is a registered trademark of Adobe Systems Inc
Sun Release 4.1 — Last change: 21 July 1990