8 TCP/IP Host Configuration (UNIX)
6.Set up spool directories. After you have edited the /etc/hosts and /etc/printcap files, create and set permissions for the spool directory you specified.
Example:
cd /usr/spool/lpd mkdir colorprinter chown daemon colorprinter chgrp daemon colorprinter chmod 770 colorprinter
| Refer to your UNIX documentation for the correct command syntax for |
| your workstation. |
Descriptions of printcap parameters | |
|
|
Parameter | Description |
|
|
lp | Name of the device to open; this parameter must be left empty or set to /dev/null. |
|
|
rm | Remote machine name. This is the name by which the workstation identifies the printer; it must |
| match the name in the /etc/hosts file. |
|
|
rp | Remote printer queue name. This is the queue name that the printer recognizes. It must be one |
| of the following: |
| ■ PS for PostScript |
| ■ PCL for Printer Control Language |
| ■ HPGL for |
| ■ AUTO for Automatic Language Selection (the printer automatically senses the language of the |
| print job and processes it accordingly) |
| If you specify any other remote printer queue name, the printer defaults to AUTO. |
| Your printer model may not support all languages listed here. See your printer’s user |
| documentation for information on the supported languages. |
| With some printers, PCL must be authorized with an authorization code before it can be used. If |
| you use PCL for the remote printer queue name, make sure that PCL has been authorized in the |
| printer. See your printer’s user documentation for more information on authorization codes and |
| PCL. |
|
|
mx | Maximum file size. Set this parameter to 0 for unlimited file size; this allows the print command to |
| handle large PostScript or image files. |
|
|
lf | Name of the log file where print command error messages are collected. Some systems have a |
| log file for each print queue. Refer to your workstation’s documentation for more information. |
|
|
sd | Spool directory on your host. Make a separate spool directory for each queue. |
|
|