source: trunk/third/transcript/man/psdman.8p @ 9090

Revision 9090, 4.3 KB checked in by ghudson, 28 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r9089, which included commits to RCS files with non-trunk default branches.
Line 
1.TH PSDMAN 8 "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/psdman.8p,v 1.1.1.1 1996-10-07 20:25:39 ghudson Exp $
5.ds PS P\s-2OST\s+2S\s-2CRIPT\s+2
6.ds TS T\s-2RAN\s+2S\s-2CRIPT\s+2
7.SH NAME
8psdman\(emT\s-2RAN\s+2S\s-2CRIPT\s+2 document manager for P\s-2OST\s+2S\s-2CRIPT\s+2 printers
9.SH "SYNOPSIS"
10.B  psdman
11[
12.B -\s-1rfsGFaL\s+1
13] [
14.BI -P printername
15] [
16.BI -p prog
17] [
18.BI -n user
19] [
20.BI -h host
21]
22.SH "DESCRIPTION"
23.I psdman
24is the \*(TS document manager invoked by the printer interface script
25psinterface
26(System V) or
27psint.sh
28(BSD)
29after the printer interface program has been invoked by the print spooler.
30.PP
31.I psdman
32is responsible for reading the the document file to be printed, and
33taking the appropriate action to prepare the file for printing on a
34\*(PS printer.
35.I psdman
36distinguishes between text files (which get formatted) and \*(PS language
37files.  If the input to
38.I psdman
39does not begin with the \*(PS language
40magic number\(emthe first two characters being "%!"\(em
41.I psdman
42will invoke
43enscript
44to create a listing of the file.
45If the first bytes of the input file are "%!PS-Adobe-",
46and if the printer options so specify,
47.I psdman
48will also will perform various document management tasks,
49such as page reversal, font and other resource downloading, and
50printer-specific feature inclusion (manual feed, duplex, paper tray
51setting, etc.)
52before printing, if so requested.
53.I psdman
54supports LZW compression and ASCII85 encodingfor Level 2 printers.
55.sp
56The possible options are:
57.TP
58.BI -r
59never reverse.
60.TP
61.BI -f
62continues processing despite errors.  This is the default.
63.TP
64.BI -s
65stops when errors are encountered.
66.TP
67.BI -G
68do not attempt to rearrange fonts for more efficient downloading.
69.TP
70.BI -F
71turns off parsing.  If this is specified,
72.I psdman
73will simply pass the data
74through without attempting to perform any document management.  Conversion
75of text files will still occur.
76.TP
77.BI -a
78strips out comments.  If this is specified, psdman will strip out any line
79that begins with "%".
80.TP
81.BI -L
82landscape. 
83.I Psdman
84will cause the input to be printed rotated 90 degrees.
85It will not attempt to make sure the resulting image will fit on the page.
86.TP
87.BI -P printername
88.I printername
89is the name of the \*(PS printer for which output is intended.
90.TP
91.BI -p program
92.I program
93(BSD only) is the name of the program through which psdman was invoked.
94Typically this is
95psif.
96.TP
97.BI -h host
98.I host
99(BSD only) is the name of the host from which the print job originated.
100.TP
101.BI -n user
102.I user
103(BSD only) is the name of the user for whom the print job is being printed.
104.SH ENVIRONMENT
105.br
106There are a number of environment variables used by
107.I psdman
108which are listed below.
109The
110psinterface
111(System V) or
112psint.sh
113(BSD)
114script sets the initial value for each,
115and the printer options file can be used to change the value for a
116particular printer.
117Note that Bourne shell syntax must be used in the printer options file.
118For BSD, this file is in the spool directory; for System V, look in
119/usr/spool/lp/transcript/ps.opt.
120Many of the variables take a numerical value, and specify whether
121an action should take place or not; 1 means do the action and
1220 means don't do it.
123.TP
124.BI REVERSE "=\fInumber\fP "
125reverse the page order
126.TP
127.BI VERBOSELOG "=\fInumber\fP "
128print verbose log messages
129.TP
130.BI COMPRESS "=\fInumber\fP "
131perform LZW compression on the file
132.TP
133.BI PSTEMPDIR "=\fIDirectory name\fP "
134directory for temporary files
135.PP
136You could turn off page reversal for a particular printer
137by adding this line to the printer options file:
138.br
139\ \ \ \ REVERSE=0
140\ \ \ \ export REVERSE
141.SH FILES
142.TP 2.2i
143XPSLIBDIRX/bogusmsg.ps
144\*(PS language file for a "spooled binary file rejected" message to printer
145.TP 2.2i
146XPSTEMPDIRX/t*
147Temporary file to format text files.
148.SH "SEE ALSO"
149transcript(1), pscomm(1), lp(1), enscript(1)
150.br
151.I System V Line Printer Spooling Utilities
152.SH AUTHOR
153Adobe Systems Incorporated
154.SH NOTES
155\*(PS is a registered trademark of Adobe Systems Incorporated.
156.br
157\*(TS is a trademark of Adobe Systems Incorporated.
158.br
159Unix is a trademark of AT&T Bell Laboratories.
Note: See TracBrowser for help on using the repository browser.