Technical data

Setting Up and Managing the LPR/LPD Print Service
22.1 Key Concepts
The same LPD symbiont image is used for both client and server. It acts as the
client on queues set up for remote printers, and it acts as the server on the local
LPD queue.
The LPD uses the printcap database to process print requests. The printcap
database, located in SYS$SPECIFIC:[TCPIP$LPD]:TCPIP$PRINTCAP.DAT, is
an ASCII file that defines the print queues. The printcap entries are similar in
syntax to the entries in a UNIX
/etc/printcap
file.
Use the printer setup program LPRSETUP to configure or modify printers. The
setup program creates spool directories and log files based on the information you
supply. Section 22.3 describes how to use the printer setup program to configure
printers.
22.2 Configuring LPR/LPD
If you use the configuration procedure to configure LPR/LPD, the procedure
completes the following tasks:
Adds the LPD service to the services database.
Adds the TCPIP$LPD account to the SYSUAF.DAT database.
Creates the directory SYS$SPECIFIC:[TCPIP$LPD] for the TCPIP$LPD
account.
Enables both client and server components.
After you start the service, the logical names listed in Table 22–1 are defined.
Table 22–1 LPD Logical Names
Logical Name Description
TCPIP$LPD_CLIENT_ENABLE Enables the LPD client.
TCPIP$LPD_PRINTCAP Specifies the database that maps queues and
makes queues available.
TCPIP$LPD_SPOOL Specifies the main spooling directory.
TCPIP$LPD_LOGFILE Specifies the name of the log file for the
TCPIP$LPD_QUEUE, which precedes all
inbound jobs.
TCPIP$LPD_STREAM_PASSALL This version of TCP/IP Services adds extra
line feed characters to files with embedded
carriage control. This logical preserves the
behavior of previous versions of TCP/IP
Services and is useful when your users print
from Compaq PATHWORKS Client software.
(continued on next page)
22–2 Setting Up and Managing the LPR/LPD Print Service