64
PURE NETWORKING 10/100 DESKTOP PRINT SERVER
2. Create the printer’s spool directory 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 host’s /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:
You can use more than one printer name, with variants separated by vertical bars
(name1|name2).
The rm = entry should correspond to the assigned print server IP address. You can
also use a host name if you have assigned one in the /etc/hosts file.
The sd = entry should correspond to the spool directory you created in the
previous step.
The rp = entry should correspond to the remote printer’s port name. The values
should be lpt1, lpt2, or lpt3 (depending on the printer port).
The print server is now available for printing from your UNIX host.
Содержание LEP0005A
Страница 3: ......
Страница 59: ...56 PURE NETWORKING 10 100 DESKTOP PRINT SERVER Figure 5 4 Add Printer Wizard screen...