The text of a manual · part 19 of 28
TE 2000 3270 Terminal Emulation Programmer's Guide: Section 5: Customizing Your Configuration, pages 153 to 160
Pages 153 to 160 of 240, from TE 2000 3270 Terminal Emulation Programmer's Guide
The original document is the PDF (4.2 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 6400
Page 153
SECTION 5
Customizing Your Configuration
0x60 0x2D 0x00 0x00 0x00
0x2F 0x00 0x00 0x60
0x00 0x7C 0x00 0x3A
0x00 0x2C 0x00 0x23
0x00 0x25 0x00 0x40
0x00 0x5F 0x00 0x27
0x00 0x3E 0x00 0x3D
0x00 0x3F 0x00 0x22
0x80 0x00 0x68 0x00 0x71
0x61 0x69 0x6A 0x72
0x62 0x00 0x6B 0x00
0x63 0xc2 0x6C 0x00
0x64 0xc1 0x6D 0x00
0x65 0xc3 0x6E 0xb4
0x66 0xc5 0x6F 0x00
0x67 0x00 0x70 0x00
0xa0 0x00 0x79 0x00 0x00
0x7E 0x7A 0x00 0x00
0x73 0x00 0x00 0x00
0x74 0xc0 0x00 0xd9
0x75 0xda 0x00 0xbf
0x76 0xb3 0x00 0x00
0x77 0x00 0x00 0x00
0x78 0x00 0x00 0xc4
0xc0 0x7B 0x48 0x7D 0x51
0x41 0x49 0x4A 0x52
0x42 0x00 0x4B 0x00
0x43 0x00 0x4C 0x00
0x44 0x00 0x4D 0x00
0x45 0x00 0x4E 0x00
0x46 0x00 0x4F 0x00
0x47 0x00 0x50 0x00
0xe0 0x5c 0x59 0x30 0x38
0x00 0x5A 0x31 0x39
0x53 0x00 0x32 0x00
0x54 0x00 0x33 0x00
0x55 0x00 0x34 x00
0x56 0x00 0x35 0x00
0x57 0x00 0x36 0x00
0x58 0x00 0x37 0x00
Examples "
"
"
EXAMPLE 1:
The first example remaps three characters. It applies only to the 2415, 2425, 2435A, 2455, or 248X Terminal. It does not apply to the 6400, 5020, 5055, 59XX, 17XX, or 11XX Terminal because U.S. English values are correct in these terminals. The second example applies to the 2415, 2425, 2435A, 2455, or 248X Terminal. This example remaps 14 characters appropriate to U.S. English to 14 characters more appropriate to Austrian/German. The third example applies to the 6400, 5020, 5055, 59XX, 17XX, or 11XX Terminal. This example also remaps 14 characters appropriate to U.S. English to 14 characters more appropriate to Austrian/German.
ASCII hexadecimal file 3270.XLT remaps 3 characters 0x9B 0xBD 0x0E 0x7C 0x7C 0xDD EBCDIC Hex Value
Original to be Replaced
Replacement for Display
4A 4F 7C
ø
¢ | ¶
|
TE 2000t 3270 Terminal Emulation Programmer’s Guide
5-41
Page 154
SECTION 5
Customizing Your Configuration
EXAMPLE 2:
ASCII hexadecimal file 3270.XLT remaps for German (2415, 2425, 2435A, 2455, 284X Terminals) 0x9B 0x8E 0x0E 0x21 0x21 0x9A 0x24 0x24 0xAA 0x5E 0x7C 0x94 0x60 0x60 0x23 0x23 0x40 0xF5 0x22 0x22 0x7E 0xE1 0x7B 0x84 0x7D 0x81 0x5C 0x99 EBCDIC Hex Value 4A 4F 5A 5B 5F 6A 79 7B 7C 7F A1 C0 D0 E0
5-42
Original to be Replaced ¢ | ! $ ¬
¶ ` # @
~ { } \
TE 2000t 3270 Terminal Emulation Programmer’s Guide
Replacement for Display Ä ! Ü $ ^ ö ` # § b ä ü Ö
Page 155
SECTION 5
EXAMPLE 3:
Customizing Your Configuration
ASCII hexadecimal file 5250.XLT remaps for German (6400, 5020, 5055, 59XX, 17XX, 11XX Terminals) 0x9B 0x8E 0x0E 0x21 0x21 0x9A 0x24 0x24 0xAA 0x5E 0x7C 0x94 0x60 0x60 0x23 0x23 0x40 0x15 0x22 0x22 0x7E 0xE1 0x7B 0x84 0x7D 0x81 0x5C 0x99 EBCDIC Hex Value 4A 4F 5A 5B 5F 6A 79 7B 7C 7F A1 C0 D0 E0
Original to be Replaced ¢ | ! $ ¬
¶ ` # @
~ { } \
Replacement for Display Ä ! Ü $ ^ ö ` # § b ä ü Ö
Downloading Files 2415, 2425, 2435A, 2455, or 248X Terminal You can use one of several methods to download a file to a 2415, 2425, 2435A, 2455, or 248X Terminal, including the following. See your terminal’s user manual for help in using these methods. "
"
"
"
LOADER.EXE file loader utility. Note that using this utility will automatically restart the TE 2000 application. T24FCOPY.EXE through a serial connection from your Trakker Antares terminal to your personal computer. The Download Server feature on the DCS 300 to a Trakker Antares terminal loaded with UDP Plus The TFTP application on a personal computer or host to a Trakker Antares terminal loaded with TCP/IP
TE 2000t 3270 Terminal Emulation Programmer’s Guide
5-43
Page 156
Customizing Your Configuration
SECTION 5
To restart your TE application, do one of the following: "
Scan this bar code label: Reset Firmware
*/M.* *--.*
You can also send the Reset Firmware command over the network. For help, refer to your terminal’s user manual. 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 terminal, it boots and restarts your application. For more information, refer to your terminal’s user manual. " Access the TRAKKER Antares 2400 Menu System and select the TE application through the File Manager option. For help, refer to your terminal’s user manual. The Trakker Antares terminal restarts your TE application using the configuration saved in CONFIG.DAT. "
5020 Data Collection PC From your web browser, use the ftp://<IP address> URL to download files.
6400 Computer or 5055 Data Collection PC 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 Data Collection 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 Data Collection PC. INTERLNK and INTERSVR are provided with DOS and shipped with your 6400 or 5055 toolkit. For complete installation instructions, refer to the README.TXT file provided with 6400 Computers and 5055 Data Collection PCs.
Reprogramming Flash Memory
Flash upgrades can be ordered on diskette from Intermec (contact an account representative for the media), or downloaded from the Intermec Bulletin Board System (see Before You Begin). Read all of the instructions before proceeding. " NOTE:
5-44
Keep the 6400 Computer or 5055 PC on charge while performing any setup, reprogramming, or reflashing.
TE 2000t 3270 Terminal Emulation Programmer’s Guide
Page 157
SECTION 5
Customizing Your Configuration
Prerequisites for INTERLNK Flash Update "
" "
"
"
A working 6400 Computer or 5055 PC to do this procedure(if the flash is corrupted, perform a serial master mode boot). A RAM drive (D:) of at least 960 KB. A disk file contains the flash archive, 50BDXXXX.EXE. The last four numbers indicate the flash version (0129 indicates flash version 1.29). 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. 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. The following 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 the files are extracted.
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 on-line 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]. TE 2000t 3270 Terminal Emulation Programmer’s Guide
5-45
Page 158
Customizing Your Configuration
SECTION 5
59XX, 17XX, or 11XX Terminal For a 59XX, a 17XX, or an 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
Converting Files From ASCII To Binary Use this command line to convert an ASCII parameter file into binary format before downloading it to a terminal: checkcfg <input config file>cfglit.dat <output config file> " "
<input config file> is the name of your ASCII text parameter file <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
Use this command line to convert a binary parameter file back into its ASCII equivalent: checkcfg -r <config file> cfglit.dat <output file> " " "
<config file> is the name of your binary parameter file CFGLIT.DAT is the name of your terminal literal file <output file> is the file name 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 a 59XX, a 17XX, or an 11XX Terminal. FLSHCONV can do the following: Locate .EXE programs and append them for download in an Intel-hex file " Append data and configuration files to an existing Intel-hex file (FLSHCONV cannot locate and append .EXE programs to existing hex file) To display the program version number and a short message that lists command line formats, type: flshconv "
5-46
TE 2000t 3270 Terminal Emulation Programmer’s Guide
Page 159
SECTION 5
Customizing Your Configuration
These are FLSHCONV command line options, where <hexnum> represents a hexadecimal segment address and <number> represents a decimal number. –f<hexnum> <hexnum> is the starting address of Flash memory for the terminal. Default: 8000 (absolute address 0x80000). –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. –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). –o<filename> <filename> is the Intel-hex output file name. –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. –a This option tells FLSHCONV to append data files to an existing Intel-hex 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 11XX, 512K Flash 17XX, 512K Flash 5928--5948, 384K Flash
--f8000 --f8000 --f8000 --f9000
--eC000 --eFFC0 --eFFC0 --eE000
--d60 --d60 --d60 --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: 1700BIOS.EXE 1700 Bios program KERNEL.EXE Intermec multitasking services FWP170H0.EXE 17XX 3270 TE program NORAND.FNT Display character font file. This may be the standard font file or a customized user replacement. 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 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 TE 2000t 3270 Terminal Emulation Programmer’s Guide
5-47
Page 160
Customizing Your Configuration
SECTION 5
Appending Data Files To Intel-Hex Files
In the previous 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 -o1700exes.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.fnt cfglit.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 3270eml.key 3270eml.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.
Downloading a Hex File
To download a .HEX file to a 59XX, a 17XX, or an 11XX, you need the following: " " "
"
" NOTE:
PROGDUX.EXE (provided with the terminal’s Flash) Personal computer INTERMEC 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) 59XX, 17XX, or 11XX Terminal
You can also download files via the terminal’s dock. For instructions, see the dock’s user manual.
To download a .HEX file: 1. Ensure the terminal is powered ON. 2. Ensure PROGDUX.EXE is loaded on the personal computer. 3. Use cable P/N: 216-806-001 to connect the 11XX or 17XX Terminal to the personal computer. Use cable P/N: 216-831-001 to connect the 59XX Terminal to the personal computer. For help, refer to the terminal’s user manual. Note that power is not required for download. 4. Power the terminal off. 5. 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. 6. At the DOS prompt, type: progdux -? to display a list of command line options. 7. 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 will boot the terminal into the TE application. If communications is interrupted, PROGDUX.EXE will send out a negative acknowledgement (NAK) and reset itself to try sending again. No interaction is required except to restore communications. 5-48
TE 2000t 3270 Terminal Emulation Programmer’s Guide