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 |
---|
8 | psdman\(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 |
---|
24 | is the \*(TS document manager invoked by the printer interface script |
---|
25 | psinterface |
---|
26 | (System V) or |
---|
27 | psint.sh |
---|
28 | (BSD) |
---|
29 | after the printer interface program has been invoked by the print spooler. |
---|
30 | .PP |
---|
31 | .I psdman |
---|
32 | is responsible for reading the the document file to be printed, and |
---|
33 | taking the appropriate action to prepare the file for printing on a |
---|
34 | \*(PS printer. |
---|
35 | .I psdman |
---|
36 | distinguishes between text files (which get formatted) and \*(PS language |
---|
37 | files. If the input to |
---|
38 | .I psdman |
---|
39 | does not begin with the \*(PS language |
---|
40 | magic number\(emthe first two characters being "%!"\(em |
---|
41 | .I psdman |
---|
42 | will invoke |
---|
43 | enscript |
---|
44 | to create a listing of the file. |
---|
45 | If the first bytes of the input file are "%!PS-Adobe-", |
---|
46 | and if the printer options so specify, |
---|
47 | .I psdman |
---|
48 | will also will perform various document management tasks, |
---|
49 | such as page reversal, font and other resource downloading, and |
---|
50 | printer-specific feature inclusion (manual feed, duplex, paper tray |
---|
51 | setting, etc.) |
---|
52 | before printing, if so requested. |
---|
53 | .I psdman |
---|
54 | supports LZW compression and ASCII85 encodingfor Level 2 printers. |
---|
55 | .sp |
---|
56 | The possible options are: |
---|
57 | .TP |
---|
58 | .BI -r |
---|
59 | never reverse. |
---|
60 | .TP |
---|
61 | .BI -f |
---|
62 | continues processing despite errors. This is the default. |
---|
63 | .TP |
---|
64 | .BI -s |
---|
65 | stops when errors are encountered. |
---|
66 | .TP |
---|
67 | .BI -G |
---|
68 | do not attempt to rearrange fonts for more efficient downloading. |
---|
69 | .TP |
---|
70 | .BI -F |
---|
71 | turns off parsing. If this is specified, |
---|
72 | .I psdman |
---|
73 | will simply pass the data |
---|
74 | through without attempting to perform any document management. Conversion |
---|
75 | of text files will still occur. |
---|
76 | .TP |
---|
77 | .BI -a |
---|
78 | strips out comments. If this is specified, psdman will strip out any line |
---|
79 | that begins with "%". |
---|
80 | .TP |
---|
81 | .BI -L |
---|
82 | landscape. |
---|
83 | .I Psdman |
---|
84 | will cause the input to be printed rotated 90 degrees. |
---|
85 | It will not attempt to make sure the resulting image will fit on the page. |
---|
86 | .TP |
---|
87 | .BI -P printername |
---|
88 | .I printername |
---|
89 | is 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. |
---|
94 | Typically this is |
---|
95 | psif. |
---|
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 |
---|
106 | There are a number of environment variables used by |
---|
107 | .I psdman |
---|
108 | which are listed below. |
---|
109 | The |
---|
110 | psinterface |
---|
111 | (System V) or |
---|
112 | psint.sh |
---|
113 | (BSD) |
---|
114 | script sets the initial value for each, |
---|
115 | and the printer options file can be used to change the value for a |
---|
116 | particular printer. |
---|
117 | Note that Bourne shell syntax must be used in the printer options file. |
---|
118 | For BSD, this file is in the spool directory; for System V, look in |
---|
119 | /usr/spool/lp/transcript/ps.opt. |
---|
120 | Many of the variables take a numerical value, and specify whether |
---|
121 | an action should take place or not; 1 means do the action and |
---|
122 | 0 means don't do it. |
---|
123 | .TP |
---|
124 | .BI REVERSE "=\fInumber\fP " |
---|
125 | reverse the page order |
---|
126 | .TP |
---|
127 | .BI VERBOSELOG "=\fInumber\fP " |
---|
128 | print verbose log messages |
---|
129 | .TP |
---|
130 | .BI COMPRESS "=\fInumber\fP " |
---|
131 | perform LZW compression on the file |
---|
132 | .TP |
---|
133 | .BI PSTEMPDIR "=\fIDirectory name\fP " |
---|
134 | directory for temporary files |
---|
135 | .PP |
---|
136 | You could turn off page reversal for a particular printer |
---|
137 | by adding this line to the printer options file: |
---|
138 | .br |
---|
139 | \ \ \ \ REVERSE=0 |
---|
140 | \ \ \ \ export REVERSE |
---|
141 | .SH FILES |
---|
142 | .TP 2.2i |
---|
143 | XPSLIBDIRX/bogusmsg.ps |
---|
144 | \*(PS language file for a "spooled binary file rejected" message to printer |
---|
145 | .TP 2.2i |
---|
146 | XPSTEMPDIRX/t* |
---|
147 | Temporary file to format text files. |
---|
148 | .SH "SEE ALSO" |
---|
149 | transcript(1), pscomm(1), lp(1), enscript(1) |
---|
150 | .br |
---|
151 | .I System V Line Printer Spooling Utilities |
---|
152 | .SH AUTHOR |
---|
153 | Adobe 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 |
---|
159 | Unix is a trademark of AT&T Bell Laboratories. |
---|