Technical data

Setting Up and Managing the LPR/LPD Print Service
22.2 Configuring LPR/LPD
To preserve site-specific parameter settings and commands, create the following
files. These files are not overwritten when you reinstall TCP/IP Services:
SYS$STARTUP:TCPIP$LPD_SYSTARTUP.COM can be used as a repository
for site-specific definitions and parameters to be invoked when the LPD server
is started.
SYS$STARTUP:TCPIP$LPD_SYSHUTDOWN.COM can be used as a
repository for site-specific definitions and parameters to be invoked when
the LPD server is shut down.
22.3 Configuring Printers
This section describes how use the printer setup program,
SYS$SYSTEM:TCPIP$LPRSETUP.EXE, to configure a printer directly connected
to your computer. Similar to the UNIX
/usr/sbin/lprsetup
utility, you can also
use this program to modify a printer’s configuration or to remove a printer.
Before running the printer setup program, you need the following information for
each printer you want to configure:
Printer name, including all synonyms (aliases)
Printer type (local or remote)
Host and printer name for the remote printer
Spool directory
Error log directory
The printer setup program performs the following:
Creates or edits the existing printcap database.
Creates a spooling directory.
Creates an error log file.
Prompts you to modify previously selected symbols.
Table 22–2 describes the LPRSETUP commands.
Table 22–2 LPRSETUP Commands
Command Description
add Adds a printer name. The printer name is the name of a LPD client
print queue that users can specify in the /QUEUE qualifier to the
PRINT command.
delete Removes an existing printer from your configuration.
view Displays the contents of the current printcap database.
help Displays online help about the LPRSETUP program.
exit Exits from the LPRSETUP program.
You can abbreviate any command option with its initial letter. Enter information
at each prompt, or press Return (or Enter) to accept the default. Enter a question
mark (?) to obtain a description of the information requested at each prompt.
22–6 Setting Up and Managing the LPR/LPD Print Service