Printing Text Files With Texttcpif - GCC Technologies Elite XL-20/1200 Network Manual

Gcc elite xl-20/1200: network guide
Hide thumbs Also See for Elite XL-20/1200:
Table of Contents

Advertisement

printer descriptions, each having a name and a number of attributes with two-character
names.
The following examples show printcap entries for an Printer named "proofer" with a
master spooler located on a UNIX machine named "mercury."
The master spooler (mercury) will use the following printcap entry:
proofer:\
:lp=/dev/null:if=/usr/local/bin/tcpif_proofer:\
:sd=/var/spool/lpd/proofer:mx#0:\
:lf=/var/adm/lpd-errs:
Each computer that will forward jobs to the master spooler (mercury) will use the follow-
ing printcap entry:
proofer:\
:lp=:rm=mercury:rp=proofer:\
:sd=/var/spool/lpd/proofer:mx#0:\
:lf=/var/adm/lpd-errs:
Mercury (the master spooler) accepts print jobs over the network, does any optional
processing desired, and then, using tcpif, sends the final print data to the printer named
proofer.
After you have created the necessary spool directories and added the printer to the printcap
files, you are ready to print with the lpr command.

Printing text files with texttcpif

If you are sending UNIX text files to the printer's PCL interpreter, the printcap file on the
master spooler and each forwarding lpd need to be configured in the printcap file so that
text will print correctly. If UNIX text is sent unmodified to a PCL printer, each line of text
will appear below and to the right of the previous line.
Note: Tcpif is compatible only with the Berkeley UNIX printing system - lpr/lpd.
GCC supplies an lpd input filter named texttcpif that sends print data across the net to the
printer and tells the printer's PCL interpreter that the data is UNIX-style text, so it will
print properly. Only PCL (not PostScript) can be sent through texttcpif. Therefore, it is
recommended that you use a second printcap entry with a different name that tells the
UNIX spooler to use texttcpif.
44

Advertisement

Table of Contents
loading

This manual is also suitable for:

Elite xl-20/800Elite xl-20/600

Table of Contents