Quick Reference Guide

Installation and Reference for the Model PS104/PS105/PS110/PS113 Print Server
UNIX Printing Using TCP/IP 6-13
Table 6-4 shows sample commands when using LPD. The denitions 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.
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 denitions used are:
printer_name is the name of the print queue dened on the UNIX host.
filename is the name of the le you want to print.
An example command with parameters is:
lpr -P Marketing /etc/hosts
In the above example, the /etc/hosts le is sent to the Marketing printer queue. It is then sent to the
logical printer associated with this queue.
Table 6-4. Sample Commands for Using LPD on BSD
Action Sample Command
Create a spooling directory Mkdir /usr/spool/Spooler_dir
Set spooling daemon as owner of this directory Chown daemon /usr/spool/Spooler_dir
Create read/write permissions Chmod 775 /usr/spool/Spooler_dir
Give permissions to LPD processes Chgrp daemon /usr/spool/Spooler_dir
Add remote printer(s) See adding remote printers in T
able 6-3
Start lpc print mechanism lpc start printer_name