Technical data

Setting Up and Managing TELNETSYM
23.6 Solving TELNETSYM Problems
to:
/PROCESSOR=TCPIP$TELNETSYM
23.6.2 Printing to Terminal Servers
When you print to a terminal server system, ensure that:
Input flow control is disabled for the port to which you are printing.
Enter:
> CHANGE PORT port INPUT FLOW DISABLED
The TELNET server for the terminal server port is set to recognize a new line
as a carriage-return character followed by a line feed character.
Enter:
> CHANGE PORT port TELNET SERVER NEWLINE TO HOST
23.6.3 Stalled Print Queues
When you print a job to a TELNETSYM queue, a link must be established
between the queue and the printer. If there is high contention for the printer, it
might be busy, causing the first attempt to fail.
TELNETSYM continues to try to establish the link, according to the retry
interval logical name TCPIP$TELNETSYM_RETRY_INTERVAL. Until the link is
established, the execution queue stalls. When the link comes up, the job prints.
A stalled TELNETSYM queue is not necessarily an error.
If the queue stalls while printing a job, the printer probably requires human
intervention; that is, the printer is out of paper or jammed.
If TELNETSYM causes a print queue to fail, reset the queue. Enter the following
command:
$ STOP /QUEUE /RESET queue-name
23.6.4 Solving Formatting Problems
To track down problems with improper formatting on the printed page (for
example, ‘‘garbage’ for a graphics file or unwanted blank pages), use bit 2 of the
TELNETSYM logical name TCPIP$TELNETSYM_DEBUG. Defining this logical
helps determine whether the source of the problem is TELNETSYM. Follow these
steps:
1. Define the logical as 4 in the system table. Enter:
$ DEFINE /SYSTEM TCPIP$TELNETSYM_DEBUG 4
$ STOP /QUEUE /RESET TELNETSYM_queue-name
$ START /QUEUE TELNETSYM_queue-name
2. Print the job that does not print properly.
3. Look at the TELNETSYM log file for the queue.
This file has messages that show you every byte sent over the link to the
printer, such as control characters and setup/reset modules.
If the raw TCP logical name is not defined, you will see doubled IAC
characters (hexadecimal FF).
If you print /PASSALL with the raw TCP logical name not defined, the job
starts with the TELNET options negotiation sequence ‘‘do binary, will binary.’’
23–8 Setting Up and Managing TELNETSYM