User Manual

Configuring Ports for Printers
4-5
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 specifies a standard telnet connection on port 2 of a Dig 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 specifies a raw telnet connection on port 2 of a Dig 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 Printer Connections: Command Line" on page 4-3
for more information.
Method 2: Using Alternate IP Addresses
This method provides similar functions to method 1, except alternate IP addresses allow users to
identify a specific port by simply specifying an IP address.
Method 2 Configuration
To configure an alternate IP address, do the following:
Configure the port for a printer. See Configuring Printer Connections: Command Line on page
4-3 for more information.
Supply a set altip command that specifies the following:
set altip group=port-number ip=ip-address
where
port-number is the number of a Dig One/PortServer TS 2/4 port
ip-address is the IP address of the Dig One/PortServer TS 2/4
Command Line Example
set ports range=2 dev=prn
set line range=2 baud=9600 csize=8 stopb=1 parity=n
set flow range=2 cts=on rts=on ixon=off ixoff=off
set altip group=2 ip=199.250.38.17
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.