LPD on System V
Before beginning LPD Setup, ensure that an IP Address has been assigned to the Print Server.
Keep the following points in mind:
•
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
also need to be configured on the Print Server itself.
•
If your UNIX asks for the LPD type, be sure to identify the service type as BSD. The Print
Server's LPD protocol meets BSD system standards.
•
In the sample commands shown, printer_name is the name of the Print Queue serviced by
the Print Server, and Spooler_directory is the name of the directory, which is used to spool
the print jobs.
Procedure
Action
Stop Print Services
Add a System Printer
Restart the Print Services
Enable printing to the new
printer device
Start accepting jobs for the
new printer device
Create a spooling directory
Make spooling daemon the
owner of this directory
Create read/write permissions
Give permissions to LPD
processes.
Add remote printer(s)
Adding Remote Printers
A remote printer is added by inserting the following line in the /etc/printcap file.
Printer_name|Remote_Printer_Alias:\
[T
] :lp=:\
AB
[T
] :rm=PS_NAME:\
AB
[T
] :rp=Logical_Printer_name:\
AB
[T
] :sd=Spooler_directory:\
AB
[T
] :mx#0:
AB
Sample Command
/usr/lib/lpshut
/usr/lib/lpadmin -p printer_name -v /dev/null
/usr/lib/lpsched
enable printer_name
accept printer_name
mkdir /usr/spool/Spooler_directory
chown daemon /usr/spool/Spooler_directory
chmod 775 /usr/spool/Spooler_directory
chgrp daemon /usr/spool/Spooler_directory
See following section
The entry is really one line, but can be entered as shown.
Use a TAB character where shown.
Page 91