UNIX TCP/IP 4-17
For sending PostScript or graphics files to port 1:
> LJ4_PS|HP_LaserJet_4|port_1:\
:lp=:\
:rm=node_name:\
:rp=PASSTHRU:\
:mx#0:\
:lf=/usr/spool/lpd/ERRORLOG:\
:sd=/usr/spool/lpd/LJ4_PS:
node_name The same entered in the /etc/hosts file in
Step 4.
LJ4_PCL Example printer name.
LJ4_PS Example printer name.
TEXT Valid default queue name. Adds a carriage return
after each linefeed in the file. Use this queue for
standard UNIX text
PASSTHRU Valid default queue name. Passes the file directly to
the printer without modification. Use this queue for
all non-text files.
NOTE: Do not use the TEXT queue for Postscript, HPGL
or any non-text files.
3) Create the spooling directory.
For example:
> #mkdir /usr/spool/lpd/LJ4_PCL