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 27 of 45

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

Pages 227 to 236 of 400, 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 227

Chapter 5, Customizing Your Configuration

LCD Options S Annunciator Format [Session 1].Annun Format Session 2.Annun Format [Vertical] 2455, 2475, 248X, 5020, 5055, 59XX, 700 Series [Horizontal] 2415, 2425, 2435A, 6400 S Annunciator Position [Session 1].Annun Position Session 2.Annun Position Upper Right Upper Left [Lower Right] 6400, 5020, 5055, 59XX, 17XX, 11XX, 700 Series Lower Left [Stealth] 2415, 2425, 2435A, 2455, 2475, 248X S Backlight Intensity (59XX) [Session 1].BLight Intensity Session 2.BLight Intensity Numeric, minimum = 0, maximum = 15 S Define Height (Scroll Window) [Session 1].Define Height Session 2.Define Height Numeric, minimum = 1, maximum = 24 [8] S Define Width (Scroll Window) [Session 1].Define Width Session 2.Define Width Numeric, minimum = 1, maximum = 80 [8] S Key Uppercase [Session 1].Key Uppercase Session 2.Key Uppercase [Enabled] Disabled S LCD Contrast (59XX, 17XX) [Session 1].LCD Contrast Session 2.LCD Contrast Numeric, minimum = [0], maximum = 255 S Screen Columns [Session 1].Screen Cols Session 2.Screen Cols Numeric, minimum = 1, maximum = 255 [16] 11XX [17] 17XX [19] 2435A [20] 2415, 2425, 2455, 2475, 248X [40] 59XX [80] 5055 [16] 6400 wide display, 5020, 700 Series TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

203

Page 228

Chapter 5, Customizing Your Configuration

S Screen Mode [Session 1].Screen Mode Session 2.Screen Mode Center Cursor [Corner Mode] Page Mode Lazy Mode Locked Mode S Screen Rows [Session 1].Screen Rows Session 2.Screen Rows Numeric, minimum = 1, maximum = 255 [8] 11XX [8] 17XX [10] 59XX [16] 2415, 2425, 2435A, 2455, 2475, 248X [25] 5055 [16] 6400 wide display, 5020, 700 Series S Scroll Window [Session 1].Scroll Window Session 2.Scroll Window Screen Size Scroll Setting [Tab Size] S XOrigin [Session 1].XOrigin [Session 2].XOrigin Numeric minimum = 0, maximum = 79 [0] S YOrigin [Session 1].YOrigin [Session 2].YOrigin Numeric minimum = 0, maximum = 23 [0]

Beeper Setup Options Note: Beeper setup options do not apply to the 2415, 2425, 2435A, 2455, 2475, 248X, 5020, and 700 Series Terminals. S Beep Head Set (17XX) [Session 1].Beep Head Set Session 2.Beep Head Set Enabled [Disabled] S Beep Internal (not supported on 59XX) [Session 1].Beep Internal Session 2.Beep Internal [Enabled] Disabled

204

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

Page 229

Chapter 5, Customizing Your Configuration

S Beeper (Error Tone) Frequency (not supported on 59XX) [Session 1].Beep Frequency Session 2.Beep Frequency Numeric, minimum = 0, maximum = 30 [13] 11XX and 17XX [6] 6400 S Beeper (Error Tone) Length [Session 1].Beep Length Session 2.Beep Length Numeric, minimum= 1 , maximum= 10 [3] S Beeper (Error Tone) Volume (59XX) [Session 1].Beep Volume Session 2.Beep Volume Numeric, minimum = 0, maximum = 255 [95] S Key Click Frequency (not supported on 59XX) [Session 1].KeyClick Freq Session 2.KeyClick Freq Numeric, minimum = 0, maximum = 30 [13] 17XX and 11XX [6] 6400 S Key Click Length [Session 1].KeyClick Length Session 2.KeyClick Length Numeric, minimum = 1, maximum = 10 [1] 59XX, 17XX, and 11XX [6] 6400 and 5055 S Key Click Volume (59XX) [Session 1].KeyClick Volume Session 2.KeyClick Volume Numeric, minimum = 0, maximum = 255 [95]

More (Main Menu 2) Option S Foreground Session Foreground Sess [Session 1] Session 2 (6400, 5020, 5055, 59XX, 17XX, 11XX, 700 Series) S Set Hot Key (6400, 5020, 5055, 59XX, 17XX, 11XX, 700 Series) [Session 1].Set Hot Key Session 2.Set Hot Key F1 through F24 [Disabled] S Type-Ahead [Session 1].Type-Ahead Session 2.Type-Ahead [Enabled] Disabled TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

