HP OpenVMS Systems

ask the wizard
Content starts here

Outbound Telnet to a printer? (DECserver)

» close window

The Question is:

How does telnet port number on a DS700 match with create_session port
numbers when TELNET is run from TCP/IP Ver 5.0 on the OVMS system ?
How is a Telnet listener of 2003 relate to port 3 physically on a DS700 ?
There isn't much documentation on relationship between Telnet listener
numbers and Telnet port Numbers.
How do I get a DS700 telnet port to behave like a VT420 or VT220 ?
Everytime I copy a file to a TNA device mapped to a Telnet port on the
DS700, CR/LF attributes seem to have no effect on the display no matter how
I set the DS700 Telnet port.
What went wrong ?

The Answer is :

  Please contact the Compaq Customer Support Center for assistance
  with and documentation for the DECserver 700 series terminal server.
  As you are likely aware, the DECserver serial line port construct is
  not particularly related to a Telnet port, though a DECserver serial
  line can be issued a Telnet port as part of a connection to a remote
  host or can be configured with one for use as part of a "reverse telnet"
  connection.  ("Reverse Telnet" printing via telnet has been discussed
  here in Ask The Wizard on previous occasions.)
  The TCP/IP create_session command references the remote DECserver
  Telnet port, you will need to determine how the DECserver is set
  up and what serial line port is referenced by the particular Telnet
  port.  On various TCP/IP versions and on various DECserver terminal
  server modules, the necessary commands are as follows:
  On the OpenVMS host:
    TELNET> create_session ds90m 2001 15
    %TELNET-S-CRSES, Session created on TNA15
  On the DECserver:
    Local> change telnet listener 2001 ports 1
    Local> change telnet listener 2001 connections enabled
    Local> change port 1 access remote
  OpenVMS will display the originating Telnet port using the TT_ACCPORNAM
  setting, available via the f$getdvi DCL lexical function and via the
  sys$getdvi and sys$getdviw system service calls.
  Recent versions of DECprint Services (DCPS) can also use IP for access
  to remote Postscript printers.
  Some of the following discussions will be of interest:
    (546), (2312), (2407), (2631), (2696), (3202), (3280), (5173),
    (5737), (5881), (6271), (6467), (7143), (7151).
  Also see (1020) and (4811).
  Also please see listings in topics (3960), (4045), and (6975).

answer written or last revised on ( 7-JAN-2002 )

» close window