Digi TS 2/4, TS 4 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 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-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 Dig One/PortServer TS 2/4 port

ip-addressis 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

Configuring Ports for Printers

4-5

Image 27
Contents 92000307B Page Contents Configuring DNS Configuration Examples 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 MethodsAccessing 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 LineConfiguring 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 Modems Tips on Configuring a Modem Configuring Ports for Modems Web Interface Before You Begin 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 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 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 Digi One/PortServer TS 2/4 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 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 About Modbus Configuring Modbus Using the Web Interface Configuring Modbus from the Command Line 11-5 Configuring Network-Connected Masters Configuring a Port-Connected MasterExamples Configuring Security Features Procedure for Changing a Port’s Access Requirements Controlling Access to Inbound PortsDefault Access Restrictions Options for Removing Access RestrictionMethod 1 Autoconnection Controlling Access to Outbound PortsDefault Access Restricting Access to Outbound PortsIssuing User Passwords Configuring SSH Version 2 for Secure Communication Password ProtectionUsing a Public Key 12-6 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 Digi One/PortServer TS 2/4 Agent Configuration Procedure Web Interface Configuration Procedure Command LineConfiguration Example 14-4 Configuring Users Common User Features About Configuring UsersConfiguring a User Web Interface Configuring a User Command Line Examples 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 Digi One/PortServer TS 2/4 from a Remote HostWhen To Use Remote Configuration Rules for Editing a Configuration fileCpconf fromhost=199.250.121.12cnfg-fle Resetting the Configuration to Defaults Configuration Examples Illustration Terminal Server Configuration Without RealPortConfiguration Configuration NotesTerminal Server Configuration Using Autoconnection Terminal Server Configuration Using RealPort Digi One/PortServer TS 2/4 Troubleshooting Procedures Symptom Digi One/PortServer TS 2/4 Does Not BootAssumptions Symptom Cannot Telnet to the Digi One/PortServer TS 2/4Running Digi One/PortServer TS 2/4 Customer Diagnostics Symptom Trouble Accessing a PortTroubleshooting Tftp Problems Key to Interpreting Digi One/PortServer TS 2/4 LEDsVerifying Tftp on a Unix System Kill -1inetdPID Verifying the Digi One/PortServer TS 2/4 IP Address Checking for Duplicate IP AddressesPinging 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 Digi International Bren Road East Minnetonka, MN Digi Contact Information18-12