Technical data

22
Setting Up and Managing the LPR/LPD Print
Service
The LPR/LPD service allows other network hosts to access printers on the server
system and provides local access to printers on remote hosts. Remote print server
and the client hosts must run Version 4.2 or later of the Berkeley Software
Distribution line printer spooler software (
lpd
) to interoperate with TCP/IP
Services LPR/LPD.
This chapter reviews key concepts and describes:
How to configure the LPR/LPD print service (Section 22.2)
How to configure printers (Section 22.3)
How to manage LPD server queues (Section 22.4)
How to control access to local LPD server queues (Section 22.5)
How to enable LPR/LPD OPCOM messages (Section 22.6)
How to use OpenVMS flag page options with LPR/LPD (Section 22.7)
How to solve LPR/LPD problems (Section 22.8)
22.1 Key Concepts
The LPR/LPD service has both a client component (LPR) and a server component
(LPD), both of which are partially included in an OpenVMS queue symbiont. The
client is activated when you use one of the following commands:
PRINT—to submit a print job to a remote printer whose queue is managed by
the LPD symbiont.
LPRM—to remove (cancel) a pending print job previously spooled.
LPQ—to view the queue of pending jobs for a remote printer.
See the DIGITAL TCP/IP Services for OpenVMS Users Guide for general
information about using these commands.
The server is activated when a remote user submits a print job to a printer
configured on the OpenVMS server. The LPD server consists of two components:
LPD receiver—a process that handles the incoming request from the remote
system over the network. It copies the control file (CF) and data file (DF)
representing the print job to the requested printers LPD spool directory, and
places the control file on the print queue for further processing. The receiver
also handles LPQ and LPRM functions from remote clients.
LPD symbiont—which parses the print job’s control file and submits the data
files to the designated local printers print queue.
Setting Up and Managing the LPR/LPD Print Service 22–1