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