Youcan specify either of these generic device types more completely by requesting
the AS/400 Host Print Transform(HPT) function and selecting the specific
manufacturing type. AS/400 sends the printer data stream inASCII.
Setting Up for Telnet Printer Pass-Through Mode
Youcan use the CFGTCPTELN command to set up your TPPT mode session.

Step 1—Telnet Printer Pass-Through—Starting the TelnetServer

Job

The server job for a TCP/IP application must be started in the QSYSWRK
subsystem. The Start TCP/IP Server (STRTCPSVR) command starts the servers
that are shipped with the TCP/IP Utilities licensed program.
Even though the Change TelnetAttributes (CHGTELNA) command has an
AUTOSTARTparameter, that parameter is overridden or ignored by the
STRTCPSVR command.

Step 2—Telnet Printer Pass-Through—Setting the Number of

Virtual Devices

Virtual devices are used by the server system to direct output to devices on your
system. AS/400 Telnetserver support automatically selects (and creates, if
necessary) these devices for you. Youmay also choose to create your own virtual
device under the QVIRCDnnnn virtual controller.
The option is available for you to allow the Telnetserver support on the AS/400
system to automatically configure virtual controllers and devices. The QAUTOVRT
system value specifies the maximum number of devices that are automatically
configured by the system. Use the Change System Value (CHGSYSVAL)command
to change the value of the QAUTOVRT system value. For example, entering the
following command string changes the number of virtual devices that can be
allocated on a system to 50:
CHGSYSVAL SYSVAL(QAUTOVRT) VALUE(50)
Note: QAUTOVRT has been modified for Version4 Release 2 to support numeric
values of 0 through 32500, and a special value of *NOMAX.
Todetermine and set the maximum number of users you want signed on to the
AS/400 system at any time, do the following:
1. Set the QAUTOVRT value to 32500, the maximum value allowed, or use the
*NOMAX value.
2. Let your users use pass-through, Telnet,the virtual terminal application program
interface and TelnetPrinter pass-through until you decide that the number of
virtual devices created is sufficient for normal system operation.
3. Change the QAUTOVRT value from 32500 to the number of virtual devices you
require for normal system operation.
If you have never allowed automatic configuration of virtual devices on your system,
the QAUTOVRT value is 0.A Telnet connection attempt with a dependence on
automatic creation of the virtual device then fails because the Telnetserver does
not create more than the specified QAUTOVRT devices (zero). If you try to connect,
you will receive a message (TCP2504) that indicates that the Telnetclient session
has ended and the connection is closed. In addition, the QTGTELNETS job in the
Chapter6. TelnetServer 217
|
|
|