Xerox C118 User Guide

Page of 134
UNIX TCP/IP Installation 
Xerox CopyCentre/WorkCentre 118 System Administration Guide
45
3.
Edit the /etc/printcap file to contain an entry for the machine queue using the 
following example:
PrinterName:\
:lp=:\
:rm=PrinterName:\
:mx#0:\
:sd=/var/spool/lpd/PrinterName:\
:lf=/var/spool/lpd/PrinterName/log:
1) PrinterName is the local client name of the machine.
2) lp= is the local device name for the printer output. For remote printers, this 
parameter must be set to nothing.
NOTE: The recommended remote queue name is lp. That queue name will work with 
the machine.
3) rm= is the remote device. This is the IP hostname for the machine in the local 
client. The remote printer name defaults to lp, the default printer.
4) mx#0 is the indicator that there is no limit on the document size.
5) sd= is the path of the queue for the machine.
6) lf= is the error log file name.
4.
The machine can be designated as the location of the default print queue. It will 
then be unnecessary to include the PrinterName in the lpr command line.
1) To designate the machine for the default print queue, add the following to the 
/etc/printcap file. This is in addition to the information entered in the previous 
step:
lp PrinterName:\
:lp=:\
:rm=PrinterName:\
:mx#0:\
:sd-/var/spool/lpd/PrinterName:
5.
Create the spool directory identified in the printcap file and set the access 
attributes, as shown in the example below. The spool directory should be located 
on a disk partition large enough to hold copies of documents that will be 
submitted.
cd /var / spool / lpd
mkdir PrinterName 
chmod 744 PrinterName