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

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

Pages 284 to 292 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 284

Chapter 5, Customizing Your Configuration remap=<3065>=“string” /* Previous screen key */ remap=<3066>=“string” /* Next screen key */ remap=<3067>=“string” remap=<3068>=“string” remap=<3069>=“string” remap=<306a>=“string” remap=<306b>=“string” remap=<306c>=“string” remap=<306d>=“string” remap=<306e>=“string” remap=<306f>=“string” remap=<3070>=“string” remap=<3071>=“string” remap=<3072>=“string” remap=<3073>=“string”

/* Keypad key */ /* Keypad Enter key */ /* Keypad 0 key */ /* Keypad 1 key */ /* Keypad 2 key*/ /* Keypad 3 key*/ /* Keypad 4 key*/ /* Keypad 5 key*/ /* Keypad 6 key*/ /* Keypad 7 key*/ /* Keypad 8 key*/ /* Keypad 9 key*/ /* Keypad . key*/ remap=<3075>=“string” /* Page left key */ remap=<3076>=“string” /* Page right key */ remap=<3077>=“string” /* Keypad - key*/ remap=<3078>=“string” /* Keypad + key*/

Remapping Characters You can use display character translation files to remap characters as they are written to the display. The translation file name for TE 2000 VT/ANSI terminal emulation must be VT220.XLT. For instructions on how to download the file to the terminal, see “Downloading Files” on page 263. Display character translation files are binary files consisting of ordered pairs of eight bit values. Each pair of values remaps a displayable character to a different displayable character. S The first byte of a pair is the ASCII value of the character to replace. S The second byte of a pair is the ASCII value that replaces the first. These translations are only made when a character is written to a display device. If the character is sent to the host (such as keystroke or scan data) or sent to an external device (such as a printer), it is sent as the original, untranslated value. Suppose you want a terminal running VT/ANSI emulation to replace the uppercase B with the Greek letter beta, and replace the uppercase Z with the Greek letter omega. Create a file named VT220.XLT that is four bytes long (two ordered pairs of two bytes each). The file should contain the 0x42, 0xE1, 0x5A, and 0xEA bytes in this order. These represent the ASCII display character set values for B, beta, Z, and omega, respectively.

260

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

Page 285

Chapter 5, Customizing Your Configuration

Implementing ITCCOLOR.DAT Attribute Colors Note: The ITCCOLOR.DAT attribute colors were implemented for WalMart Stores Incorporated. These changes are in place for 5055 Data Collection PCs, 700 Series Computers, and CV60 Vehicle Mount Computers. The registry keys for Text and Back are still in place for these terminals. You must name the file ITCCOLOR.DAT and you may place this where the other TE 2000 configuration files are placed for discovery by the TE 2000 application. The two registry keys for the default foreground (Text) and background colors are still used and are set before the color file is read from the following keys: HKEY_LOCAL_MACHINE\SOFTWARE\Intermec\TE2000\BackGroundColor HKEY_LOCAL_MACHINE\SOFTWARE\Intermec\TE2000\ForeGroundColor

Both keys must exist or the default colors of black background and white text is used. The color file contains lines defining the color Index and the Color for eight normal foreground (Text) and background (Back) color pairs and eight inverse color pairs for a total of 32 colors. Each line is a maximum of 80 characters. A line can be empty, have leading spaces, have a comment indicated by a semicolon character, have a pair of values (color Index and Color). All characters from a semicolon to the end of the line are ignored. A line is terminated by a carriage return, line feed character, or both. Invalid lines are ignored. You may define all, none, or any of the colors in the file and in any order. The file may exist or not. The normal Text colors are defaulted to black and the Inverse Text color is defaulted to black. If an Index-Color is not defined or the file does not exist, default colors are used. The color Index is a decimal value of 0 through 31. It specifies the character attributes associated with Color. The index values are documented in the sample ITCCOLOR.DAT file on the next page. Color is a 32-bit hex value used to specify an RGB color (0x00bbggrr). In RGB format, the low-order (rr) byte contains a value for the relative intensity of red; the second byte (gg)contains a value for green; and the third byte (bb) contains a value for blue. The high-order byte must be zero. The maximum value for a single byte is 0xFF.

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

261

Page 286

Chapter 5, Customizing Your Configuration

