xtlpc is a terminal server program for use by GNUspool where
the destination is an LPD protocol server. Input is usually taken from
standard input, or from the supplied file name.
This is the host name or IP address to be used to access the
printer. In GNUspool setup files, it may be appropriate to
substitute $SPOOLDEV or $SPOOLPTR here.
This specifies the location of the control file, typically
xtlpc-ctrl in the internal programs directory.
This is the host name or IP address of the sending host, in the cases
where gethostname(3) does not yield an appropriate answer.
The LPD protocol supplies a name to the printer. By default, this is
taken from SPOOLPTR, i.e. the name given as the name of the printer
under GNUspool. Some terminal servers require a specific name to be
given to the printer, perhaps to select which printer, or printer
option of several is to be specified. This option overrides this
printer name in the protocol.
Take input from the named fifo rather than standard input or the
This is useful in situations where the LPD protocol has to be run from
a command line, i.e. a console session, and files sent to it by having
GNUspool write to the fifo.
Avoid sending zero length files, which confuse some servers.
xtlpc generates any appropriate diagnostics on standard error.
Normal termination is denoted by an exit code of zero.
Usage error, invalid option etc.
No control file given.
No destination host given.
Cannot open input file.
Unknown host name.
Cannot open control file.
Syntax errors in control file.
No spool directory defined.
Cannot select spool directory.
Control card format not given in control file
Invalid format control card in control file
Cannot write to spool directory
Cannot create spool file
Cannot allocate file name.
Cannot open FIFO.
Name given is not a FIFO.
Cannot specify input and FIFO.
Cannot create sequence file
No port name in control file
TCP protocol missing
Cannot find named port in service file
Cannot open socket.
Cannot bind port
Cannot allocate TCP device
Cannot make connection
Cannot allocate TCP space or change stream
Write failure writing to socket
Lost spool file
Read failure ack packet.
Error return from remote.
Cannot determine own host name
Invalid host name
Exit on signal.
spool directory (may be changed in xtlpc-ctrl)
Copyright (c) 2009 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the
terms of the GNU General Public License
There is NO WARRANTY, to the extent permitted by law.