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