up | Inhaltsverzeichniss | Kommentar

Manual page for PSLPR(1)

pslpr - select or reverse page order of a POSTSCRIPT file

SYNOPSIS

pslpr [ -LRfGaz ] [ -ipagerange ] [ -Sfeature=value ] [ -Iresourcepath ] [ -pfilename ] [ spoolopts ] [ files ]

DESCRIPTION

pslpr reads in the specified POSTSCRIPT file (or the standard input if no file is named), and if the input conforms to the POSTSCRIPT file structuring conventions, provides page order reversal, landscape orientation and selection of specified pages for printing. Font and other resource downloading is supported as well as inclusion of printer-specific features, such as manual feed. pslpr also supports ASCII85 encoding and lzw compression for Level 2 printers. pslpr sends output to filename if the -p option is used; otherwise the output is printed on the printer specified by either the -Pprinter option for BSD or the -ddest option of System V. If none of these options is used, pslpr prints on the printer specified by the PRINTER environment variable, if present, or to a printer named "POSTSCRIPT".

The possible options are:

-i pagerange
Pagerange may be a single page number or a range of the form ``N-M'' which means print pages N through M. Multiple instances of pagerange may be specified by repetitive use of this option.
-R
reverse the page order.
-L
print the document in landscape format. Use of this option when processing a POSTSCRIPT that describes a page which is longer than the width of the paper being used will result in truncation at the top of the printed page. When using the n-up capabilitiy of psnup, it is preferable to also use the rotate option of psnup rather than the landscape option of pslpr because the rotation of the page is taken into account by psnup when laying out multiple pages on a sheet of paper.
-l resourcepath
specifies the pathname for a printer resource. If the resource is not available in the printer, as defined in the printer's POSTSCRIPT Printer Description (PPD), pslpr will download the resource to the printer.
-p filename
Send the document to the specified file, instead of printing it. If -p- is specified, output is directed to stdout.
-f
Force pslpr to proceed despite errors.
-F
Don't perform any maipulation of the document - no page reversal, font downloading, etc.
-G
norearrange. pslpr will attempt to rearrange downloaded fonts to minimize transmission time if enough memory is present in the printer. the -G option disables this feature.
-a
Strip comments. Strip out all lines that begin with %. This should not be used if later processing of this document is expected.
-z
Perform LZW compression and ASCII85 encoding of the document. This feature is available only in Level 2 printers.
-S feature = value
Set printer-specific feature, such as Manual Feed. If no value is specified, a value of "TRUE" is assumed. Any feature named in the target printer's PPD file can be used here.

In 4.3bsd UNIX systems, the following spooler options are passed on to lpr.

-P printer
causes the output to be sent to the named printer, unless filename is specified; in which case, the printer name is used to access the printer's PPD file for information, and the output is written to the specified file instead of being spooled for printing.
-# n
causes n copies of the output to be produced. The default is one.
-h
suppress the printing of the job burst page.
-C class
set the job classification for use on the burst page.
-J name
set the job name for use on the burst page. Otherwise, the name of the first input file will be used.
-m
send mail after files have been printed.
-r
rename file after printing.

In System V UNIX systems, the following spooler options are passed on to lp. See the man page for LP(C) and LPR(W) for more complete descriptions.

-d dest
causes the output to be sent to the named printer, unless file is specified; in which case, the printer name is used to access the printer's PPD file for information, and the output is written to the specified file instead of being spooled for printing.
-c
Immediately make a copy of the file to be printed.
-n n
causes n copies of the output to be produced. The default is one.
-h
suppress the printing of the job burst page.
-r
don't page-reverse the output.
-s
suppress messages from lp.
-m
send mail after files have been printed.
-t title
specify the title.
-w
write to user's terminal after files have been printed.
-o option
send printer-dependent or class dependent option to print spooler.

EXAMPLES

The following command reads a POSTSCRIPT file called printfile.ps and prints pages 3 through 19, 37 through 60 and page 90, in landscape format. The -d option (System V only; for BSD use -P option) directs the output to the printer called ps, and is required when using the -L option.
pslpr -i3-19 -i37-60 -i90 -L -d ps printfile.ps
In the next example a textfile is processed by enscript, creating a POSTSCRIPT file, which is piped to pslpr and printed page-reversed on the printer named LaserBlaster. The first line in the example is for BSD, the second for System V.
enscript -p- textfile | pslpr -R -P LaserBlaster enscript -p- textfile | pslpr -R -d LaserBlaster
In this example, a POSTSCRIPT file is prepared for printing on a specific printer (LaserBlaster), but is saved in a file (LBprintfile), instead of being spooled for printing. Again, the first line in the example is for BSD, the second for System V.
pslpr -p LBprintfile -P LaserBlaster doc.ps pslpr -p LBprintfile -d LaserBlaster doc.ps

ENVIRONMENT

PSRESOURCEPATH
path name to use for accessing printer resource information for downloadable resources.
PSTEMPDIR
path name of temporary directory to use instead of /tmp for spooled temporary files.
PRINTER (4.3bsd)
the name of a printer (as in the -P option) for lpr to use. If no -P option is specified, lpr will use this printer. If neither -P nor PRINTER is set, pslpr will spool to a printer named ``PostScript''.
LPDEST (System V)
the name of a printer (as in the -d option) for lp to use. If no -d option is specified, lp will use this printer. If neither -d nor LPDEST is set, pslpr will spool to a printer class named ``PostScript''.

SEE ALSO

transcript(1), enscript(1), psnup(1), postscript(7).

DIAGNOSTICS

Should be self explanatory.

AUTHOR

Adobe Systems Incorporated

NOTES

POSTSCRIPT is a registered trademark of Adobe Systems Incorporated.


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97