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