source: trunk/third/transcript/man/psint.8p @ 9217

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