Manual

78
12.2.4 Configure Remote LPD Printing on the Host
The procedure you use to configure your Unix/Linux host(s) to allow printing to your
network remote Combo Print Server varies between different varieties of Unix/Linux.
The procedure below can be used for Unix/Linux variants that are related to BSD Unix,
such as SunOS or Linux. For other versions of Unix/Linux, consult your system
documentation, keeping in mind that:
1. The Combo Print Server should be treated as a BSD networked Combo Print Server
host.
2. The host name should be the name (or IP address) that you have assigned to the
Combo Print Server.
3. The printer name (or queue name) on the remote host should be lpt1, lpt2 or lpt3,
the name of the printer port on the Combo Print Server.
You will need to perform the tasks below, logged in as the superuser (root). To
configure your Unix/Linux host for printing,
1. Optionally, assign a name corresponding to the Combo Print Servers IP address.
You can add this address to the /etc/hosts file, by adding a line such as:
203.66.191.186 pserver
2. Create a spool directory for the printer in the same directory where spool directories
are normally kept on the machine, such as /var/spool or /var/spool/lpd:
mkdir /var/spool/lpd/pserverd
chown daemon /var/spool/lpd/pserverd
chgrp daemon /var/spool/lpd/pserverd
chmod 775 /var/spool/lpd/pserverd
3. Add an entry to the hosts /etc/printcap file, similar to the following:
printer-name:\
:lp=:\
:rm=203.66.191.186:\
:rp=lpt1:\
:lf=/var/spool/lpd/pserverd.log:\
:sd=/var/spool/lpd/pserverd:\
:mx#0: