The text of a manual · part 17 of 37
Native Terminal Emulation Programmer's Guide: Chapter 4: Customizing Your Configuration, pages 132 to 140
Pages 132 to 140 of 340, from Native Terminal Emulation Programmer's Guide
The original document is the PDF (2.9 MB). 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 2435
Page 132
Chapter 4, Customizing Your Configuration
Creating a Custom Parameter Set-Up File You can create a custom Native TE set-up file to preset almost any parameter you can set from the TE configuration menus. These parameter settings become the default (cold start) configuration for the terminal.
Syntax The parameter set up file is an ASCII text file that you create which gets converted to a binary file by the CHECKCFG.EXE utility. New terminals do not come with this utility but it is available by request from the system engineer; or, if you ordered the upgrade version, it is included in the TOOLS.EXE self-extracting file. You can name the input file as you choose. When you use the CHECKCFG utility later to verify the file, you must change the output file name to CONFIG.DAT. A field may have zero or more qualifiers. The syntax of a line is FieldName = Value; or Qualifier.FieldName = Value;
S FieldName is the name of the parameter you want to modify. S Value is the new value for the field. S Qualifier and FieldName must be ASCII strings that match one of the configuration parameters. S Value can be an ASCII string or a numeric value, depending on the type of the parameter FieldName specifies. The parameters along with their types and allowable values are listed under “Parameters and Qualifiers” later in this chapter. CHECKCFG.EXE ignores the following: S Blank lines S Leading white space (spaces and tabs) S White space on either side of any delimiter (a period, an equal sign, or a semicolon) In addition, the set-up file converts consecutive white space characters within strings to one space. For example, this line: Screen
Mode
=
Page Mode
;
is the same as: Screen Mode=Page Mode;
You can set the Value field of any configuration parameter to “?”, which indicates that the TE configuration program should prompt the user for the appropriate value. For example, this parameter causes the terminal to prompt the user to select a screen mode from the list of values: Screen Mode = ?;
112
Native Terminal Emulation Programmer’s Guide
Page 133
Chapter 4, Customizing Your Configuration
Following is a sample set-up file. Program Name = CUSTOM; Screen Mode = Page Mode; Host A.Port Number = 1; Data Stream = Native; Code 39.Encoded = Enabled; Extended Cmds = Enabled;
Parameter Formats The complete parameter list with value definitions can be directed to a file using this command: CHECKCFG –P CFGLIT.DAT > parms.txt
Each parameter in the set-up file is followed by one of three different formats that indicates the type of parameter and the values it can contain. Formats are as follows: S Literal strings. List of fixed values to choose from. Example: [Session 1].Screen Mode Session 2.Screen Mode Center Cursor Corner Mode Page Mode Lazy Mode Locked Mode
Screen Mode may be qualified by Session 1 or 2. It may take the value Center Cursor, Corner Mode, Page Mode, Lazy Mode, or Locked Mode. Session 1 is the default qualifier. These configuration lines are valid: Screen Mode = Lazy Mode; Session 1.Screen Mode = Lazy Mode; Session 2.Screen Mode = Lazy Mode;
Native Terminal Emulation Programmer’s Guide
113
Page 134
Chapter 4, Customizing Your Configuration
S Numeric parameters. Numeric parameters have minimum and maximum values. Parameters can be either decimal or hexadecimal: S Decimal parameters consist of digits 0 through 9. S Hexadecimal parameters consist of 0x or 0X, followed by 1 to 4 digits of 0 through 9, a through f, or A through F. These are equivalent: 160, 0xA0, and 0Xa0. Example: [Session 1].[Host A].Port Number Session 2.Host A.Port Number [Session 1].Host B.Port Number Session 2.Host B.Port Number [Session 1].Host C.Port Number Session 2.Host C.Port Number Numeric, minimum = 0, maximum = 65535
Port Number is a variable with a minimum value of 0 and a maximum of 65535. These lines are valid: Port Number = 1; Session 1.Host A.Port Number = 1; Session 2.Host A.Port Number = 1;
S String parameters. String parameters are variables with minimum and maximum lengths. Example: Program Name String, minimum length = 8, maximum length = 8
Program Name is unqualified. It must have eight characters. These configuration lines are valid: Program Name = ABCDEFGH; Program Name = FWP248H0;
Verifying Your Configuration Use the CHECKCFG utility to verify that you properly configured your set-up file. CHECKCFG reads your configuration and reports any syntax errors. To get the utility, contact your Systems Engineer. To verify your configuration: Type: checkcfg <input config file> cfglit.dat config.dat S <input config file> is the name of your parameter set-up file. S CFGLIT.DAT contains the strings that appear in the configuration menus, parameter files, and system messages. S CONFIG.DAT is the name of the output file you will download to the terminal. This file must be named CONFIG.DAT. You are ready to download CONFIG.DAT to the terminal when CHECKCFG reports no errors. For download instructions, see “Downloading Files” on page 151.
114
Native Terminal Emulation Programmer’s Guide
Page 135
Chapter 4, Customizing Your Configuration
If CHECKCFG reports an error, use a text editor to open your set-up file and correct it. The following chart lists the system messages CHECKCFG may display. Default String
Description
ID #
Can’t open file
The input config (configuration) file could not be located.
F000
Bad option name
The right side of an expression in the input config file is an invalid name.
F001
Syntax error
The input config file contains a syntax error.
F002
Bad string length
The right side of an expression in the input config file is a string that is too long for the specified parameter.
F003
Unknown type
The parameter table in the configuration program contains a bad value. This error is for testing purposes only and should never occur.
F004
Value out of range
The right side of an expression in the input config file is a number that is out of range for the specified parameter.
F005
Bad value
The right side of an expression in the input config file is a string that is invalid for the specified parameter.
F006
Expected numeric
The right side of an expression in the input config file should be a numeric value but contains nonnumeric data.
F007
Missing ’=‘
A line in the input config file does not contain the required “=” (equal sign).
F008
Missing ’;‘
A line in the input config file is not terminated by a “;” (semicolon).
F009
Parameters and Qualifiers Note: If parameters are duplicated, an error is not generated. Instead, the terminal will process the entire file and use the last entered value of the duplicated parameter. Parameters in the set-up file apply to all model numbers unless otherwise noted here. The following pages list each parameter and its qualifiers. Some qualifiers have default values. If you want to use the default value, you can omit the qualifier from the parameter set-up file. Default qualifiers are listed between square brackets “[ ]” in this chapter. The CFGLIT.DAT file specifies the text of set-up menus or system messages. Parameters and qualifier strings in the set-up file assume you are using the default CFGLIT.DAT file. To customize CFGLIT.DAT, see “Changing Text” on page 140. Trakker Antares terminals (2415, 2425, 2435A, 2455, 2475, and 248X), using WTP, support dual sessions. If the terminals use UDP Plus or TCP/IP, then dual sessions are not supported. Note: Only WTP terminals support dual sessions (“Session 2”). For a list of terminals with WTP, see “Program Names” in Chapter 1, “Getting Started.”
Native Terminal Emulation Programmer’s Guide
115
Page 136
Chapter 4, Customizing Your Configuration
Set-Up Parameters Options S Channel (900 MHz radio) [Session 1].[Host A].Channel Session 2.Host A.Channel [Session 1].Host B.Channel Session 2.Host B.Channel [Session 1].Host C.Channel Session 2.Host C.Channel 10 25 30 25 30 35 40 Note: For Terminal Emulation versions 6.60 and greater, “VT/ANSI” is the default data stream. S Data Stream [Session 1].[Host A].Data Stream Session 2.Host A.Data Stream [Session 1].Host B.Data Stream Session 2.Host B.Data Stream [Session 1].Host C.Data Stream Session 2.Host C.Data Stream Native (blank if UDP Plus or TCP/IP) 3270 5250 [VT/ANSI] S Frequency (S-UHF radio) [Session 1].[Host A].Frequency Session 2.Host A.Frequency [Session 1].Host B.Frequency Session 2.Host B.Frequency [Session 1].Host C.Frequency Session 2.Host C.Frequency Numeric, minimum=0, maximum=0xFFFFFFFF S Host Name [Session 1].[Host A].Host Session 2.Host A.Host [Session 1].Host B.Host Session 2.Host B.Host [Session 1].Host C.Host [Session 1].Host C.Host String, minimum length = 0, maximum length = 16 [null string]
116
Native Terminal Emulation Programmer’s Guide
Page 137
Chapter 4, Customizing Your Configuration
S Lan ID [Session 1].[Host A].Lan Session 2.Host A.Lan [Session 1].Host B.Lan Session 2.Host B.Lan [Session 1].Host C.Lan Session 2.Host C.Lan Numeric, minimum = 0, maximum = 254 [0] applies to 900 MHz Numeric, minimum = 0, maximum = 15 [0] 2.4 GHz OpenAir Note: Values greater than 15 on terminals with OpenAir or 802.11 radios have a MOD 16 operation done on the terminals. For example, LAN IDs 0, 16, and 32 all equal 0 (zero). S Mode [Session 1].[Host A].Mode Session 2.Host A.Mode [Session 1].Host B.Mode Session 2.Host B.Mode [Session 1].Host C.Mode Session 2.Host C.Mode For 900 MHz radio: DS 225K DS 090K DS 450K For S-UHF radio: Freq Agility Single Freq S Port Number [Session 1].[Host A].Port Number Session 2.Host A.Port Number [Session 1].Host B.Port Number Session 2.Host B.Port Number [Session 1].Host C.Port Number Session 2.Host C.Port Number Numeric, minimum = 0, maximum = 65535 [23] S Radio Configuration Number [Session 1].[Host A].Radio Config# Session 2.Host A.Radio Config# [Session 1].Host B.Radio Config# Session 2.Host B.Radio Config# [Session 1].Host C.Radio Config# Session 2.Host C.Radio Config# Numeric, minimum = 0, maximum = 255 [0]
Native Terminal Emulation Programmer’s Guide
117
Page 138
Chapter 4, Customizing Your Configuration
S Radio Number (same as unit number) [Session 1].[Host A].Radio # Session 2.Host A.Radio # [Session 1].Host B.Radio # Session 2.Host B.Radio # [Session 1].Host C.Radio # Session 2.Host C.Radio # Numeric, minimum = 0, maximum = 127 [127] S Server IP [Session 1].[Host A].Server IP Session 2.Host A.Server IP [Session 1].Host B.Server IP Session 2.Host B.Server IP [Session 1].Host C.Server IP Session 2.Host C.Server IP Numeric, minimum = 1, maximum = 16 [16] S SNA [Session 1].SNA Session 2.SNA Enabled [Disabled] S Telnet [Session 1].Telnet Session 2.Telnet [Enabled] this default applies to the 6400 and 5055 TE over IP options, and to 2415, 2425, 2435A, 2455, 2475, 248X [Disabled] S Terminal Type [Session 1].[Host A].Terminal Type Session 2.Host A.Terminal Type [Session 1].Host B.Terminal Type Session 2.Host B.Terminal Type [Session 1].Host C.Terminal Type Session 2.Host C.Terminal Type Numeric, minimum = 0, maximum = 255 [255] S Unit Number (same as radio number) [Session 1].[Host A].Unit # Session 2.Host A.Unit # [Session 1].Host B.Unit # Session 2.Host B.Unit # [Session 1].Host C.Unit # Session 2.Host C.Unit # Numeric, minimum = 0, maximum = 127 [127]
118
Native Terminal Emulation Programmer’s Guide
Page 139
Chapter 4, Customizing Your Configuration
Bar Code Parameters Note: Bar code parameters apply to 6400, 5055, 59XX, 17XX, and 11XX Terminals unless otherwise noted. 2415, 2425, 2435A, 2455, 2475, and 248X Terminals support the Code 39 Encoded, Concatenate, RS232 Stream, Stream Scan, and Scan All Flds parameters. S BC Type Character (not supported on the 5055) [Session 1].BC Type Char Session 2.BC Type Char Enabled [Disabled] S Code 39 Encoded [Session 1].Code 39 Encoded Session 2.Code 39 Encoded Enabled [Disabled] S Concatenate [Session 1].Concatenate Session 2].Concatenate Enabled [Disabled] S MOD 10 Check [Session 1].MOD 10 Check Session 2.MOD 10 Check Enabled [Disabled] S Redundancy (not supported on the 5055) [Session 1].Redundancy Session 2.Redundancy Enabled [Disabled] S RS-232 Stream (2415, 2425, 2435A, 2455, 2475, 248X) [Session 1].RS232 Stream Session 2.RS232 Stream Enabled [Disabled] S Scan All Fields [Session 1].Scan All Flds Session 2.Scan All Flds Enabled [Disabled] S Scan Postamble Character [Session 1].Scan PostChar Session 2.Scan PostChar Numeric, minimum = 0, maximum = 255 [0]
Native Terminal Emulation Programmer’s Guide
119
Page 140
Chapter 4, Customizing Your Configuration
S Scan Preamble Character [Session 1].Scan PreChar Session 2.Scan PreChar Numeric, minimum = 0, maximum = 255 [0] S Scan Timeout (not supported on the 6400 and 5055) [Session 1].Scan Timeout Session 2.Scan Timeout Numeric, minimum = 1, maximum = 200 [30] S Scanner Type (6400 and 5055 support Laser only) [Session 1].Scanner Type Session 2.Scanner Type [No Scanner] Wand Laser Wand Emulate Auto Detect S Stream Scan [Session 1].Stream Scan Session 2.Stream Scan Enabled [Disabled]
Bar Code Symbologies S ABC Codabar [Session 1].ABC Codabar Session 2.ABC Codabar Enabled [Disabled] S Codabar [Session 1].Codabar Session 2.Codabar Enabled [Disabled] S Code 11 (not supported on 6400, 5055) [Session 1].Code 11 Session 2.Code 11 Enabled [Disabled] S Code 39 [Session 1].Code 39 Session 2.Code 39 Enabled [Disabled] S Code 93 [Session 1].Code 93 Session 2.Code 93 Enabled [Disabled]
120
Native Terminal Emulation Programmer’s Guide