Lpd on unix systems, Configuring print queues for bsd-based systems, Example: printcap entry – HP LaserJet 3055 User Manual
Page 192

LPD on UNIX systems
Configuring print queues for BSD-based systems
Edit the /etc/printcap file to include the following entries:
printer_name|short_printer_name:\
:lp=:\
:rm=node_name:\
:rp=remote_printer_name_argument:\
(this can be any queue name desired by the user)
:lf=/usr/spool/lpd/error_log_filename:\
:sd=/usr/spool/lpd/printer_name:
where
printer_name
identifies the all-in-one to the user,
node_name
identifies the all-in-one on
the network, and
remote_printer_name_argument
is the print queue designation.
For more information about printcap, see the printcap man page.
Example: Printcap entry
lj1_raw|raw1:\
:lp=:\
:rm=laserjet1:\
:rp=raw:\
:lf=/usr/spool/lpd/lj1_raw.log:\
:sd=/usr/spool/lpd/lj1_raw:
Make sure that your users know the name of each all-in-one, because they must type the names on
the command line for printing.
Create the spooling directory by making the following entries. At the root directory, type:
mkdir /usr/spool/lpd
cd /usr/spool/lpd
mkdir printer_name_1 printer_name_2
chown daemon printer_name_1 printer_name_2
chgrp daemon printer_name_1 printer_name_2
chmod g+w printer_name_1 printer_name_2
where
printer_name_1
and
printer_name_2
refer to the all-in-one devices to be spooled. You
may spool several all-in-one devices. The following example shows the command to create the
spooling directories for all-in-one devices used for printing.
174
Chapter 9 Networking
ENWW