1 | .TH PTROFF 1 "19 August 1992" "Adobe Systems" |
---|
2 | \" RCSID: $Header: /afs/dev.mit.edu/source/repository/third/transcript/man/ptroff.1p,v 1.2 1996-10-14 05:09:50 ghudson Exp $ |
---|
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/ptroff.1p,v 1.2 1996-10-14 05:09:50 ghudson Exp $ |
---|
5 | .ds PS P\s-2OST\s+2S\s-2CRIPT\s+2 |
---|
6 | .SH NAME |
---|
7 | ptroff \- troff to a PostScript printer |
---|
8 | .SH SYNOPSIS |
---|
9 | .B ptroff |
---|
10 | [ |
---|
11 | .B -t |
---|
12 | ] [ |
---|
13 | .BI -F family |
---|
14 | ] [ |
---|
15 | .I "troff options" |
---|
16 | ] [ |
---|
17 | .I "spool options" |
---|
18 | ] [ |
---|
19 | .I files |
---|
20 | ] |
---|
21 | .SH DESCRIPTION |
---|
22 | .I ptroff |
---|
23 | is a shell script that runs |
---|
24 | [o]troff(1) |
---|
25 | in an environment to produce output on a \*(PS printer. It uses |
---|
26 | pscat |
---|
27 | to convert |
---|
28 | troff |
---|
29 | C/A/T output to a \*(PS language print file, and spools this for printing. |
---|
30 | If no |
---|
31 | .I files |
---|
32 | are specified, the standard input is used. |
---|
33 | .PP |
---|
34 | In addition to the standard |
---|
35 | [o]troff |
---|
36 | options, the following options are understood by |
---|
37 | .I ptroff. |
---|
38 | .TP |
---|
39 | .B -t |
---|
40 | sends the \*(PS language output to the standard output, |
---|
41 | rather than spooling it to a printer. |
---|
42 | Note that this overrides the meaning of the |
---|
43 | troff |
---|
44 | .B -t |
---|
45 | option; if you want the C/A/T file, run |
---|
46 | [o]troff |
---|
47 | directly. |
---|
48 | .TP |
---|
49 | .BI -F fontfamily |
---|
50 | names a font family to load into |
---|
51 | [o]troff |
---|
52 | and |
---|
53 | pscat. |
---|
54 | .I Fontfamily |
---|
55 | is used to name both a |
---|
56 | *\.head |
---|
57 | file containing |
---|
58 | troff |
---|
59 | "fp" commands, and a |
---|
60 | *\.ct |
---|
61 | file containing a character mapping for |
---|
62 | pscat. |
---|
63 | Font families "Times" and "Helvetica" are probably |
---|
64 | defined at your site; others may be available. |
---|
65 | .PP |
---|
66 | In 4.2bsd UNIX systems, the following spooler options are passed on to |
---|
67 | lpr. |
---|
68 | .TP |
---|
69 | .BI -P printer |
---|
70 | causes the output to be sent to the named printer. |
---|
71 | .TP |
---|
72 | .BI -# n |
---|
73 | causes |
---|
74 | .I n |
---|
75 | copies of the output to be produced. The default is one. |
---|
76 | .TP |
---|
77 | .B -h |
---|
78 | suppresses the printing of the job burst page. |
---|
79 | .TP |
---|
80 | .BI -C class |
---|
81 | sets the job classification for use on the burst page. |
---|
82 | .TP |
---|
83 | .BI -J name |
---|
84 | sets the job name for use on the burst page. Otherwise, the name of the |
---|
85 | first input file will be used. |
---|
86 | .TP |
---|
87 | .BI -m |
---|
88 | sends mail after files have been printed. |
---|
89 | .PP |
---|
90 | In System V UNIX systems, the following spooler options are passed on to |
---|
91 | lp. |
---|
92 | .TP |
---|
93 | .BI -d dest |
---|
94 | causes the output to be sent to the named destination. |
---|
95 | .TP |
---|
96 | .BI -n n |
---|
97 | causes |
---|
98 | .I n |
---|
99 | copies of the output to be produced. The default is one. |
---|
100 | .TP |
---|
101 | .B -h |
---|
102 | suppresses the printing of the job burst page. |
---|
103 | .TP |
---|
104 | .B -r |
---|
105 | don't page-reverse the output. |
---|
106 | .TP |
---|
107 | .BI -s |
---|
108 | suppresses messages from |
---|
109 | lp. |
---|
110 | .TP |
---|
111 | .BI -m |
---|
112 | sends mail after files have been printed. |
---|
113 | .TP |
---|
114 | .BI -w |
---|
115 | writes to the user's terminal after files have been printed. |
---|
116 | .SH ENVIRONMENT |
---|
117 | .IP "PRINTER (BSD)" |
---|
118 | the name of a printer (as in the |
---|
119 | .B -P |
---|
120 | option) for |
---|
121 | lpr |
---|
122 | to use. If no |
---|
123 | .B -P |
---|
124 | option is specified, |
---|
125 | lpr |
---|
126 | will use this printer. If neither |
---|
127 | .B -P |
---|
128 | nor PRINTER is set, |
---|
129 | .I ptroff |
---|
130 | will spool to a printer named "PostScript". |
---|
131 | .IP "LPDEST (System V)" |
---|
132 | the name of a printer (as in the n |
---|
133 | .B -d |
---|
134 | option) for |
---|
135 | lp |
---|
136 | to use. If no |
---|
137 | .B -d |
---|
138 | option is specified, |
---|
139 | lp |
---|
140 | will use this printer. If neither |
---|
141 | .B -d |
---|
142 | nor LPDEST is set, |
---|
143 | .I ptroff |
---|
144 | will spool to a printer class named "PostScript". |
---|
145 | .SH "FILES" |
---|
146 | .TP 2.2i |
---|
147 | XTROFFFONTDIRX/*.ct |
---|
148 | character correspondence tables for |
---|
149 | pscat. |
---|
150 | .TP |
---|
151 | XTROFFFONTDIRX/*.head |
---|
152 | troff |
---|
153 | headers containing ".fp" commands. |
---|
154 | .TP |
---|
155 | XTROFFFONTDIRX/ftXX |
---|
156 | font width files for |
---|
157 | troff. |
---|
158 | .TP |
---|
159 | XPSLIBDIRX/pscat.pro |
---|
160 | default \*(PS language prologue for |
---|
161 | pscat. |
---|
162 | .SH "SEE ALSO" |
---|
163 | pscat(1), pscatmap(8) |
---|
164 | .br |
---|
165 | BSD: troff(1) |
---|
166 | .br |
---|
167 | System V: otroff(1) |
---|
168 | .br |
---|
169 | J. F. Ossanna, |
---|
170 | .I Nroff/Troff User's Manual |
---|
171 | .br |
---|
172 | .I |
---|
173 | Documenter's Workbench |
---|
174 | .SH AUTHOR |
---|
175 | Adobe Systems Incorporated |
---|
176 | .SH BUGS |
---|
177 | Because of the character mapping tables used, explicit |
---|
178 | use of the ".fp" troff directive will usually produce the |
---|
179 | wrong result. Users must build and reference correct tables with |
---|
180 | .IR pscatmap (8) |
---|
181 | for non-standard ".fp" combinations to work. |
---|
182 | .PP |
---|
183 | More flexibility is allowed by using |
---|
184 | .IR troff , |
---|
185 | .IR pscat , |
---|
186 | and the spooler separately. |
---|
187 | .SH NOTES |
---|
188 | \*(PS is a registered trademark of Adobe Systems Incorporated. |
---|
189 | .br |
---|
190 | \*(TS is a trademark of Adobe Systems Incorporated. |
---|
191 | .br |
---|
192 | Times and Helvetica are registered trademark of Linotype. |
---|
193 | .br |
---|
194 | Documenter's Workbench is a trademark of AT&T Technologies. |
---|
195 | .br |
---|
196 | Unix is a trademark of AT&T Bell Laboratories. |
---|
197 | |
---|