Getting Help

Lab Schedule

Home > Online Help > Printing > Printing Postscript Files

Printing Postscript Files


SPECIFYING RANGE OF PAGES TO BE PRINTED

The psselect command allows you to specify a range of pages to be printed from an existing PostScript file. Suppose you wanted to print only the first 10 pages of a long PostScript document called book.ps. You could use psselect as follows:
    %> psselect -p1-10 book.ps | lpr
The psselect command does not actually send to the printer, making it necessary to send its output through the lpr command. Similiarly, you might want pages 1-5 and page 20:
    %> psselect -p1-5,20 book.ps | lpr
Type man psselect for more details.

PRINTING 2/3/4-UP

The psnup command lets you print multiple pages of a PostScript document on a single sheet of paper. The following example illustrates how you would print a document with two pages appearing on each sheet of paper:
    %> psnup -2 mydocument.ps | lpr
Again, the output of the psnup command is redirected into the lpr command to send to the printer. Type man psnup for details. Several other utilities, psbook , pstops, and pslpr are also available. Interested users should look at the manual pages for these commands.

EVERYTHING ELSE

Normally, you should be able to print Postscript files (files that end in ".ps") by just saying "lpr file.ps" Do not enscript Postscript files!!!

 


Comments to consult@newton.berkeley.edu
© 1998-2017 UC Regents