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