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