Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 24 of 47

TE 2000 VT/ANSI Terminal Emulation Programmer's Guide: Chapter 5: Customizing Your Configuration, pages 206 to 214

Pages 206 to 214 of 416, from TE 2000 VT/ANSI Terminal Emulation Programmer's Guide

The original document is the PDF (3.6 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 206

Chapter 5, Customizing Your Configuration

Example 3 Auto-Login to an Application

Input “Enter user name”, username ** Inputs “Enter user name”, username InputHidden ”Enter Password”, password HostName “*” WaitFor “login:” Send username WaitFor “<CR>” WaitFor “Password:” Send password Send “<CR>” WaitFor “Main Menu” Send “3” Send “<CR>” WaitFor “Wip Menu” Send “1” Send “<CR>”

#Prompt for user name #Prompt for user name #Prompt for password #Wait for login prompt #Send the user name #Send a carriage return #Wait for password prompt #Send the users password #Send a carriage return #Wait for the main menu #Pick option 3 from menu #Await work-in-process menu #Pick option 1 from menu

** 5020, 5055 .NET, 700 Series, CK30, CV60 terminals S Example 3 modifies the script file in Example 2. The additional modification (which starts with WaitFor “Main Menu”) allows you to move automatically to an application after logging in.

Example 4 Auto-Login With Variable Processing

Input “Enter user name”, username ** Inputs “Enter user name”, username InputHidden “Enter Password”, password HostName “BigHost” WaitFor “User:” Send username Send “<CR>” WaitFor “Password:” Send password Send “<CR>” HostName “*” WaitFor “login:” Send username WaitFor “<CR>” WaitFor “Password:” Send password Send “<CR>” WaitFor “Main Menu” Send “3” Send “<CR>” WaitFor “Wip Menu” Send “1” Send “<CR>”

#Prompt for user name #Prompt for user name #Prompt for password #Use script portion for BigHost #Wait for the user prompt #Send the user name #Send a carriage return #Wait for password prompt #Send the users password #Send a carriage return #Match any host name #Wait for login prompt #Send the user name #Send a carriage return #Wait for password prompt #Send the users password #Send a carriage return #Wait for the main menu #Pick option 3 from menu #Await work-in-process menu #Pick option 1 from menu

** 5020, 5055 .NET, 700 Series, CK30, CV60 terminals S A section for the host name BigHost is added to the beginning of the script file. If you log into any host other than BigHost, the script file starts at the HostName “*” line. This allows for different processing on each host.

182

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

Page 207

Chapter 5, Customizing Your Configuration

Auto-Login Restart The Auto-Login Restart command starts the auto-login script file from the correct HostName statement in the script file when a host session is broken. For this command to work, the WaitFor string must match the last data sent from the host. For example, if the WaitFor string is the login prompt “login:” with a space after the colon, the WaitFor string must include a space for the auto-login restart to work. To use the Auto-Login Restart command, press the keys listed in Chapter 3, “Using the Terminal’s Keyboard.” Or, scan the following bar code. Auto-Login Restart

*/EALRS* *%ALRS*

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

183

Page 208

Chapter 5, Customizing Your Configuration

Displaying Double-Byte Characters The 2415 Terminal supports Double-Byte Character Sets. The sets available are Thai, Big 5 (traditional) Chinese, simplified Chinese, Japanese (Kanji), and Korean (Hangul) and are preloaded on the 2415 Terminal. To order a Double-Byte Character Set, contact your Intermec representative, then follow instructions in the terminal user manual to install it.

5055 .NET, 700 Series, CV60 Terminals Do the following to load CAB files that support double-byte characters onto your terminal. Be sure to set the terminal’s screen size to 8x16. 1 From your desktop, select Start > Windows Explorer, then browse the “C:\Program Files\Intermec\TE2000” path for the following CAB files: Standard CAB File

Language

THAI700[1].ARM.CAB

Thai

BIG700[I].ARM.CAB

Big 5 (traditional) Chinese

GB700[I].ARM.CAB simplified Chinese

DIOPEN2.CAB

Korean (Hangul)

JP700[I].ARM.CAB

Japanese (Kanji)

2 Select the appropriate CAB file, do a right-click for a pop-up menu, then select Copy. 3 If you are using the 5055 .NET or CV60 Data Collection PC: Load the CAB file on the root of the hard disk. If you are using the 700 Monochrome Computer: Within the Mobile Device directory on the 700 Monochrome Computer, tap My Pocket PC > Storage Card > cabfiles. Do a right-click for a pop-up menu, then select Paste. If you are using the 700 Color Computer with a CompactFlash storage card: Within the Mobile Device directory, select My Pocket PC > Storage Card > cabfiles. Do a right-click for a pop-up menu, then select Paste. If you are using the 700 Color Computer with a Secure Digital storage card: Within the Mobile Device directory, select My Pocket PC > SDMMC_Disk > cabfiles. Do a right-click for a pop-up menu, then select Paste. If neither the CompactFlash nor Secure Digital storage card is installed in the 700 Series Computer, paste the CAB file into the root of the object store. After extracting the CAB files, perform a warm-boot on the terminal. When rebooted, the newly copied CAB file automatically activates the double-byte character fonts for usage.

184

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

Page 209

Chapter 5, Customizing Your Configuration

CK30 Handheld Computers The CK30 Handheld Computer needs the following BIN files for doublebyte character support. 1 From your desktop, select Start > Windows Explorer, then browse the “C:\Program Files\Intermec\TE2000” path for the following BIN files: Standard BIN File

Premium BIN File

Language

NK_STD_TH.BIN

NK_PRM_TH.BIN

Thai

NK_STD_CT.BIN

NK_PRM_CT.BIN

Big 5 (traditional) Chinese

NK_STD_CS.BIN

NK_PRM_CS.BIN simplified Chinese

NK_STD_KO.BIN

NK_PRM_KO.BIN

Korean (Hangul)

NK_STD_JP.BIN

NK_PRM_JP.BIN

Japanese (Kanji)

2 Select the appropriate BIN file, do a right-click for a pop-up menu, then select Copy. 3 Within the Mobile Device directory on your SecureDigital storage card, select My Pocket PC > SDMMC_Disk > cabfiles. Do a right-click for a pop-up menu, then select Paste. 4 After extracting the BIN files, perform a cold-boot on the unit. When rebooted, the newly copied BIN file automatically activates the doublebyte character fonts for usage.

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

185

Page 210

Chapter 5, Customizing Your Configuration

Creating a Custom Parameter Set-Up File You can create a custom VT/ANSI 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 = ?;

186

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

Page 211

Chapter 5, Customizing Your Configuration

Following is a sample set-up file. Program Name = CUSTOM; Screen Mode = Page Mode; Host A.Port Number = 1; Data Stream = VT220; Code 39.Encoded = Enabled; Extended Cmds = Enabled;

Parameter Formats You can direct the complete parameter list with value definitions 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

Session 1 or 2 may qualify Screen Mode. 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;

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

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

187

Page 212

Chapter 5, Customizing Your Configuration

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. You must name this file 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 228. If CHECKCFG reports an error, use a text editor to open and correct the set-up file. This chart lists the system messages CHECKCFG may display. Default String

Description

ID #

Can’t open file

Could not locate the input config (configuration) file

F000

Bad option name

Right side of expression in input config file has an invalid name

F001

Syntax error

Input config file contains a syntax error

F002

Bad string length

Right side of expression in input config file has a string too long for specified parameter

F003

Unknown type

Parameter table in config program has a bad value (testing purposes only, should not occur)

F004

Value out of range

Right side of expression in input config file has an out-of-range # for specified parameter F005

Bad value

Right side of expression in input config file has an invalid string for specified parameter

F006

Expected numeric

Right side of expression in input config file contains nonnumeric data instead of a numeric value

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

188

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

Page 213

Chapter 5, Customizing Your Configuration

Parameters and Qualifiers Note: If parameters are duplicated, an error is not generated. Instead, the terminal processes the entire file and uses 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 217. Trakker Antares terminals using WTP (2415, 2425, 2435A, 2455, 2475, and 248X), 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 Chapter 1, “Getting Started.”

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] TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

189

Page 214

Chapter 5, Customizing Your Configuration

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] 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

190

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide