1 | .TH PSINT 8 "19 August 1992" "Adobe Systems" |
---|
2 | \" Copyright (c) 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/psint.8p,v 1.2 1996-10-14 05:09:47 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 | psint \- TranScript interface script for PostScript printers |
---|
9 | .SH "SYNOPSIS" |
---|
10 | .B XPSLIBDIRX/ps?f |
---|
11 | .SH "DESCRIPTION" |
---|
12 | This is the low-level \*(TS interface script for use by the |
---|
13 | BSD line printer spooling system through the printer description file |
---|
14 | /etc/printcap . |
---|
15 | The |
---|
16 | .I ps?f |
---|
17 | entries in XPSLIBDIRX are all links to the |
---|
18 | .I psint.sh |
---|
19 | shell script. This script uses argv[0] (the name it was invoked under) |
---|
20 | to determine which action to take. |
---|
21 | The options are as specified in the |
---|
22 | .I 4.2BSD Line Printer Spooler Manual. |
---|
23 | This shell script reads a printer-specific shell script named |
---|
24 | .options |
---|
25 | in the current working directory (the spooling directory) which |
---|
26 | may do additional printer-specific processing. |
---|
27 | The .options script is often used to redefine the values of some |
---|
28 | environment variables that regulate page-reversal, how to print |
---|
29 | banner pages, etc. See below. |
---|
30 | .PP |
---|
31 | The |
---|
32 | .I psof |
---|
33 | entry is responsible for formatting a banner break page. It executes |
---|
34 | the |
---|
35 | psbanner |
---|
36 | filter which leaves the banner page in a file named ".banner" |
---|
37 | for |
---|
38 | the communications program |
---|
39 | to print. |
---|
40 | The |
---|
41 | .I psint.sh |
---|
42 | interface script is responsible for invoking programs to do translation if |
---|
43 | necessary, document |
---|
44 | management, and communication with the printer. |
---|
45 | .PP |
---|
46 | .I psgf, psnf, |
---|
47 | and |
---|
48 | .I pstf |
---|
49 | are the filters for |
---|
50 | plot (5), |
---|
51 | ditroff (1), |
---|
52 | and |
---|
53 | troff (1) |
---|
54 | respectively. |
---|
55 | The |
---|
56 | .I psif |
---|
57 | filter will also accept any \*(PS language print file. |
---|
58 | Other filter entries, such as those for |
---|
59 | TeX DVI |
---|
60 | files, |
---|
61 | cifplot, |
---|
62 | and raw raster data are not available in the \*(TS package, |
---|
63 | although they may be available from other sources. |
---|
64 | The default action for these filter types is to execute |
---|
65 | psbad, |
---|
66 | a script that prints and logs an error message that the |
---|
67 | translation filter is not available. |
---|
68 | The translation filters are usually invoked by giving an option to |
---|
69 | lpr(1). |
---|
70 | It is not correct to invoke the interface filters |
---|
71 | directly. |
---|
72 | More flexibility in format conversion may be achieved by |
---|
73 | invoking the appropriate translator directly, rather than specifying an |
---|
74 | lpr |
---|
75 | option. |
---|
76 | .PP |
---|
77 | .B "psint.sh Environment Variables." |
---|
78 | .br |
---|
79 | A number of environment variables are used by the spooler filters. |
---|
80 | These are listed below. |
---|
81 | The |
---|
82 | .I psint.sh |
---|
83 | script sets the initial value for each, |
---|
84 | and the .options file can be used to change the value for a |
---|
85 | particular printer. |
---|
86 | Note that Bourne shell syntax must be used in both |
---|
87 | .I psint.sh |
---|
88 | and the .options file. |
---|
89 | Many of the variables take a numerical value and specify whether |
---|
90 | an action should take place or not; 1 means do the action and |
---|
91 | 0 means don't do it. |
---|
92 | .PP |
---|
93 | .ta 2.25i |
---|
94 | .tc |
---|
95 | BANNERFIRST=\fInumber\fP Print a banner at start of the job |
---|
96 | .br |
---|
97 | BANNERLAST=\fInumber\fP Print a banner at end of the job |
---|
98 | .br |
---|
99 | (see note below) 0=no banner at the end |
---|
100 | .br |
---|
101 | 1=don't unlink the .banner file |
---|
102 | .br |
---|
103 | 2=unlink .banner after use |
---|
104 | .br |
---|
105 | BANNERPRO=\fIfile name\fP banner prologue file |
---|
106 | .br |
---|
107 | VERBOSELOG=\fInumber\fP print verbose log messages |
---|
108 | .br |
---|
109 | PSCOMM=\fIpath name\fP specify the communication program to be used. |
---|
110 | .br |
---|
111 | PSDMAN=\fIpath name\fP specify the document management program to be used. |
---|
112 | This is useful for specifying various switches to psdman(8). |
---|
113 | .sp |
---|
114 | .B Note: |
---|
115 | Due to some problems with the design of lpd(8), there is no |
---|
116 | implementation of BANNERLAST that will work in all cases. |
---|
117 | Two options are provided: |
---|
118 | .sp |
---|
119 | BANNERLAST=1. |
---|
120 | This prints out a banner between each copy in a multiple-copy job. |
---|
121 | It also may print out \fIthe previous user's\fP banner on a job that has |
---|
122 | specified no banner |
---|
123 | (lpr -h). |
---|
124 | .sp |
---|
125 | BANNERLAST=2. |
---|
126 | This never prints a banner on a job that has specified no banner |
---|
127 | (lpr -h). |
---|
128 | However, it prints a banner after \fIthe first copy\fP only in a |
---|
129 | multiple-copy job. |
---|
130 | It should be after all copies or after the final copy. |
---|
131 | .PP |
---|
132 | You can change the banner page for a particular printer by redefining |
---|
133 | the BANNERPRO value. |
---|
134 | .SH FILES |
---|
135 | .TP 2.2i |
---|
136 | XPSLIBDIRX/ |
---|
137 | \*(PS library, prologues, filters, etc |
---|
138 | .IP .options |
---|
139 | printer-specific options script (in the printer spool directory) |
---|
140 | .TP 2.2i |
---|
141 | \fIprinter\fP.acct |
---|
142 | printer accounting file |
---|
143 | .TP 2.2i |
---|
144 | \fIprinter\fP-log |
---|
145 | printer log file |
---|
146 | .IP .banner |
---|
147 | Banner break page temporary file (in the spool directory), generated by |
---|
148 | .IR psof/psbanner . |
---|
149 | .TP 2.2i |
---|
150 | status |
---|
151 | Printer status file (in the spool directory), shared by |
---|
152 | lpd(8), |
---|
153 | and |
---|
154 | the communications program. |
---|
155 | .SH "SEE ALSO" |
---|
156 | transcript(1), lpr(1), lpc(8), lpd(8), printcap(5), psdman(8), pscomm(8), |
---|
157 | qmscomm(8), lpcomm(8), fpcomm(8), capcomm(8). |
---|
158 | .br |
---|
159 | .I 4.2BSD Line Printer Spooler Manual |
---|
160 | .SH AUTHOR |
---|
161 | Adobe Systems Incorporated |
---|
162 | .SH NOTES |
---|
163 | \*(PS is a registered trademark of Adobe Systems Incorporated. |
---|
164 | .br |
---|
165 | \*(TS is a trademark of Adobe Systems Incorporated. |
---|
166 | .br |
---|
167 | TeX is a trademark of the American Mathematical Society. |
---|
168 | .br |
---|
169 | Unix is a trademark of AT&T Bell Laboratories. |
---|
170 | |
---|