Operating System - OpenVMS
1748169 Members
4162 Online
108758 Solutions
New Discussion юеВ

Re: Modify printer settings creted in TCPIP$LPRSETUP

 

Modify printer settings creted in TCPIP$LPRSETUP

For printers created using TCPIP$LPRSETUP how can you modify any of the settings.
The manual mentions you can modify settings by specifying 2 character printcap symbols but where/how is this achieved?

Thanks in advance
5 REPLIES 5
Volker Halle
Honored Contributor

Re: Modify printer settings creted in TCPIP$LPRSETUP

Andrew,

TCPIP$LPRSETUP only allows you to 'delete' or 'add' printers, but not to modify existing entries. Either delete the printer and re-add it with correct settings or consider to manually edit the TCPIP$LPD_PRINTCAP file.

The manual may refer to the following inside the dialog of adding a new printer:

...
The names of the printcap symbols are:

sd for the printer spool directory
...

Volker.
Hoff
Honored Contributor

Re: Modify printer settings creted in TCPIP$LPRSETUP

The printcap file (named UCX$PRINTCAP.DAT prior to V5.0, and TCPIP$PRINTCAP.DAT on V5.0 and later) is in the directory associated with the LPD username. On V5.0 and later, that directory and file specification is usually
SYS$SPECIFIC:[TCPIP$LPD]:TCPIP$PRINTCAP.DAT.

The SYS$SYSTEM:TCPIP$LPRSETUP.EXE documentation indicates the tool can be used to modify the settings, but not (grumble) how. With View? I've always gone after printcap directly...

Here are some details:
http://h71000.www7.hp.com/doc/83final/6526/6526pro_053.html#lpd_chap
http://h71000.www7.hp.com/doc/83final/6526/6526pro_054.html#printcap_sym_tab

Stephen Hoffman
HoffmanLabs LLC
Volker Halle
Honored Contributor

Re: Modify printer settings creted in TCPIP$LPRSETUP

Andrew,

if you SEARCH TCPIP$LPRSETUP.EXE for the string 'modify', you'll even find a help text line containing:

Modifying a printer entry, type '?' for help.

but 'modify' is not accepted as a valid command ;-(

Maybe a call should be logged to HP to ask for either fixing the tool or the documentation.

Volker.
Robert Atkinson
Respected Contributor

Re: Modify printer settings creted in TCPIP$LPRSETUP

Andrew, as long as you know the symbols you're adding/removing from the afore mentioned PRINTCAP file, then you can simply manually edit it.

Once you've made the change, issue a STOP/RESET and then a START on the queue, and the print symbiont will re-read the PRINTCAP file.

Rob.

Re: Modify printer settings creted in TCPIP$LPRSETUP

Thanks for the information guys. Will try to edit the printcap database as described.