The text of a manual · part 9 of 14
Intermec Ethernet Adapter User's Manual, pages 81 to 90
Pages 81 to 90 of 132
The original document is the PDF (402 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Intermec 068788 Axis 540+
Page 81
Setting Up the Ethernet Adapter for a UNIX Network
7
Customizing Your Printing The Ethernet adapter can alter the print data to match the type of printer you are using, so that you can use your desired print format on any type of printer. You can invoke the following actions from the Ethernet adapter: •
You can change the character set to suit the printer.
•
You can add strings before and after the print data.
•
You can substitute strings within the print data.
•
The Ethernet adapter can convert ASCII to PostScript.
•
If the printer is busy, the Ethernet adapter can redirect print data to another printer.
•
You can use Hex Dump mode to assist with printing problems.
If any of these actions are required, a logical printer is used to change the print data before being sent to the printer port. There are eight logical printers that can be set up to filter the print data. Edit the parameters in the Ethernet adapter’s configuration file to configure a logical printer. For more information, see Appendix A, “Configuration Parameters.” The default logical printers settings are such that PR1 through PR4 cause no change to the flow of print data, while PR5 through PR8 add CR to LF control characters. Logical Printer
Changes to data
PR1 no change
PR2 no change
PR3 no change
PR4 no change
PR5 add CR to LF
PR6 add CR to LF
PR7 add CR to LF
PR8 add CR to LF
Converting Character Sets A common problem in a multiple host environment is that different hosts use different ASCII character sets. As a result, language-specific characters (such as å ü ô ñ) are sometimes printed incorrectly. To avoid this problem, the Ethernet adapter assigns a character set conversion filter to a logical printer and then links that logical printer to the host causing the problem.
7-7
Page 82
Intermec Ethernet Adapter User’s Manual
You can choose from several different filters within the PR1_CSET Character Set Conversion. For more information, see Appendix A, “Configuration Parameters.” The output from the conversion filter is always IBM PC Set 2 (Code Page 437), which you should set up on your printer. The following text provides an example scenario: Problem Your network contains three hosts using the character sets IBM PC Set 2, ISO 8859-2, and DEC. Solution In order for different hosts to direct their print jobs to the same printer, for instance LPT1, you should assign each host to a separate logical printer and install character set conversion filters. Edit the following entries in your configuration file: PR1_CSET.: NONE PR2_CSET.: ISO>IBM PR3_CSET.: DEC>IBM
Result Logical printer PR1 prints data transparently without conversion. Logical printer PR2 converts ISO 8859-2 data to IBM PC Set 2. Logical printer PR3 converts DEC data to IBM PC Set 2. This arrangement will produce correct printouts for all language-specific characters.
Adding Strings Before and After Print Jobs These string functions provide a way to send printer control commands before and after each print job. They may be specified individually for each logical printer. All strings are entered as hexadecimal byte values. Example Assume that the logical printer PR5 is configured as a PostScript printer. To append the PostScript End of File character (Ctrl-D, hex 04) after each print job, edit the following entry in your configuration file: PR5_AFT. : 04
Substituting Strings The string substitution function performs search and replace operations on the print data. The primary application is to replace printer control commands. Up to 20 string substitutions may be specified individually for each logical printer. All strings must be entered as hexadecimal byte values, and each match and substitute string must be preceded by a count byte. For help, see Appendix A, “Configuration Parameters.” Example 1 To replace the UNIX New Line (hex 0A) with an ASCII New Line (hex 0D 0A) for logical printer PR1, edit the following entry in your configuration file: PR1_STR. : 01 0A 02 0D 0A
7-8
Page 83
Setting Up the Ethernet Adapter for a UNIX Network
7 where: 01 0A 02 0D 0A is the match string count byte (length of the match string) is the match string is the substitute count byte is the substitute string
This is the default setting for logical printers PR5 through PR8. Example 2 To replace the UNIX New Line (hex 0A) with an ASCII New Line (hex 0D 0A) and the printer command ECG1 (hex 1B 47 31) with ECY (hex 1B 59) for logical printer PR2, edit the following entry in your configuration file: PR2_STR. : 01 0A 02 0D 0A 03 1B 47 31 02 1B 59
Note: Extensive use of string substitutions will decrease the throughput rate of the Ethernet adapter.
Converting ASCII to PostScript The Ethernet adapter’s logical printers can translate ASCII print data into PostScript format. This translation makes it possible to print with a PostScript printer from a host that does not support PostScript. The conversion is selected by activating a filter that converts ASCII data into PostScript. This filter may be activated individually for each logical printer. Example: The following entries in your configuration file allow print data applied to PR1 to pass without changes; print data applied to PR2 is converted from ASCII to PostScript, and PR3 data is searched. Any ASCII data is converted to PostScript, while PostScript data is allowed to pass without change. PR1_FILT. : NONE PR2_FILT. : POSTSCR PR3_FILT. : AUTO_PS
The AUTO_PS configuration is used when you are not sure if the print data is ASCII or PostScript. When a logical printer is set for PostScript conversion, the printer needs to know the page size, page orientation, page formats, and font to use. The default page size is A4 and the default page orientation is Portrait. The following table lists the default values for the page format parameters. Page Format Parameter
Default Value
Lines per page
66
Characters per line
0 (0=disable line wrap)
Characters per inch
10.0
Lines per inch
60
Left margin
30 (30 = 3.0 mm)
Top margin
50 (50 = 5.0 mm)
7-9
Page 84
Intermec Ethernet Adapter User’s Manual
The PostScript font can be any font that is installed in the printer; if no font is specified, Courier will be used. Example: The following entries are needed in your configuration file to set up logical printer number 2 for ASCII to PostScript conversion with the stated printing characteristics. PR2_FILT. : POSTSCR PR2_SIZE. : LETTER PR2_ORNT. : LANDS PR2_FORM. : 48 0 120 60 30 50 PR2_FONT. : Helvetica
(PostScript conversion on) (Page size = letter) (orientation = landscape) (48 LPP, 0 CPL, 12 CPI, 6 LPI, 3 mm left margin and 5 mm top margins) (font = Helvetica)
Reading Back Information The Ethernet adapter supports bi-directional printing. The Ethernet adapter reads the information from the printer back on the parallel port when the parameter PRX_IN has the default setting of AUTO. However, the printer must support bi-directional printing. You can disable the communication through the PRX_IN parameter. Example: Make the following entry in your configuration file to disable bi-directional communication: PR1_IN. : NONE
(Read-back of information)
Debugging Using the Hex Dump Mode When you activate Hex Dump mode, the printer prints data and printer control commands as hexadecimal byte values rather than characters. Use this printout to inspect what control and print characters the printer receives in order to debug the more difficult printing problems. Example: The following is an example of the entries needed in your configuration file to activate the Hex Dump mode for PR3: PR3_DUMP.:YES
(switch on hex dump mode for logical printer PR3)
Note: The label length for hex dump printouts is determined by the lines per label value of the PostScript label format parameter.
7-10
Page 85
8 Managing and Configuring the Ethernet Adapter
Page 86
Page 87
Managing and Configuring the Ethernet Adapter
8
This section describes how you can change the Ethernet adapter’s parameter values.
Introduction Choose the method you use to manage and configure your Ethernet adapter based on the operating system protocols used in your network. This section covers the following configuration methods: •
Using any standard Web browser
•
Using AXIS NetPilot
•
Using FTP
•
Using Telnet
•
Using SNMP
•
Using HP administration tools
•
Using Novell Utilities
The next table displays which methods you should use in the supported network environments. Operating System Protocols
Configuration/Management Methods
IPX/SPX (NetWare)
AXIS NetPilot, HP JetAdmin, Novell Utilities
TCP/IP (UNIX)
Web Browser, FTP, Telnet, SNMP, HP Web JetAdmin
TCP/IP (Windows 95/98/NT)
Web Browser, FTP, Telnet, SNMP, HP Web JetAdmin
TCP/IP (Windows)
Web browser, FTP, Telnet, SNMP
NetBIOS/NetBEUI (Windows 95/98/NT)
AXIS NetPilot
NetBIOS/NetBEUI (Windows)
AXIS NetPilot
NetBIOS/NetBEUI (OS/2)
AXIS NetPilot
Apple EtherTalk
Web browser, Mac-FTP, AXIS NetPilot via a PC platform within the same network.
8-3
Page 88
Intermec Ethernet Adapter User’s Manual
Using a Web Browser to Manage and Configure the Ethernet Adapter Once you have established the Ethernet adapter in the TCP/IP environment, you can access the Ethernet adapter’s Web pages from any standard Web browser. To access the home page of the Ethernet adapter Note: The following procedure uses Internet Explorer. 1. Open your Web browser. 2. From the File menu, select Open. 3. Type the IP address of the Ethernet adapter in the Open dialog box.
Or type the host name in the Open dialog box.
8-4
Page 89
Managing and Configuring the Ethernet Adapter
8
The home page of your Ethernet adapter appears in your browser.
You can access links to the following services from the home page of the Ethernet adapter. Service
Description From within the Configuration pages you can • modify configuration parameters of the Ethernet adapter. For a complete list of parameters, see Appendix B.
• enable and disable any of the available networking protocols and modify their operation from appropriate configuration pages.
• change the node address.
• amend the root password.
When clicking on either Management or Configuration, you will be prompted to provide a user name and a password, unless you are using the default values root and pass.
8-5
Page 90
Intermec Ethernet Adapter User’s Manual
Home Page Services (continued) Service
Description The Management Page allows you to reset the adapter and set the parameters to the factory default values. You may also view basic information about your Ethernet adapter, such as the current software version, Ethernet address, serial number, base URL address, and enabled networking protocols. User-friendly links to other services are also provided, including Change root password. You may view the status of the connected printer ports from the Status Page, examine the number of bytes printed, etc.
Maintains and displays a historical record of print jobs that also defines the user, logical printer, protocol, file size, elapsed time, and off-line time. The Help page contains a short description of the configuration and management activities that can be performed via the internal Web pages of the Ethernet adapter.
Note: Any network configuration should involve the Network Administrator.
Using AXIS NetPilot to Manage and Configure the Ethernet Adapter AXIS NetPilot is the recommended tool to use when you want to configure the Ethernet adapter in networks that support communication via NetWare, IPX/SPX, or NetBIOS/NetBEUI. AXIS NetPilot allows you to
8-6
• change the Ethernet adapter’s parameter values.
• modify the network environments.
• monitor your printers.
• group logically connected adapters together.
• upgrade the Ethernet adapter with the latest available software. This feature is covered in Chapter 9, “Updating the Software.”