5 TCP/IP Configuration (UNIX)

Sample printcap file

# Printer: Tektronix Phaser840

# Print queue name: colorprinter

# Remote machine name: Phaser840

# Remote printer queue name: PS

# Spool directory: /usr/spool/lpd/colorprinter colorprinter:\

 

:lp=:\

 

:rm=Phaser840:\

 

:rp=PS:\

 

:mx#0:\

 

:lf=/usr/spool/lpd/ERRORLOG:\

 

:sd=/usr/spool/lpd/colorprinter:

 

#

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. The name by which the workstation identifies the printer; must match the

 

name in the /etc/hosts file.

 

 

rp

Remote printer queue name. The queue name that the printer recognizes; must be one of the

 

following:

 

PS for PostScript

 

PCL for Printer Control Language

 

HPGL for Hewlett-Packard Graphics Language

 

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.

 

 

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

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

Host spool directory. Make a separate spool directory for each queue.

 

 

28PhaserShare Networking

Page 34
Image 34
Tektronix Phaser 840 setup guide Sample printcap file, Descriptions of printcap parameters