4-16 Chapter 4
LPD
In most cases, local print options such as header and trailer banner pages, and
input or output filters are ignored. If this limitation is not acceptable, install
the printer using the Emulex
RPRINT remote printing utility.
Configure LPD on a BSD UNIX Host
The following procedure uses native
LPD print protocol on a BSD UNIX
host (SunOS or ULTRIX) with the printer server. The procedure for other
UNIX systems such as Solaris, AIX or SCO is completely different (See
UNIX documentation for details).
IMPORTANT: This procedure assumes you want to print
to a single port using the LPD protocol.
1) Enter:
>
#ps -ax | grep -v grep | grep lpd
This will determine if LPD is supported on the system. If the system
does not return a process number for
LPD, use RPRINT as described
above. If LPD is supported, proceed as follows:
2) On the host, edit the /etc/printcap file to contain a similar entry:
For example, to send text (non-PostScript) files to port 1:
> #LJ4_PCL|HP_LaserJet_4|port_1:\
:lp=:\
:rm=
node_name:\
:rp=TEXT:\
:mx#0:\
:lf=/usr/spool/lpd/ERRORLOG:\
:sd=/usr/spool/lpd/
LJ4_PCL: