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