HP OpenVMS Systemsask the wizard |
The Question is: We are switching from bridged LAT to routed TCP/IP. Our application assigns printers to terminals using LAT devices. Now with terminals connected via DECserver 700 to the cluster, there are no more static identifiers for the terminals and therefore we are unable to build printer terminal relationships. Is there a way to assign a terminalserver port a static and unique identification, prefferably a (pseudo)-LAT device? We are using UCX version 3.3 The Answer is :
Please see the previous "telnet printing to HP printers?" and
"LAT-telnet gateway?" discussions.
On most DECservers, you can define a telnet listener port and point
it to the DECserver port where the printer is connected:
Local> DEFINE TELNET LISTENER <port_number> PORT <port_number> ENABLED
For example:
Local> DEFINE TELNET LIST 2002 PORT 2 ENABLED
Local> SHOW TELNET LIST 2002
Listener TCP-port: 2002
Identification:
Ports: 2
Connections: Enabled
With any printer-specific or site-specific adjustments necessary, set
up the DECserver printer port as follows:
Local> SHOW PORT 2
Port 2: Server: LLANO
Character Size: 8 Input Speed: 9600
Flow Control: XON Output Speed: 9600
Parity: None Signal Control: Disabled
Stop Bits: Dynamic
Access: Remote Local Switch: None
Backwards Switch: None Name: PCM02
Break: Remote Session Limit: 4
Forwards Switch: None Type: Ansi
Default Protocol: Telnet Default Menu: None
Preferred Service: None
Authorized Groups: 63
(Current) Groups: 63
Enabled Characteristics:
Input Flow Control, Loss Notification, Message Codes,
Output Flow Control, Verification
The command used to set up the Telnet print queue is:
$ INIT/QUE/PROCESS=TELNETSYM/START/ON="server_ip_nodename:port_number"
For example, the command to initialize and start the queue "TCP_PRINTER"
to send output to a printer connected to a DECserver 300 with an IP node
name of TCPSERVER that is listening on port 2007 would be:
$ INIT/QUE/PROCESS=TELNETSYM/START/ON="TCPSERVER:2007" TCP_PRINTER
If you are having problems with timeouts, you might want to try to
increase the telnet symbiont's idle timer:
$ DEFINE/SYSTEM UCX$TELNETSYM_IDLE_TIMEOUT "0 00:02:00.00"
In addition to the information in the Ask The Wizards topics mentioned
above, to test the printer, if the terminal server's name is FOO and the
printer's physical port corresponds to TCP port number 2005, you can
connect to it by typing:
$ TELNET FOO 2005
Telnet symbiont diagnostics can be enabled with the logical name:
DEFINE/SYSTEM UCX$TELNETSYM_VERBOSE 1
The log file is UCX$LPD_SPOOL:UCX$TELNETSYM.LOG
|