Technical data

Setting Up and Managing the LPR/LPD Print Service
22.5 Controlling Access to Local Queues
To add a proxy entry, enter:
TCPIP> ADD PROXY user_name /HOST=host_name /REMOTE_USER=user_name
For each host, define both its host name and alias name. If you need to use
lowercase letters to specify a remote user name, enclose it in quotation marks.
For example:
/REMOTE_USER="unixuser"
You use wildcard characters when adding proxy entries for users on remote
systems. For example, the following command allows any user on the remote host
REMOTE1 to submit print jobs to the print queues on your system.
TCPIP> ADD PROXY R_USERS /HOST=REMOTE1 /REMOTE_USER="*"
To disable authentication, use the /FLAG=NOAPPLICATION_PROXY option to
the SET SERVICE LPD command. Use the /REJECT option to deny access from
certain hosts. For example:
TCPIP> SET SERVICE LPD /REJECT=HOSTS=(loon,ibis,tern)
22.6 Receiving LPR/LPD OPCOM Messages
The LPR/LPD spooler can notify you of selected events with OPCOM messages.
To receive these notifications, enter:
$ TCPIP SET SERVICE LPD /LOG=option
$ REPLY /ENABLE=OPCOM
The logging options are:
LOGIN LPD receiver startup and exit
LOGOUT Job completion
ACTIVATE Queue startup
22.7 Using OpenVMS Flag Page Options
LPD supports all OpenVMS flag page print options, including:
/FLAG qualifier of the DCL PRINT command
/DEFAULT=FLAG setting on the LPD print queue
/SEPARATE=FLAG setting on the LPD print queue
To enable these features, define the system logical name
TCPIP$LPD_VMS_FLAGPAGES. This logical name applies to all print queues:
$ DEFINE /SYSTEM TCPIP$LPD_VMS_FLAGPAGES
When you define TCPIP$LPD_VMS_FLAGPAGES, LPD does the following:
Obeys the OpenVMS instructions regarding flag pages for outbound jobs.
Submits inbound jobs with /FLAG or /NOFLAG, based on the presence of the
L card directive in the LPD control file received from the remote host.
Inbound jobs with an L card directive are submitted to the destination print
queue as PRINT /FLAG.
Inbound jobs without an L card directive are submitted to the destination
print queue as PRINT /NOFLAG.
Setting Up and Managing the LPR/LPD Print Service 22–11