Configuring Lpd On Bsd - NETGEAR PS101 Reference Manual

Netgear ps101 print server: reference guide
Hide thumbs Also See for PS101:
Table of Contents

Advertisement

NetGear Print Server Manual
Sample Commands for Using LPD on System V
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 chown daemon /usr/spool/Spooler_directory
Create read/write permissions
Give permissions to LPD processes
Add remote printer(s). (Repeat this process for
each logical printer/print queue combination that
you want to create.)
Sample command should be entered as one line,
using a tab character where shown.

Configuring LPD on BSD

Make sure that an IP address has been assigned to the print server and the following statements apply:
The remote host name is the name of the print server.
The remote printer name is the logical printer (L1 to L3 or L1 to L8).
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.
Enter the service type as BSD if asked for the LPD type.
Table Sample Commands for Using LPD on BSD shows sample commands when using LPD. The
definitions used in the sample commands are:
printer_name is the print queue serviced by the logical printer on the print server.
Spooler_dir is the name of the directory used to spool the print jobs.
Sample Commands for Using LPD on BSD
Action
Create a spooling directory
Set spooling daemon as owner of this
directory
Create read/write permissions
Give permissions to LPD processes
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
chmod 775 /usr/spool/Spooler_directory
chgrp daemon /usr/spool/Spooler_directory
Add to the /etc/printcap file:
printer_name|Remote_Printer_Alias:\
[Tab] :lp=:\
[Tab] :rm=PS_NAME:\
[Tab] :rp=Logical_Printer_name:\
[Tab] :sd=Spooler_directory:\
[Tab] :mx#0
Use these definitions for entering the information:
printer_name is the print queue name used to store jobs for the
corresponding logical printer.
PS_NAME is the print server name defined in /etc/hosts.
Logical_Printer_name is the logical printer name on the print server (L1 to
L3 or L1 to L8, depending on the print server that you are using).
Spooler_directory is the directory you created.
Sample Command
Mkdir /usr/spool/Spooler_dir
Chown daemon /usr/spool/Spooler_dir
Chmod 775 /usr/spool/Spooler_dir
Chgrp daemon /usr/spool/Spooler_dir
69

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ps104Ps105Ps110Ps111wPs113Ps121 ... Show all

Table of Contents