Example This is a sample color file: Column 1 2 3 4 5 6 7 1234567890123456789012345678901234567890123456789012345678901234567890 ====================================================================== ; comment ; Normal 00 0x00000000 ;Text 01 0x007f7f7f ;Back 02 0x000000ff ;Text Bold 03 0x007f7f00 ;Back Bold 04 0x0000ff00 ;Text Blink 05 0x007f007f ;Back Blink 06 0x0000ffff ;Text Bold Blink 07 0x007f0000 ;Back Bold Blink 08 0x00ff0000 ;Text Underline 09 0x00007f7f ;Back Underline 10 0x00ff00ff ;Text Bold Underline 11 0x00007f00 ;Back Bold Underline 12 0x00ffff00 ;Text Blink Underline 13 0x0000007f ;Back Blink Underline 14 0x00ffffff ;Text Bold Blink Underline 15 0x00000000 ;Back Bold Blink Underline ; Inverse 16 0x00000000 17 0x00ffffff 18 0x0000007f 19 0x00ffff00 20 0x00007f00 21 0x00ff00ff 22 0x00007f7f 23 0x00ff0000 24 0x007f0000 25 0x0000ffff 26 0x007f007f 27 0x0000ff00 28 0x007f7f00 29 0x000000ff 30 0x007f7f7f 31 0x007ffff7

262

;Text ;Back ;Text ;Back ;Text ;Back ;Text ;Back ;Text ;Back ;Text ;Back ;Text ;Back ;Text ;Back

Bold Bold Blink Blink Bold Blink Bold Blink Underline Underline Bold Underline Bold Underline Blink Underline Blink Underline Bold Blink Underline Bold Blink Underline

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

Page 287

Chapter 5, Customizing Your Configuration

Downloading Files 2415, 2425, 2435A, 2455, 2475, 248X Terminals You can use one of several methods to download a file to a 2415, 2425, 2435A, 2455, 2475, or 248X Terminal, including: S LOADER.EXE file loader utility. Note that using this utility automatically restarts the TE 2000 application. S T24FCOPY.EXE through a serial connection from your Trakker Antares terminal to your personal computer S The Download Server feature on the Intermec Application Server to a Trakker Antares terminal loaded with UDP Plus S A TFTP application on a personal computer or host to a Trakker Antares terminal loaded with TCP/IP To use these methods, refer to your terminal’s user manual for help. To restart your TE application, do one of the following: S Scan the following bar code label. You can also send the Reset Firmware command over the network. For help, refer to your terminal’s user manual. Reset Firmware

*/M.* *-.*

S Use the Trakker Antares 2400 Menu System to configure the Resume Execution command to resume “not allowed.” Choose Terminal Menu from the Configuration Menu and then choose Power Management. Each time you press œ to turn on the Trakker Antares terminal, it boots and restarts your application. See the terminal’s user manual. S Access the Trakker Antares 2400 Menu System and select the TE application through the File Manager option. For help, see your terminal’s user manual. The Trakker Antares terminal restarts your TE application using the configuration saved in CONFIG.DAT.

5020, 700 Series, CK30, CK31, CV60 Terminals From your web browser, use the ftp://<IP address> URL to download files. For the 700 Series Computer, use the Microsoft ActiveSync application like described on page 204.

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

263

Page 288

Chapter 5, Customizing Your Configuration

6400, 5055 Terminals Before you can download a file to a 6400 Computer or 5055 Data Collection PC, configure INTERLNK on a desktop or laptop PC. INTERLNK, part of MS-DOS, is a device driver that connects your 6400 Computer or 5055 PC and personal computer through their serial ports. This connection enables you to exchange files. It also enables you to edit the 6400 or 5055 configuration files, such as CONFIG.DAT. INTERSVR is the INTERLNK server and is a communications option on your 6400 Computer or 5055 PC. INTERLNK and INTERSVR are provided with DOS and shipped with your 6400 or 5055 or toolkit. For complete installation instructions, refer to the README.TXT file provided with 6400 Computers and 5055 PCs.

Reprogramming Flash Memory You can order Flash upgrades on a diskette from Intermec (contact a representative), or download the Flash upgrade from the Intermec Knowledge Central (see Before You Begin). Read all instructions before proceeding. Note: Keep terminals on charge when setting up, reprogramming, or reflashing.

Prerequisites for INTERLNK Flash Update S A working 6400 Computer or 5055 PC to do this procedure (if the flash is corrupted, perform a serial master mode boot). S A RAM drive (D:) of at least 960 KB. S A disk file contains the flash archive, 50BDXXXX.EXE. The last four numbers indicate the flash version (0129 indicates flash version 1.29). S A standard host PC for connecting to the 6400 Computer or 5055 PC. INTERLNK.EXE must be loaded by the CONFIG.SYS file. For more detailed information on running INTERLNK, refer to a DOS manual. S A NULL modem cable to connect the host PC’s communications port to the 6400 Computer or 5055 PC with a single dock or communication adapter.

