IBM Partner Pavilion 6400 Printer User Manual


 
Manual LPR/LPD Host Setup
105
To manually configure an LPR/LPD printer on a BSD Unix system:
1. Define an entry for this new printer within the printcap file, /etc/
printcap.
Syntax:
printername:
:sh:pw#80:mx#0:\
:rm=
EthernetInterfacename
:\
:rp=
EthernetInterfacedestination
:\
:lp=:\
:sd=/usr/spool/lpd/
printername
:\
:lf=/usr/spool/lpd/
printername
/log:\
:af=/usr/spool/lpd/
printername
/acct:
where
printername
is any name you would like to give to this new printer,
EthernetInterfacename
is the host or IP name of the print server, and
EthernetInterfacedestination
is one of the pre-defined destinations/
queues on the device.
NOTE: When the IPDS feature is installed, queue name d4prn is not
available.
Example:
6400:
:sh:pw#80:mx#0:\
:rm=spike:\
:rp=d1prn:\
:lp=:\
:sd=/usr/spool/lpd/ 6400:\
:lf=/usr/spool/lpd/ 6400/log:\
:af=/usr/spool/lpd/ 6400/acct:
2. Create the spool directory specified by the “sd=” entry in the printcap
entry for this printer.
Example:
touch /usr/spool/lpd/ 6400
3. Create the log and account files specified by the “
lf=
” and “
af=
entries in the printcap entry for this printer.
Example:
touch /usr/spool/lpd/6400/log
touch /usr/spool/lpd/6400/acct