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

Revision 9090, 3.5 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 FPCOMM 8 "18 August 1992" "MiLAN Technology"
2\" Copyright (c) 1991,1992 Milan Technology. All Rights Reserved.
3\" RCSID: $Header: /afs/dev.mit.edu/source/repository/third/transcript/man/fpcomm.8p,v 1.1.1.1 1996-10-07 20:25:38 ghudson Exp $
4.ds PS P\s-2OST\s+2S\s-2CRIPT\s+2
5.ds TS T\s-2RAN\s+2S\s-2CRIPT\s+2
6.SH NAME
7fpcomm\(em\*(TS Ethernet communication filter for
8communicating with \*(PS printers via FastPort printer
9servers
10.SH "SYNOPSIS"
11.B XPSLIBDIRX/fpcomm
12.SH "DESCRIPTION"
13This is the low-level \*(TS Ethernet communication filter for use
14by the 
15System V or BSD line printer spooling system for communicating with a \*(PS
16printer via a MiLAN FastPort print server. It is called from the
17printer interface script for the printer.
18There are a number of options for fpcomm that get set from the
19configuration file
20\.fpconfig
21in the spool directory for
22the printer. 
23The syntax for the \.fpconfig file
24is as follows (any number of the entries can appear.)
25
26.TP 0.6i
27hostname \fIname\fP
28specifies the IP
29.I name
30for the FastPort.
31.TP 0.6i
32serial       
33sends to the serial port.
34.TP 0.6i
35parallel 
36sends to the parallel port.
37.TP 0.6i
38ctrld 
39sends a control D before and after the job\(emthis initializes the \*(PS
40printer.
41.TP 0.6i
42formfeed
43sends a formfeed after the job.
44.TP 0.6i
45dobanner
46looks for file .banner in the current working directory and submits it
47before the job.
48.TP 0.6i
49startfile \fIfile\fP
50send \fIfile\fP before the job\(emthis can be used
51to download an error handler, for example.
52.TP 0.6i
53endfile \fIfile\fP
54sends
55.I file
56after the job.
57.TP 0.6i
58startstring \fIstring\fP
59sends
60.I string
61before the job. This can be used
62to set printer modes\(emi.e., send escape sequences.
63.TP 0.6i
64endstring \fIstring\fP
65sends \fIstring\fP after the job\(emresets the printer through escape
66sequences to
67a particular mode)
68.TP 0.6i
69P_CLASS     
70list of names of parallel printers\(emprint on the first available.
71.TP 0.6i
72S_CLASS
73List of names of serial printers\(emprint on the first available.
74.TP 0.6i
75mail \fIusername\fP
76sends mail to
77.I username
78with any errors or the destination printer name if P-CLASS or S-CLASS
79was used.
80.TP 0.6i
81program \fIprogname\fP
82executes
83.I progname
84for error messages or return messages.
85.TP 0.6i
86errorfile \fIfilename\fP
87stores any errors that occurred in
88.I filename.
89.TP 0.6i
90syslog   
91records error messages in syslog file.
92
93.PP
94If both startstring and startfile are set, startstring will be sent first
95followed by startfile.  If both endfile and endstring are, endfile will be
96sent before endstring.
97
98The syntax for escape in the start or stop strings is "M-", and the syntax
99for control is "C^". 
100
101Using the \.fpconfig file, you can set the printer mode, execute
102commands after printing, get notifications regarding print jobs etc.
103If you do not want to place the \.fpconfig file in the spool directory or
104if you want to call it by some other name, then you can use the
105PRINTER_CONFIG environment variable to specify the location of the
106configuration file.
107.SH ENVIRONMENT
108.IP PRINTER_CONFIG
109location of the configuration file
110.SH "SEE ALSO"
111transcript(1), lp(1), lpstat(1), lpsched(1M), lpadmin(1M), psinterface(8),
112psint(8)
113.br
114.I System V Line Printer Spooling Utilities
115.br
116.I 4.2BSD Line Printer Spooler Manual
117.SH AUTHOR
118MiLAN Technology Corporation
119.SH NOTES
120\*(PS is a registered trademark of Adobe Systems Incorporated.
121.br
122\*(TS is a trademark of Adobe Systems Incorporated.
123.br
124Unix is a trademark of AT&T Bell Laboratories.
125.br
126FastPort is a trademark of MiLAN Technology.
127
Note: See TracBrowser for help on using the repository browser.