Digi 16, TS8 manual Configuring a Port for Direct-Access Printing

Models: 16 TS8

1 106
Download 106 pages 14.26 Kb
Page 27
Image 27

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:

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.

 

 

User Command Example 1

In this example, a user specifies a standard telnet connection on port 2 of a PortServer TS 8/16 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 PortServer TS 8/16 using IP address 199.250.38.15.

cat myfile telnet 199.250.38.15 2102

Note: To specify a hunt group in the command instead of an individual port, use the group number specified on the group field of the set ports command that configured the port.

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-3for 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-3for more information.

Supply a set altip command that specifies the following: set altip group=port-numberip=ip-addresswhere

port-numberis the number of a PortServer TS 8/16 port

ip-addressis the IP address of the PortServer TS 8/16

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

Configuring Ports for Printers

4-5

Page 27
Image 27
Digi 16, TS8 manual Configuring a Port for Direct-Access Printing