Technical data

5
5-7 UNIX server print queues
TO SET UP COLORWRITER PRINTING ON A UNIX SYSTEM RUNNING DIGITAL
UNIX OR OTHER BSD-BASED VARIANT:
1. On a workstation that will print to the Colorwriter, log in to your UNIX host as the
root user.
2. Create an entry for the Colorwriter in your
/etc/printcap file.
The following is a sample printcap entry for the Colorwriter. Note that the
remote host name you enter in the rm line must exactly match the name you
entered in the /etc/hosts file.
NOTE: The name used in the rp line for configuring the Colorwriter (xjprint) is an
internal name that the Colorwriter requests. It must be xjprint; it is not a user-
selectable name. This is the only place where it is entered.
colorwriterq:\
:lp=:\
:rm=colorwriter:\
:rp=xjprint:\
:lf=/var/spool/lpd/colorwriterq/log:\
:sd=/var/spool/lpd/colorwriterq:\
:mx#0:sf
:sb
The spool directory colorwriterq is specified here, and the directory itself is created
in Step 3. Similarly, the log file is specified here and created in Step 4. The spool
directory is write-protected (from everyone but a daemon user and daemon
group); users cannot modify or remove files other than their own.
NOTE: When setting up an lpr queue to the Colorwriter, the system name for the
remote printer—xjprint—must be specified in lowercase letters.
3. Create a spool directory for the Colorwriter in the /var/spool directory.
For example, enter the following:
mkdir -p /var/spool/lpd/colorwriterq
chown daemon /var/spool/lpd/colorwriterq
4. Create the log files.
For example, enter the following:
cp /dev/null /var/spool/lpd/colorwriterq/log
5. Reboot the machine.