205

Page 230

Chapter 5, Customizing Your Configuration

Additional Parameters The following parameters do not have equivalent TE configuration menu options. S Alternate Screen Columns (6400, 5055, 17XX) [Session 1].Alt Screen Cols Session 2.Alt Screen Cols Numeric, minimum = 1, maximum = 255 [17] 17XX [40] 5055 [16] 6400 S Alternate Screen Rows (6400, 5055, 17XX) [Session 1].Alt Screen Rows Session 2.Alt Screen Rows Numeric, minimum = 1, maximum = 255 [8] 17XX [12] 5055 [16] 6400 wide display S Double Byte Character Set (DBCS) Code (59XX) [Session 1].DBCS Code Session 2.DBCS Code Numeric, minimum = 0, maximum = 16 [0] S Key Repeat (59XX) [Session 1].Key Repeat Session 2.Key Repeat Enabled [Disabled] S Program Name (appears on initialization and version screens) Program Name String, minimum length = 8, maximum length = 8 [FWP???H?] S Program Version (appears on initialization and version screens) Program Version String, minimum length = 4, maximum length = 4 [?.??] S Return Result (this is a test feature for VT/ANSI emulation; if disabled, extended commands (for #K only) will not return a result to the host application) Return Result [Enabled] Disabled S Set-Up Parms Menu Password [Session 1].Password Session 2.Password String, minimum length = 1, maximum length = 10 [CR52401]

206

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

Page 231

Chapter 5, Customizing Your Configuration

Changing Text Modify CFGLIT.DAT to change the text of TE configuration menus, configuration parameters, or system messages. This file contains the strings that appear in the configuration menus, parameter set-up files, and system messages. An identification (ID) number identifies each literal string. To create your own literal file, you create a text file that associates these numbers with the actual literal strings. You then use MAKELIT.EXE to convert the text file to a format the configuration program can use. Each line in the literal text file begins with the literal ID number. After the ID number, you type the quoted string that is used when that ID number is referenced. If you omit an ID number, its string appears as “Bad Literal File” when you run the program in the terminal. Literal ID numbers are available upon request from Intermec. Contact your Intermec representative for more information about ID numbers. You can create a sample file containing the default literal strings using MAKELIT.EXE to “reverse engineer” the standard CFGLIT.DAT file. To do this, type the following command line to unpack CFGLIT.DAT into a CFGLIT.TXT text file: makelit -r cfglit.dat cfglit.txt

The CFGLIT.TXT file this command creates contains all the default strings the configuration program uses. One line in CFGLIT.TXT looks like this: 0x2f10 “RS232 PORT\nIN USE\n\nPLEASE WAIT!”

“0x2f10” is the literal ID number for the RS-232 port-in-use message that appears when a personal computer sends an RS-232 command to the TE program. The message text follows the ID number in a quoted string. The embedded “\n” sequence within the quoted string indicates a “new line” character and outputs a carriage return/line feed. To change the text of the message that appears, change the quoted string. For example, change the above line to look like this: 0x2f10 “Printing\nPlease Wait!”

When you have a text file with one line for every ID number, use MAKELIT.EXE to convert the file to an indexed literal file. If your text file is named CFGLIT.TXT, you would type the following command which creates the new literal CFGLIT.DAT file. For instructions on how to download the file, see “Downloading Files” on page 217. makelit cfglit.txt cfglit.dat

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

207

Page 232

Chapter 5, Customizing Your Configuration

Preinitializing the VT/ANSI TE Program You can preinitialize the VT/ANSI TE program. You must name the VT/ ANSI initialization file as VT220.INI. The file is processed when you reset or warm start the terminal. The file is processed as if the radio had received the data, and must be in the “on-air” format. For instructions on how to download the file, see “Downloading Files” on page 217. Data is encoded in binary format. To create VT220.INI, you may need a HEX editor or other special program. VT220.INI starts with a single byte that the terminal ignores. This byte should always be 0 (zero). The remainder of the file contains standard VT/ ANSI terminal escape sequences. The following example shows how to display “HELLO WORLD” and beep the beeper from within a data stream initialization file. The line of hexadecimal digits represent the binary values that must be stored in the initialization files. 00 07 48 45 4c 4c 4f 20 57 4f 52 4c 44 H E L L O WOR L D

FIrst byte is discarded, should be zero Bell character

208

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

Page 233

Chapter 5, Customizing Your Configuration

Remapping the Terminal’s Keys You may need to remap the terminal’s keys if your users need to press a key in VT/ANSI TE that is not on a standard 101-key keyboard. You can also remap a terminal key to transmit a text string or message to the personal computer. To remap the terminal keys, you create the REMAP.CFG file and add a Remap command to remap a terminal key. You can remap a single key or a two-key sequence. You can add a Remap command or create a macro in the REMAP.CFG file that remaps a single key or a two-key sequence. You can remap any terminal key or two-key sequence that does not perform a specific function on the terminal. For example, you can remap the [B] key because it only types the lowercase letter B. Note: On the 2425, 2455, 2475, and 248X, you cannot remap the twokey sequence ) [ because it moves the window/viewport up on the Trakker Antares Terminals. Each terminal key or two-key sequence generates a 4-digit hexadecimal remap code as listed in the “Key Code” table starting on page 211. The key code table gives the 4-digit hexadecimal codes for ASCII characters for the terminals. These codes identify the key or keys pressed. For example: Key

Action

4-Digit Hex Key Code

[B]

Types a lowercase B

0062

[SHIFT] [B]

Types an uppercase B

0042

Remapping a Key or Two-Key Sequence Note: For terminals made before 1997, refer to the “Using FLSHCONV” section for the proper -e parameter value. 1 Choose the key or two-key sequence to remap and determine the current 4-digit hexadecimal code of the keys and the code you will enter to remap the keys. For help, see the “Key Code” table on the next page. 2 Connect the terminal to your personal computer. 3 Using any text editor, enter the keys you want remapped on individual lines in this format: remap=<key>=”string” or remap=<key>=<key>

S remap is the command you enter in REMAP.CFG. S key is the 4-digit hexadecimal key or keys to which or from which you are remapping. S string is the new function for the key or keys, which can be a text string, ASCII mnemonic, or another 2-byte hexadecimal code. Enclose the entire string in quotation marks. If ”<” is desired in the string, then precede it with another “<” like the following. remap=<xxxx>=“a less-than sign is a <<”

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

209

Page 234

Chapter 5, Customizing Your Configuration

4 Save the new file as REMAP.CFG. 5 Download REMAP.CFG to drive C: on your terminal.

Example 1 Suppose you want to remap “+” on your terminal to send a message and then enter a carriage return. In the REMAP.CFG file, add the following command: remap=<002b>=“My battery is low.<CR>”

Example 2 To remap the function of the function keys to another key, replace string with the transmitted code for the function and replace key with the 4-digit hexadecimal key that will do the function. For example, to remap the [F6] function to the “B” key, add the remap=<0042>=“<ESC>[17~” command to the REMAP.CFG file.

Example 3 This is an example of multiple hexadecimal codes in the right-most argument which makes a key into a text sequence with embedded EHLLAPI values for the [F4] and [F5] keys. remap=<xxxx>=“EHLLAPI value 1<1034>EHLLAPI value 2<1035>END”

Creating a Macro 1 Using any text editor, add the macro=<key>=“string” Macro command to the end of the REMAP.CFG file, where: S macro is the command you enter in REMAP.CFG. S key is the 4-digit hexadecimal key or keys you are remapping. S string is the new action for the key or keys. The string can be a text string, ASCII mnemonic, or another 2-byte hexadecimal code. Enclose the entire string in quotation marks. 2 At the end of the macro, type runmacro=<key> where key is the 4-digit hexadecimal code that identifies the key or keys that activate the macro. 3 Save the file name as REMAP.CFG for the macros to work. 4 Append the new remap to the original hex file using one of the following commands. Replace ??? with your type of terminal: S 59XX Terminals FLSHCONV -a –eE000 FWP59??H0.HEX REMAP.CFG –oNEW.HEX

S 17XX, 11XX Terminals FLSHCONV -a –eFFC0 FWP1???H0.HEX REMAP.CFG –oNEW.HEX

5 Download REMAP.CFG to drive C on your terminal.

Example You can assign “+” to activate a macro that remaps [B] to send the message, “Change the battery pack now.” In the REMAP.CFG file, add this command: remap=<002b>=“Change the battery pack now.<CR>”

210

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

Page 235

Chapter 5, Customizing Your Configuration

Nesting Macros do not nest. The right-most argument is processed as key strokes and not scanned for macro values. For example: // swap “3” and “5” keys remap=<0033>=“5” // map “3” key to a “5” key remap=<0035>=“3” // map “5” key to a “3” key

The “3” key will produce a “5” key. If nesting was allowed, the “5” key would be recognized as a macro that produces the “3” key and the “3” key would be recognized as a “5” key that produces the “7” key, and so forth.

Key Code Table Note: Values that are not listed here may work but are not supported. remap=<0001>=“string” /*CTRL A*/ remap=<0002>=“string” /*CTRL B*/ remap=<0003>=“string” /*CTRL C*/ remap=<0004>=“string” /*CTRL D*/ remap=<0005>=“string” /*CTRL E*/ remap=<0006>=“string” /*CTRL F*/ remap=<0007>=“string” /*CTRL G*/ remap=<0008>=“string” /*CTRL H or Backspace key*/ remap=<0009>=“string” /*CTRL I or Tab key*/ remap=<000A>=“string” /*CTRL J*/ remap=<000B>=“string” /*CTRL K*/ remap=<000C>=“string” /*CTRL L*/ remap=<000D>=“string” /*CTRL M*/ remap=<000E>=“string” /*CTRL N*/ remap=<000F>=“string” /*CTRL O*/ remap=<0011>=“string” /*CTRL P*/ remap=<0012>=“string” /*CTRL Q*/ remap=<0013>=“string” /*CTRL R*/ remap=<0014>=“string” /*CTRL S*/ remap=<0015>=“string” /*CTRL T*/ remap=<0016>=“string” /*CTRL U*/ remap=<0017>=“string” /*CTRL V*/ remap=<0018>=“string” /*CTRL W*/ remap=<0019>=“string” /*CTRL X*/ remap=<001A>=“string” /*CTRL Y*/ remap=<001B>=“string” /*CTRL Z*/ remap=<0020>=“string” remap=<0021>=“string” remap=<0022>=“string” remap=<0023>=“string” remap=<0024>=“string” remap=<0025>=“string” remap=<0026>=“string” remap=<0027>=“string” remap=<0028>=“string”

/* SPACE key */ /* ! key */ /* ” key */ /* # key */ /* $ key */ /* % key */ /* & key */ /* ’ key */ /* ( key */

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

211

Page 236

Chapter 5, Customizing Your Configuration

212 remap=<0029>=“string” remap=<002a>=“string” remap=<002b>=“string” remap=<002c>=“string” remap=<002d>=“string” remap=<002e>=“string” remap=<002f>=“string”

/* ) key */ /* * key */ /* + key */ /* , key */ /* - key */ /* . key */ /* / key */ remap=<0030>=“string” remap=<0031>=“string” remap=<0032>=“string” remap=<0033>=“string” remap=<0034>=“string” remap=<0035>=“string” remap=<0036>=“string” remap=<0037>=“string” remap=<0038>=“string” remap=<0039>=“string”

/* 0 key*/ /* 1 key*/ /* 2 key*/ /* 3 key*/ /* 4 key*/ /* 5 key*/ /* 6 key*/ /* 7 key*/ /* 8 key*/ /* 9 key*/ remap=<003a>=“string” remap=<003b>=“string” remap=<003c>=“string” remap=<003d>=“string” remap=<003e>=“string” remap=<003f>=“string” remap=<0040>=“string”

/* : key */ /* ; key */ /* < key */ /* = key */ /* > key */ /* ? key */ /* @ key */ remap=<0041>=“string” remap=<0042>=“string” remap=<0043>=“string” remap=<0044>=“string” remap=<0045>=“string” remap=<0046>=“string” remap=<0047>=“string” remap=<0048>=“string” remap=<0049>=“string” remap=<004a>=“string” remap=<004b>=“string” remap=<004c>=“string” remap=<004d>=“string” remap=<004e>=“string” remap=<004f>=“string” remap=<0050>=“string” remap=<0051>=“string” remap=<0052>=“string” remap=<0053>=“string” remap=<0054>=“string” remap=<0055>=“string” remap=<0056>=“string” remap=<0057>=“string” remap=<0058>=“string”

/* A key*/ /* B key*/ /* C key*/ /* D key*/ /* E key*/ /* F key*/ /* G key*/ /* H key*/ /* I key*/ /* J key*/ /* K key*/ /* L key*/ /* M key*/ /* N key*/ /* O key*/ /* P key*/ /* Q key*/ /* R key*/ /* S key*/ /* T key*/ /* U key*/ /* V key*/ /* W key*/ /* X key*/

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide