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

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