Quick Reference Guide

Installation and Reference for the Model PS104/PS105/PS110/PS113 Print Server
UNIX Printing Using TCP/IP 6-11
6. Print using the command:
lp -d printer_queue file_name
Use these denitions for entering the information:
printer_queue is one of the entries used in Name of queue to add.
file_name is the le you want to print.
Conguring LPD on System V
Before beginning LPD Setup, make sure that an IP address has been assigned to your print server
and that the following statements apply:
The remote host name is the name of the print server.
The remote printer name is the print queue name for the logical printer.
Logical printers are congured on the print server itself.
You identify the service type as BSD if your UNIX system asks for the LPD type.
The LPD protocol that the print server uses meets BSD system standards.
T
able 6-3 shows sample commands when using LPD. The denitions used in the sample
commands are:
printer_name is the name of the print queue serviced by the print server.
Spooler_directory is the name of the directory used to spool the print jobs.
Table 6-3. Sample Commands for Using LPD on System V
Action Sample Command
Stop Print Services /usr/lib/lpshut
Add a System Printer /usr/lib/lpadmin -p printer_name -v /dev/null
Restart the Print Services /usr/lib/lpsched
Enable printing to the new printer device enable printer_name
Start accepting jobs for the new printer device accept printer_name
Create a spooling directory mkdir /usr/spool/Spooler_directory
Make spooling daemon the owner of this directory chown daemon /usr/spool/Spooler_directory
Create read/write permissions chmod 775 /usr/spool/Spooler_directory