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 28 of 52

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

Pages 230 to 238 of 456, from TE 2000 VT/ANSI Terminal Emulation Programmer's Guide

The original document is the PDF (3.1 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 2425

Page 230

Chapter 5, Customizing Your Configuration

5020, 700 Series, CK30, CK31, CV60 Terminals Via your web browser, access the IP address at http://<IP address>, doubleclick the File Manager desktop icon, select File, then press the [Del] key to remove the auto-login feature. For the terminal, using Microsoft ActiveSync, browse for the auto-login file, right-click the file for a pop-up menu, then select Delete to remove the file from the terminal.

6400, 5055 Terminals 1 Reboot the terminal to a DOS prompt. S For the 6400 Computer: press and hold the yellow, blue, and both green enter keys until the terminal resets. Watch the screen as the terminal boots and press 0 (zero) when the prompt appears. S For the 5055 Data Collection PC: power-cycle the terminal and select the minimum DOS prompt from the boot menu. 2 Rename or delete the AUTOLOG.SCR file. 3 Reboot the terminal again and allow it to complete the boot into terminal emulation.

59XX, 17XX, 11XX Terminals To disable auto-login on a 59XX, 17XX, or 11XX Terminal, reload the terminal with unmodified flash, then perform a cold start to flush the memory. The flash file does not allow selective erasing; files can be added, but not removed without removing all files.

Sample Auto-Login Script Files You can use these sample script files as they are or as the starting point for creating your own auto-login script files.

Example 1 Auto-Login With All Terminals Using the Same Account HostName “*” WaitFor “login:” Send “username<NEWLN>” WaitFor “Password:” Send “letmein<ENTER>”

#Use this to log into any host #Wait for the login prompt #Send the user name #Wait for the password prompt #Send the password

S The HostName command matches the host the user accesses. S The WaitFor command waits for a string to be displayed by the host. WaitFor takes up to 10 strings, 20 characters long. The strings must be enclosed in quotes and separated by a comma. S The first Send command sends a fixed user name. The second Send command sends a fixed password. S Angle brackets < and > can enclose uppercase mnemonics or hexadecimal values.

206

TE 2000™ VT/ANSI Terminal Emulation Programmer’s Guide

Page 231

Chapter 5, Customizing Your Configuration

Example 2 Auto-Login With Different User Names and Passwords Input “Enter user name”, username InputHidden “Enter password”, password HostName “*” WaitFor “login:” Send username Send “<NEWLN>” WaitFor “Password:” prompt Send password Send “<ENTER>”

#Prompt for user name #Prompt for password #Wait for login prompt #Send the user name #Send a carriage return #Wait for password #Send the users password #Send a carriage return

S The Input and Send commands use input variables. Input commands require a prompt string followed by a comma and a variable name in which to store the string. S The InputHidden command display “*” in place of any characters the user types. Place all Input commands before the first HostName command. S The Send command only accepts a single argument, so you need two Send commands to send the user name and a carriage return.

Example 3 Auto-Login to an Application Input “Enter user name”, username InputHidden ”Enter Password”, password HostName “*” WaitFor “login:” Send username Send “<NEWLN>” WaitFor “Password:” Send password Send “<ENTER>” WaitFor “Main Menu” Send “3” Send “<ENTER>” WaitFor “Wip Menu” Send “1” Send “<ENTER>”

#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

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.

TE 2000™ VT/ANSI Terminal Emulation Programmer’s Guide

207

Page 232

Chapter 5, Customizing Your Configuration

Example 4 Auto-Login With Variable Processing Input “Enter user name”, username InputHidden “Enter Password”, password HostName “BigHost” WaitFor “User:” Send username Send “<NEWLN>” WaitFor “Password:” Send password Send “<ENTER>” HostName “*” WaitFor “login:” Send username Send “<NEWLN>” WaitFor “Password:” Send password Send “<ENTER>” WaitFor “Main Menu” Send “3” Send “<ENTER>” WaitFor “Wip Menu” Send “1” Send “<ENTER>”

#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

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.

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*

208

TE 2000™ VT/ANSI Terminal Emulation Programmer’s Guide

Page 233

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.

700 Series 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:

Language

Pocket PC 2002

Pocket PC 2003 or Windows Mobile 2003

Simplified Chinese

GB700.ARM.CAB

GB730.ARM.CAB

Traditional Chinese

BIG700.ARM.CAB

BIG730.ARM.CAB

Japanese

JP700.ARM.CAB

JP730.ARM.CAB

Thai

THAI700.ARM.CAB

THAI730.ARM.CAB

Korea

DIOPEN1.CAB

DIOPEN1.CAB

2 Select the appropriate CAB file, do a right-click for a pop-up menu, then select Copy. 3 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. TE 2000™ VT/ANSI Terminal Emulation Programmer’s Guide

209

Page 234

Chapter 5, Customizing Your Configuration

CK30 Handheld Computers The CK30 Handheld Computer needs the following CAB 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 CAB files: Language

Windows CE.NET 4.2

Simplified Chinese

GBCK30.ARM.CAB

Traditional Chinese

BIGCK30.ARM.CAB

Japanese

JPCK30.ARM.CAB

Thai

THAICK30.ARM.CAB

Korea

KRCK30.ARM.CAB

2 Select the appropriate CAB 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 CAB files, wait 3 minutes before performing a warm-boot on the CK30. When rebooted, the newly copied CAB file automatically activates the double-byte character fonts for usage.

210

TE 2000™ VT/ANSI Terminal Emulation Programmer’s Guide

Page 235

Chapter 5, Customizing Your Configuration

Creating a Custom Parameter Set-Up File You can create a custom VT/ANSI TE 2000 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. Note: For 700 Series, CK30, CK31, CV60 Terminals with TE 2000 application versions 8.00 or greater, if a CONFIG.DAT file is present on your terminal, its settings are backed up in a CONFIG.OLD file, then written into a TE_SETTINGS.INI file. If the CONFIG.DAT file is not on your terminal, all settings are written to the TE_SETTINGS.INI file. Go to page 237 for TE_SETTINGS.INI information and settings.

CONFIG.DAT Settings Note: CHECKCFG.EXE is no longer used except for Trakker Antares Terminals 2415, 2425, 2435A, 2455, 2475, or 248X. This information is included for Trakker Antares users and for those using TE 2000 application versions older than 8.00 on 700 Series, CK30, or CV60 Terminals. This information does not apply towards CK31 Terminals.

CONFIG.DAT Syntax The parameter setup 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 blank lines, leading white space (spaces and tabs), and white space on either side of any delimiter (period, equal sign, or semicolon).

TE 2000™ VT/ANSI Terminal Emulation Programmer’s Guide

211

Page 236

Chapter 5, Customizing Your Configuration

In addition, the set-up file converts consecutive white space characters within strings to one space. For example, this line: Screen

Mode is the same as:

=

Page Mode

;

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. Following is a sample setup file. Screen Mode = ?; Program Name = MYCUSTOM; Screen Mode = Page Mode; Host A.Port Number = 1; Data Stream = VT220; Code 39.Encoded = Enabled; Extended Cmds = Enabled;

CONFIG.DAT 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 setup file is followed by one of three different formats that indicates the type of parameter and the values it can contain. S Literal strings. List of fixed values to choose from. 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. 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;

212

TE 2000™ VT/ANSI Terminal Emulation Programmer’s Guide

Page 237

Chapter 5, Customizing Your Configuration

S String parameters. String parameters are variables with minimum and maximum lengths. Program Name is unqualified. It must have eight characters. These configuration lines are valid: Program Name = ABCDEFGH; Program Name = FWP248H0;

Verifying Your CONFIG.DAT 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 the CONFIG.DAT file to the terminal when CHECKCFG reports no errors. For download instructions, see “Downloading Files” on page 263. 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

CONFIG.DAT 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. TE 2000™ VT/ANSI Terminal Emulation Programmer’s Guide

213

Page 238

Chapter 5, Customizing Your Configuration

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 252. 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 Note that brackets indicate default settings and values. Set-Up Parameters Options

Options

[Session 1] Session 2 Session 3 (700 Series, CV60) Session 4 (700 Series, CV60)

Values

Terminals using this option

Channel (900 MHz radio).

[Host A].Channel Host B.Channel Host C.Channel

10, 25, 30, 25, 30, 35, 40

6400, 5020, 5055, 11XX, 17XX, 59XX

Data Stream Note: For TE 2000 application versions 6.60 and greater, “VT/ANSI” is the default data stream.

[Host A].Data Stream Host B.Data Stream Host C.Data Stream

Native (blank if UDP Plus or TCP/IP), 3270, 5250, [VT/ANSI]

2415, 2425, 2435A, 2455, 2475, 248X, 6400, 5020, 5055, 11XX, 17XX, 59XX, 700 Series, CK30, CV60

Frequency (S-UHF radio)

[Host A].Frequency Host B.Frequency Host C.Frequency

Numeric, minimum = 0, maximum = 0xFFFFFFFF

6400, 5020, 5055, 11XX, 17XX, 59XX

Host Name

[Host A].Host Host B.Host Host C.Host

String, minimum = 0, 2415, 2425, 2435A, maximum = 16 [null string] 2455, 2475, 248X, 6400, 5020, 5055, 11XX, 17XX, 59XX, 700 Series, CK30, CV60

Lan ID

[Host A].Lan Host B.Lan Host C.Lan

Numeric, minimum = 0, maximum = 254 [0] applies to 900 MHz Numeric, minimum = 0, maximum = 15 [0] applies to 2.4 GHz OpenAir

214

6400, 5020, 5055, 11XX, 17XX, 59XX

TE 2000™ VT/ANSI Terminal Emulation Programmer’s Guide