Printing Using Lpd; Table 6-4. Sample Commands For Using Lpd On Bsd - NETGEAR PS104 Installation And Reference Manual

Netgear ps104 print server: install guide
Table of Contents

Advertisement

Table 6-4
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.
Table 6-4.
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
Add remote printer(s)
Start lpc print mechanism

Printing Using LPD

For LPD printing instructions, refer to your UNIX manual. An example command that is used for
a BSD UNIX system is:
lpr
-P printer_name filename
The definitions used are:
printer_name is the name of the print queue defined on the UNIX host.
filename is the name of the file you want to print.
An example command with parameters is:
lpr
-P Marketing
In the above example, the /etc/hosts file is sent to the Marketing printer queue. It is then sent to the
logical printer associated with this queue.
UNIX Printing Using TCP/IP
Installation and Reference for the Model PS104/PS105/PS110 Print Server
/etc/hosts
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
See adding remote printers in
lpc start printer_name
Table 6-3
6-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ps105Ps110

Table of Contents