1 - 4 UNIX PRINTING
3
Configure the /etc/printcap file on each host computer to
specify the local print q ueue, the Print/Fax server name (a lso
called remote machine or rm), and the Print/Fax server se rvice
name (also called remote prin ter, remote queue, or rp), and th e
spool directory.
An example of a typical printcap fi le:
laser1|Printer on Floor 1:\
:lp=:\
:rm=BRN_310107:\
:rp=TEXT_P1:\
:sd=/usr/spool/lpd/lase r1:
This step applies to the majority of UNIX systems, including
Linux, Sun OS (but not Solari s 2.xx), Silicon Graphics (lpr/lpd
option required), DEC ULTRIX, DEC OSF/1, and Digital
UNIX. SCO UNIX users should follow these steps, but should
also see SCO UNIX Configuration on page 1-10 section. Users
of RS/6000 AIX, HP-UX, Sun Solaris 2.xx, and other systems
that do not use the printcap file should skip to Step 4. SCO
user's should also skip to S tep 4 (SCO uses the printcap fi le,
but this file is automati cally configured via the rlpconf
command).
Make sure this info rmation is adde d to the end of t he printcap
file. Also make sure that the last character in the printcap file
is a colon “:”.
This will create a queue named laser1 on the host computer
that communicates to a Broth er print server with a node
name (rm) of BRN_310107 and a service name (rp) of
TEXT_P1 printing text files to a Brother printer through spool
directory /usr/spool/lpd/laser1. If you are printing
binary graphics files, you would use the service BINARY_P1
instead of TEXT_P1.