INTERLNK Installation Use the following instructions if you have a version of flash that includes INTERSVR as a possible Comm option on your 6400 Computer or 5055 PC. If you do not have INTERSVR, you must update the flash using a serial master mode boot. These instructions assume that you have placed all files from the self-extracting archive in a directory (on your host personal computer) called C:\PENKEY\FLASH. If you choose to place these files in a different location, adjust the instructions accordingly. Note: Delete the self-extracting file from this directory once files are extracted.

264

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

Page 289

Chapter 5, Customizing Your Configuration

Your host personal computer must be running INTERLNK, which is part of MS-DOS. Load INTERLNK as a device driver in your CONFIG.SYS file, using the following statement, at the end of the CONFIG.SYS file (after any other statement that creates a drive letter): DEVICE=C:\DOS\INTERLNK.EXE /DRIVES:3

The previous statement assumes that MS-DOS is located in the host PC C:\DOS directory. The /DRIVES: 3 parameter allows mapping of three drives from the 6400 Computer or 5055 PC.

INTERLNK and INTERSVR INTERLNK is a device driver that interconnects a 6400 Computer or 5055 PC and a host personal computer through serial ports. INTERSVR is the INTERLNK server, a communication option in the Norand Utilities program. These two resources are provided with ROM DOS 6.22 and are shipped with the 6400 Computer or 5055 PC toolkit. A standard null modem cable connects the personal computer to the 6400 Computer or 5055 PC. A TTY TCOM cable also works. A dock is needed for the 6400 Computer or 5055 PC or a communication adapter that plugs onto the bottom end of the terminal. INTERLNK causes the 6400 Computer or 5055 PC drives to appear as virtual drives on the host personal computer, with drive letters immediately beyond the highest drive letter currently used on the host personal computer. Typing “INTERLNK” from the host personal computer command line displays the designations of the redirected drives. For details of INTERLNK and INTERSVR topics, refer to the DOS online help text. INTERLNK is installed on a host PC, using the following statement in the CONFIG.SYS file: device=c:\dos\interlnk.exe /drives:4

After installation, you can copy the application files to the 6400 Computer or 5055 PC. To terminate INTERSVR, press [ALT] + [F4].

59XX, 17XX, 11XX Terminals For a 59XX, 17XX, or 11XX Terminal, use utility program CHECKCFG.EXE to verify the correctness of your configuration.

Using CHECKCFG to Compile and Decompile Custom Configurations CHECKCFG reads your configuration and literal files, and reports any syntax errors. It also converts your data files to the proper format for the TE program. The ASCII text of the configuration file converts to a compressed binary format to save space in the terminal. CHECKCFG can reverse the operation by converting a binary file into its ASCII source. CHECKCFG can also list set-up parameters, their types, and their allowable values. To display the program version number and a short message that lists the different command line formats for the program, type checkcfg TE 2000™ VT/ANSI Terminal Emulation Programmer’s Guide

265

Page 290

Chapter 5, Customizing Your Configuration

Converting Files from ASCII to Binary To convert an ASCII parameter file into binary format before downloading it to a terminal, use the following command line: checkcfg <input config file>cfglit.dat<output config file>

S <input config file> is the name of your ASCII text parameter file S <output config file> is the name of the file that you must append to your TE hex file. The output file must be named CONFIG.DAT.

Converting Files from Binary to ASCII To convert a binary parameter file back into its ASCII equivalent, use the following command line: checkcfg -r <config file> cfglit.dat <output file>

S <config file> is the name of your binary parameter file S CFGLIT.DAT is the name of your terminal literal file S <output file> is the name of the file that will contain the converted ASCII output

Listing Parameters and Values To display a list of all possible setup parameters and their values, use the following command line: checkcfg -p cfglit.dat Note: The output from this command is about seven hundred lines long. You may want to redirect it into another file for viewing.

