source: trunk/third/transcript/man/pslpr.1p @ 9217

Revision 9217, 6.6 KB checked in by ghudson, 28 years ago (diff)
Remove all comments about the SysV spooling system, since we always use the BSD one. Changes to get along with catman better (the NAME section has to use no special formatting and include a \- after the name).
Line 
1.TH PSLPR 1 "19 August 1992" "Adobe Systems"
2\" Copyright (c) 1985,1987,1991,1992 Adobe Systems Incorporated. All Rights Reserved.
3\" ATTN GOVERNMENT END USERS: See notice of rights in file XPSLIBDIRX/Notice
4\" RCSID: $Header: /afs/dev.mit.edu/source/repository/third/transcript/man/pslpr.1p,v 1.2 1996-10-14 05:09:48 ghudson Exp $
5.ds PS P\s-2OST\s+2S\s-2CRIPT\s+2
6.SH NAME
7pslpr \- select or reverse the page order of a PostScript language file
8.SH SYNOPSIS
9.B pslpr
10[
11.B -\s-1LRfGazequ
12] [
13.BI -i pagerange
14] [
15.BI -S feature=value
16] [
17.BI -I resourcepath
18] [
19.BI -p filename
20]
21.br
22[
23.I spoolopts
24] [
25.I files
26]
27.SH DESCRIPTION
28.I pslpr
29reads in the specified \*(PS language
30.I file
31(or the standard input if no file is named) and, if the
32input conforms to the \*(PS language document structuring conventions,
33provides page order reversal, landscape orientation,
34and selection of specified pages for printing.
35Font and other resource downloading is supported as well as
36inclusion of printer-specific features such as manual feed.
37.I pslpr
38also supports ASCII85 encoding and LZW compression for Level 2 printers.
39.I pslpr
40sends output to
41.I
42filename
43if the
44.B -p
45option is used; otherwise the output is printed on the printer
46specified by the
47.br
48.BI -P printer
49option. If none of these options is used,
50.I
51pslpr
52prints on the printer specified by the PRINTER environment variable,
53if present, or to a printer named "PostScript".
54.sp
55The possible options are:
56.TP
57.BI -i pagerange
58.I pagerange
59may be a single page number or a range
60of the form "N-M" which means print pages N through M.
61Multiple instances of
62.I pagerange
63may be specified by repetitive use of this option.
64.TP
65.B -R
66reverses the page order.
67.TP
68.B -L
69prints the document in landscape format.
70Use of this option when processing a \*(PS language document that describes
71a page which
72is longer than the width of the paper being used will result in truncation
73at the top of the printed page.  You can use the
74.B -u
75switch to force the truncation of the bottom of the page instead of the
76top, or the
77.B -q
78option to shrink the image to fit in the width of the paper.
79When using the n-up capabilitiy of psnup, it is preferable
80to also use the rotate option of psnup rather than
81the landscape option of
82.I pslpr
83because the rotation of the page
84is taken into account by psnup when laying out multiple pages
85on a sheet of paper.
86.TP
87.BI -l resourcepath
88specifies the path name for a printer resource.  If the resource is not
89available in the printer, as defined in the printer's \*(PS Printer
90Description file,
91.I pslpr
92will download the resource to the printer.
93.TP
94.BI -p filename
95sends the document to the specified file, instead of printing it. If
96.B -p-
97is specified, output is directed to standard output.
98.TP
99.BI -f
100forces
101.I pslpr
102to proceed despite errors.
103.TP
104.BI -F
105don't perform any manipulation of the document\(emno page reversal, font
106downloading, etc.
107.TP
108.BI -G
109don't rearrange.
110.I pslpr
111will attempt to rearrange downloaded fonts
112to minimize transmission
113time if the printer has enough memory. the  -G option
114disables this feature.
115.TP
116.BI -a
117strips comments.
118Strips out all lines that begin with "%".  This should not be used if later
119processing of this document is expected.
120.TP
121.B -z
122performs LZW compression and ASCII85 encoding of the document.  This
123feature is available only in Level 2 printers.
124.TP
125.B -e
126adds showpage.  This is useful when printing Encapsulated \*(PS files,
127which may or may
128not have a showpage in them.
129.TP
130.B -q
131shrinks to fit.  This is used in conjunction with landscape mode.  When
132specified, the image will be scaled to fit on the rotated page.
133.TP
134.B -u
135overtranslates when rotating.  The default behavior when landscape is
136specified is to translate the axis so that the bottom left corner of the
137rotated page corresponds with the origin.  If this switch is specified, the
138axis will be translated beyond that, so that the point in the coordinate
139space that matched the upper left corner of the unrotated page will match
140the upper left corner of the rotated page.  This is useful when rotating
141images produced by programs whose idea of the origin of the coordinate
142space is at the top of the page, rather than the bottom, as in the \*(PS
143language imaging model.
144.TP
145.BI -S feature = value
146Sets a printer-specific feature, such as manual feed.  If no value is
147specified, a value of "TRUE" is assumed.  Any feature named in the
148target printer's \*(PS Printer Description file can be used here.
149.TP
150.BI -P printer
151causes the output to be sent to the named printer, unless
152.I
153filename
154is specified; in which case, the printer name is used to access the
155printer's \*(PS Printer Description file for information, and the output is
156written to
157the specified file instead of being spooled for printing.
158.TP
159.BI -# n
160causes
161.I n
162copies of the output to be produced.  The default is one.
163.TP
164.B -h
165suppresses the printing of the job burst page.
166.TP
167.BI -C class"
168sets the job classification for use on the burst page.
169.TP
170.BI -J name"
171sets the job name for use on the burst page.  Otherwise, the name of the
172first input file will be used.
173.TP
174.BI -m
175sends mail after files have been printed.
176.TP
177.BI -r
178renames the file after printing.
179.PP
180
181.SH EXAMPLES
182The following command reads a \*(PS language file called printfile.ps
183and prints pages 3 through 19, 37
184through 60 and page 90, in landscape format.  The
185.B -P
186option directs
187the output to the printer called ps, and is required when using the
188-L option.
189
190.RS
191pslpr -i3-19 -i37-60 -i90 -L -Pps  printfile.ps
192
193.RE
194In the next example, a textfile is processed by enscript, creating a \*(PS
195language file which is piped to
196.I pslpr
197and printed page-reversed on the printer
198named LaserBlaster.
199
200.RS
201enscript -p- textfile | pslpr -R -PLaserBlaster
202
203.RE
204In this example, a \*(PS language file (doc.ps) is prepared for printing on
205a specific 
206printer (LaserBlaster), but is saved in a file (LBprintfile),
207instead of being spooled for printing.
208
209.RS
210pslpr -pLBprintfile -PLaserBlaster doc.ps
211
212.RE
213.SH ENVIRONMENT
214.IP PSRESOURCEPATH
215path name to use for accessing printer resource information
216for downloadable resources
217.IP PSTEMPDIR
218path name of a temporary directory to use instead of XPSTEMPDIRX
219for spooled temporary files
220.IP "PRINTER"
221the name of a printer (as in the
222.B -P
223option) for
224lpr
225to use.  If no
226.B -P
227option is specified,
228lpr
229will use this printer.  If neither
230.B -P
231nor PRINTER is set,
232.I pslpr
233will spool to a printer named "PostScript".
234.SH "SEE ALSO"
235transcript(1), enscript(1), psnup(1), postscript(7)
236.SH AUTHOR
237Adobe Systems Incorporated
238.SH "NOTES"
239\*(PS is a registered trademark of Adobe Systems Incorporated.
240.br
241Unix is a trademark of AT&T Bell Laboratories.
242
Note: See TracBrowser for help on using the repository browser.