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

Page 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

Image 27 Contents
PortServer TS 8/16 Configuration and Administration Guide Page Contents Chapter Configuring Users Page This Chapter IntroductionSetup Overview About Entering Commands on the Command Line About This GuideSupported Devices Other Documents in the Library Access Resource CD CardDownloading a Configuration File About Configuration MethodsConfiguring the PortServer TS 8/16 from a Telnet Session Configuring the PortServer TS 8/16 from the Web InterfaceAccessing the Configuration from the Web Interface Configuration PrerequisitesLogging On As Root from the Command Line Accessing the Command Line from a Telnet SessionConfiguring the IP Address Options Options for Configuring the IP Address and MaskConfiguring the Ethernet Interface with DPA-Remote ProcedureStarting Point Configuring the IP Address Using Ping-ARP Manual Configuration Example Configuring the Ethernet Interface from the Command LineConfiguring an IP Address using Dhcp and Rarp Manual Configuration ProcedureConfiguring an IP Address using Dhcp and Rarp Configuring Ports for RealPort About RealPort What is RealPort?Configuring the RealPort Software Configuration OptionsConfiguring Ports Web Interface Example Configuring Ports for RealPort Command Line Configuring Ports for Printers Configuration Considerations Related Information Configuring Ports for Printers Web InterfaceConfiguring Printer Connections Command Line Tips for telnet and rsh PrintingConfiguring Printer Connections Command Line Configuring a Port for Direct-Access Printing Configuring a Port for Direct-Access Printing Configuring Ports for Terminals Configuring Ports for Terminals Web Interface Configuring Ports for Terminals Command LinePort Defaults About Computer Connections Configuring Typical PC ConnectionsAbout Computer Connections Configuring Ports for Modems Tips on Configuring a Modem Configuring Ports for Modems Web Interface Before You Begin Configuring PPP Configuring PPP Connections Web Interface Configuring Inbound PPP Connections Command Line Configuring Inbound PPP Connections Example Configuring Outbound PPP Connections Command Line Set user name=name n1=telephone-number Configuring IP Routing What is Routing Introduction to RoutingTypes of Routing About RIP Routing Updates PortServer TS 8/16 Participation in RIP Updates Configuring Static Routes Example Route Using the Ethernet InterfaceExample Route Using a PPP Link Example Dynamic Routes Configuring Dynamic Routes Using RIPConfiguring Proxy ARP Configuring Proxy ARP Configuring Autoconnection Configuring a Port for Autoconnection Web Interface Configuring Autoconnection By Port Command LineAbout Autoconnection Configuring a User for Autoconnection Command Line Configuring a User for Autoconnection Web InterfaceConfiguring a User for Autoconnection Command Line Configuring Console Management Configuring Console Management Web Interface Configuring Console Management Command LineAbout Console Management Example Alternate IP Addresses Example SSH2 and Menu Access10-4 Configuring Security Features Controlling Access to Inbound Ports Controlling Access to the PortServer TS 8/16 ConfigurationControlling Access to the PortServer TS 8/16 Command Line Controlling Access to Outbound PortsRadius Table Key Using Radius to Authenticate UsersWhat is RADIUS? Radius ComponentsConfiguring Radius Web Interface Radius Accounting Attributes RFCHow Radius Works Radius Command Line Configuration Example Configuring Radius Command LineIssuing User Passwords Configuring SSH Version 2 for Secure Communication Password ProtectionUsing a Public Key Configuring DNS About the Domain Name System Configuration Procedures Procedure for Using a Name ServerProcedure for Using a Host File 13-4 Configuring Snmp About Snmp and the PortServer TS 8/16 Agent Configuration Procedure Web Interface Configuration Procedure Command LineConfiguration Example 14-4 Managing the OS and Configuration Upgrading the OS Firmware Web Interface Prerequisite Task Upgrading the OS Firmware Command LineCopying the Configuration File to a Host Configuring PortServer TS 8/16 from a Remote HostWhen To Use Remote Configuration Rules for Editing a Configuration fileCpconf fromhost=199.250.121.12cnfg-fle Radius Resetting the Configuration to DefaultsConfiguring Users About Configuring Users Common User FeaturesConfiguration Methods Configuring a User Web Interface Configuring a User Command Line Examples Configuration Examples Illustration Terminal Server Configuration Without RealPortConfiguration Configuration NotesTerminal Server Configuration Using Autoconnection Terminal Server Configuration Using RealPort Dial-In PPP Connection Using Radius Dial-In PPP Connection Using Radius PortServer TS 8/16 Troubleshooting Introduction Symptom PortServer TS 8/16 Does Not BootAssumptions Symptom Cannot Telnet to the PortServer TS 8/16Running PortServer TS 8/16 Hardware Diagnostics Symptom Trouble Accessing a PortProcedure Running the Post Using the LEDs Procedure Running the Post from a TerminalRunning PortServer TS 8/16 Post Verifying Tftp on a Unix System Troubleshooting Tftp ProblemsResetting PortServer TS 8/16 Configuration to Defaults Command Line ProcedureFront Panel Procedure Verifying the PortServer TS 8/16 IP Address 17-9 Checking for Duplicate IP Addresses Pinging an IP Address Verifying the Network Cabling Linux Verifying the RealPort Process Verifying the RealPort ProcessAIX Verifying the RealPort Process HP-UX Verifying the RealPort ProcessWindows NT Verifying the RealPort Service Windows 2000 Verifying the RealPort ServiceSolaris Verifying the RealPort Process RealPort Checking and Changing Port ConfigurationDigi International Bren Road East Minnetonka, MN Digi Contact Information