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 29 of 47

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

Pages 251 to 258 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 251

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 31 0x00000000

;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

227

Page 252

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 DCS 300 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, 5055 .NET, 700 Series, CK30, 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 179.

228

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

Page 253

Chapter 5, Customizing Your Configuration

6400, 5055 DOS Terminals Before you can download a file to a 6400 Computer or 5055 DOS 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 DOS 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 DOS configuration files, such as CONFIG.DAT. INTERSVR is the INTERLNK server and is a communications option on your 6400 Computer or 5055 DOS PC. INTERLNK and INTERSVR are provided with DOS and shipped with your 6400 or 5055 DOS or toolkit. For complete installation instructions, refer to the README.TXT file provided with 6400 Computers and 5055 DOS 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 DOS 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 DOS 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 DOS 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 DOS 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. TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

229

Page 254

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 DOS PC.

INTERLNK and INTERSVR INTERLNK is a device driver that interconnects a 6400 Computer or 5055 DOS 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 DOS PC toolkit. A standard null modem cable connects the personal computer to the 6400 Computer or 5055 DOS PC. A TTY TCOM cable also works. A dock is needed for the 6400 Computer or 5055 DOS PC or a communication adapter that plugs onto the bottom end of the terminal. INTERLNK causes the 6400 Computer or 5055 DOS 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 DOS 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

230

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

Page 255

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 set up 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

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

231

Page 256

Chapter 5, Customizing Your Configuration

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). 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:

232

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

Page 257

Chapter 5, Customizing Your Configuration

To bind these files into an Intel-hex file that is ready for download to a 17XX, use the following 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

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 of the four data streams.

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide

233

Page 258

Chapter 5, Customizing Your Configuration

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.

234

TE 2000 VT/ANSI Terminal Emulation Programmer’s Guide