Using FLSHCONV.EXE to Build Customized HEX Files FLSHCONV.EXE is a utility program that creates Intel-hex files in the proper format for downloading to an 11XX, 17XX, or 59XX Terminal. FLSHCONV can do the following: S Locate and append .EXE programs for download in an Intel-hex file S Append data and configuration files to an existing Intel-hex file (FLSHCONV cannot locate and append .EXE programs to an existing hex file) To display the program version number and a short message that lists command line formats, type: flshconv The following lists FLSHCONV command line options, where <hexnum> represents a hexadecimal segment address and <number> represents a decimal number. S –f<hexnum> <hexnum> is the starting address of Flash memory for the terminal. Default: 8000 (absolute address 0x80000). S –e<hexnum> <hexnum> is the ending address of Flash. If you omit this parameter, FLSHCONV does not report an error if your Flash image is too big. S –d<hexnum> <hexnum> is the starting address of memory space for .EXE programs. Default: 200 (absolute address 0x2000). You should ordinarily use 60 (absolute address 0x600).

266

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

Page 291

Chapter 5, Customizing Your Configuration

S –o<filename> <filename> is the Intel-hex output file name. S –v<number> <number> indicates “verbosity.” Default: 0, meaning no information appears on the standard output device. Intermec recommends a value of 1 to generate a report of where each file is located. You can use higher values, but they may not produce useful information for the end user. S –a This option tells FLSNCONV to append data files to an existing Intelhex file. The hex file must be the first file name on the command line. The following chart lists FLSHCONV command line arguments. Terminal

-f<hexnum>

-e<hexnum>

-d<hexnum>

11XX, 256K Flash

-f8000

-eC000

-d60

11XX, 512K Flash

-f8000

-eFFC0

-d60

17XX, 512K Flash

-f8000

-eFFC0

-d60

5928-5948, 384K Flash

-f9000

-eE000

-d60

Locating and Appending .EXE Files As an example, suppose you are building a customized version of the 17XX Flash program FWP170H0.HEX. As a minimum, you must have the following files: S 1700BIOS.EXE

17XX BIOS program

S KERNEL.EXE

Intermec multitasking services

S FWP170H0.EXE

17XX VT/ANSI TE program

S NORAND.FNT

Display character font file. This may be the standard font file or a customized user replacement.

S CFGLIT.DAT

Terminal literal file. This may be the standard literal file or a customized user replacement.

To bind these files into an Intel-hex file that is ready for download to a 17XX, use this single command line to build a file called NEW.HEX: flshconv -f8000 -effcO -d60 1700bios.exe kernel.exe fwp170h0.exe norand.fnt cfglit.dat -onew.hex

Or, you can create a file that contains each file name on a separate line. Assuming that file was named 1700FILE.LST, use the following command line for the same results: flshconv -f8000 -effc0 -d60 @1700file.lst

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

267

Page 292

Chapter 5, Customizing Your Configuration

Appending Data Files To Intel-Hex Files In the above example, you could have bound the .EXE files together by typing the following (single) command line: flshconv -f8000 -effc0 -d60 1700bios.exe kernel.exe fwp170h0.exe -o1700exe s.hex

You can then customize the 1700EXES.HEX file with different font files and literal files by typing the following (single) command line: flshconv -effc0 -a 1700exes.hex norand.fntcfglit.dat –onewlang.hex

You can provide keyboard translation file pairs to change the default key values. The (single) command line is: flshconv -effc0 -a newlang.hex vt220eml.key vt220eml.xlt -onewkeys.hex

You can specify more than one file pair. For example, you could provide all four file pairs (eight files) to modify the keyboard for each data stream.

Downloading a Hex File Use these to download a .HEX file to 59XX, 17XX, 11XX Terminals: S PROGDUX.EXE (provided with the terminal’s Flash) S Personal computer S INTERMECr cable P/N: 216-806-001, which is a powered Flash cable that plugs into the personal computer’s COM port (note that power is not required for download) To download a .HEX file: 1 Ensure the terminal is powered ON and PROGDUX.EXE is loaded on the personal computer. 2 Use cable P/N: 216-806-001 to connect the 11XX or 17XX Terminal to the PC. Use cable P/N: 216-831-001 to connect the 59XX Terminal to the personal computer. Power the terminal off. For help, refer to the terminal’s user manual. Power is not required for download. 3 To receive the .HEX file, the terminal must be in download mode. To enter this mode, press and hold down the terminal’s [I] key as you power up the terminal. For the 17XX 37-key keyboard, press and hold down the [F1] key as you power up the terminal. 4 At the DOS prompt, type: progdux -? to display a list of command line options. 5 Erase the terminal’s original Flash and download the new .HEX file by typing: progdux -e <newfile> where <newfile> is the name of the .HEX file. A successful download boots the terminal into the TE application. If communications is interrupted, PROGDUX.EXE sends out a negative acknowledgement (NAK) and reset itself to try sending again. No interaction is required except to restore communications.

268

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