User guide
Configuring a Port for Direct-Access Printing
Chapter 4 Configuring Ports for Printers 20
Tips for telnet and rsh Printing
Here are some tips for handling telnet and rsh printing:
• If line feed and carriage return problems occur, try supplying a set line command that specifies onlcr=on. This
converts carriage returns to carriage return/line feeds.
• If you want tab characters (ASCII character 9) converted to 8 spaces, use a set line command that specifies
otab=on.
Configuring a Port for Direct-Access Printing
Direct access printing allows Telnet users on the LAN to access a port and to issue print commands directly to
the printer. This section describes the two ways users can access a printer directly and explains how to configure
the port to support each method.
Method 1: Specifying Port Numbers in the Telnet Command
This method allows users to issue telnet commands that identify the correct port by using TCP port numbers.
Users identify the type of connection and port number by specifying one of the following:
User Command Example 1
In this example, a user, from the host server, specifies a standard telnet connection on port 2 of a Digi
One/PortServer TS 2/4 using IP address 199.250.38.15.
cat myfile | telnet 199.250.38.15 2002
User Command Example 2
In this example, a user, from the host server, specifies a raw telnet connection on port 2 of a Digi One/PortServer
TS 2/4 using IP address 199.250.38.15.
cat myfile | telnet 199.250.38.15 2102
Method 1 Configuration
There is no special configuration required to set up a port for this type of direct access. Simply configure the port
for a printer. See "Configuring a Port for Direct-Access Printing" on page 20 for more information.
Method 2: Using Alternate IP Addresses
This method provides similar functions to method 1, except it assigns an IP address to a port.
Method 2 Configuration
To configure an alternate IP address, do the following:
• Configure the port for a printer. See Configuring a Port for Direct-Access Printing on page 20 for more infor-
mation.
For this connection type... Identify the port by specifying...
Telnet
2000 plus the number of the port.
Example: 2002 for port 2.
Raw
2100 plus the number of the port.
Example: 2102 for port 2.