Technical data
Setting Up and Managing the LPR/LPD Print Service
22.3 Configuring Printers
$ RUN SYS$SYSTEM:TCPIP$LPRSETUP
Command < add delete view help exit >: delete
Deleting a printer entry, type ’?’ for help.
Enter printer name to delete (or view to view printcap file): LOCAL1
Symbol type value
------ ---- -----
Error log file : lf STR /SYS$SPECIFIC/TCPIP$LPD/LOCAL1.LOG
Printer Queue : lp STR LOCAL1
Spool Directory : sd STR /SYS$SPECIFIC/TCPIP$LPD/LOCAL1
Delete LOCAL1, are you sure? [n] y
Deleted file: /SYS$SPECIFIC/TCPIP$LPD/LOCAL1.LOG
Deleted files from spooling directory: /SYS$SPECIFIC/TCPIP$LPD/LOCAL1
Removed spooling directory: /SYS$SPECIFIC/TCPIP$LPD/LOCAL1.DIR
Command < add delete view help exit >: exit
22.3.1 Printer Characteristics
You can modify the printer configuration by specifying two-character
printcap
symbols and associated values. Table 22–3 describes the printcap symbols.
Table 22–3 Printcap Symbols
Symbol Description
sd Printer spool directory, specified as a UNIX path name.
lf Error log file, specified as a UNIX path name. This is optional. If you do not
specify an error log file, errors are logged to the operator console.
An error log can be shared by all local printers if you specify the same file in
each printcap printer entry.
lp Name of the local printer.
ps LPD PrintServer extensions flag.
rm Name of the remote host.
rp Name of the remote printer. The printer name is case sensitive. If you are
configuring an LPD print queue to print ASCII text files to an HP LaserJet
printer with a JetDirect network card, set the value of the
rp
printcap field to
text.
For example:
:rp = text\
To configure this type of printer for printing PostScript or binary files, set this
field to
raw.
fm Printer form field. This is equivalent to the OpenVMS command PRINT/FORM.
For example,
:fm=CENTER:\
allows the job to print as if the following command
were entered:
$ PRINT file-name/FORM=CENTER
Forms have attributes like print image width and length, or paper stock, which
are associated with the print queue when it starts up. To see which forms have
been defined for your system, use the DCL command SHOW QUEUE/FORM.
To see which form is currently the default for the print queue, enter SHOW
QUEUE/FULL.
pa /PASSALL flag. Tells the print symbiont to ignore any formatting and to send
the file to the printer with its format suppressed.
(continued on next page)
22–8 Setting Up and Managing the LPR/LPD Print Service