Technical data

Setting Up and Managing the LPR/LPD Print Service
22.3 Configuring Printers
To specify a log file that can be shared by all printers, specify the same file for
each printer entry. For example:
:lp=LOCAL1:\
:lf=/SYS$SPECIFIC/TCPIP$LPD/TCPIP$LPD_LOGFILE.LOG:\
.
.
.
:lp=LOCAL2"\
:lf=/SYS$SPECIFIC/TCPIP$LPD/TCPIP$LPD_LOGFILE.LOG:
22.3.1.3 Support for PrintServer Extensions
You can configure LPD to support remote printing on a system that does not
implement the PrintServer extensions. You do this for individual queues by
adding a
ps
field in the queue’s printcap entry with a value of
non_PS
. The
printcap entry looks as follows:
:rm=Remote1
:ps=non_PS
If you do not define a
ps
entry, LPD assumes the printer supports the PrintServer
extensions.
Note that you can also configure this option systemwide with the TCPIP$LPD_
PS_EXT logical name. Values for this logical name are
non_PS
and
LPS
. See
Table 22–1 for more information about the LPD logical names.
If a printcap entry does not have a
ps
field defined, LPD uses the value you
assigned with the logical name. If the logical name is not defined, LPD uses
PrintServer extensions as the default.
22.4 Managing LPD Server Queues
To start the LPD server queues, enter the following command:
$ @SYS$STARTUP:TCPIP$LPD_STARTUP
To stop the LPD server queues, enter the following command:
$ @SYS$STARTUP:TCPIP$LPD_SHUTDOWN
To display the status of a remote queue, enter the LPQ command at the DCL
prompt. To remove jobs from a remote printer queue, enter the LPRM command
at the DCL prompt. See DIGITAL TCP/IP Services for OpenVMS User’s Guide
for more information about these commands.
The following example deletes all the jobs on remote print queue
EIDER_DOWN_Q:
$ LPRM EIDER_DOWN_Q /ALL
22.5 Controlling Access to Local Queues
You can grant or deny remote users access to the LPD server by entering the
command SET SERVICE LPD /FLAGS=APPLICATION_PROXY. This causes
LPD to authenticate remote users through the TCP/IP Services proxy database.
You identify the remote users by adding communication proxy entries in the
proxy database, TCPIP$PROXY.DAT. Each remote user allowed to access your
local queues must have an entry.
22–10 Setting Up and Managing the LPR/LPD Print Service