The text of a manual · part 21 of 37
Native Terminal Emulation Programmer's Guide: Chapter 4: Customizing Your Configuration, pages 168 to 176
Pages 168 to 176 of 340, from Native Terminal Emulation Programmer's Guide
The original document is the PDF (2.9 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 168
Chapter 4, Customizing Your Configuration
Substituting National Characters This topic tells how to create a file that remaps one character in the terminal’s Terminal Font Set for another character in the set. Use this information to provide characters on the terminal in the local language. Intermec provides a table for converting from characters used in English (U.S.) to German, Danish, Finnish, Italian, Spanish, French, Belgian, and English (UK). The procedure for converting the characters appears first. Then two slightly longer procedures show how to remap any character to another. One procedure describes the steps with the symbol’s EBCDIC value. The other one describes the steps without a value. Finally, examples show the remap files for German characters and a few English symbols. For all procedures, you need the terminal’s Terminal Font Set table. The table lists characters and their decimal and hexadecimal values. For the 2415, 2425, 2435A, 2455, 2475, and 248X Terminals, refer to the terminal’s user manual. For the 5055, 6400, 59XX, 17XX, or 11XX Terminal, see Appendix C, “Terminal Font Set Table.”
Creating the File Follow these steps to create a table that substitutes characters in the local language for characters normally used in U.S. English. 1 Find the character to replace in the “National Replacement Character Set” table on page 149. 2 Locate the character needed from the terminal’s font set. 3 Create the NATIVE.XLT file. 4 Put the default value of the font character (found in step 1) as the first byte in the file. 5 Put the replacement value (found in step 2) as the second byte in the file. 6 Repeat steps 1 through 5 until all replacement characters are complete. 7 Download NATIVE.XLT to your terminal and restart the terminal emulation program for the changes to take effect. For downloading information, see “Downloading Files” on page 151.
148
Native Terminal Emulation Programmer’s Guide
Page 169
Chapter 4, Customizing Your Configuration
National Replacement Character Sets The terminal supports the 7-bit national replacement character (NRC) sets for European languages. The NRC sets are similar to the 7-bit ASCII set, except for a few characters. The following table lists characters in each NRC set that are different from the ASCII set. The terminal does not support “¾” (40 hexadecimal) in the Dutch NRC set. National Replacement Character Set Hexadecimal Character Set
23
40
5B
5C
5D
5E
5F
60
7B
7C
7D
7E
ASCII
#
@
[
\
]
^
_
‘
{
|
}
~
British
£
@
[
\
]
^
_
‘
{
|
}
~
Dutch
£
ÿ
½
|
^
_
‘
¨
ƒ
¼
’
Finnish
#
@
Ä
Ö
Å
Ü
_
é
ä
ö
å
ü
French
£
à
_
ç
§
^
_
‘
é
ù
è
¨
French Canadian
#
à
â
ç
ê
î
_
ô
é
ù
è
û
German
#
§
Ä
Ö
Ü
^
_
‘
ä
ö
ü
ß
Italian
£
§
_
ç
é
^
_
ù
à
ò
è
ì
Norwegian/Danish
#
@
Æ
Ø
Å
^
_
‘
æ
ø
å
~
Portuguese
#
@
Ã
Ç
Õ
^
_
‘
ã
ç
õ
~
Spanish
£
§
¡
Ñ
¿
^
_
‘
‘
_
ñ
ç
Swedish
#
É
Ä
Ö
Å
Ü
_
é
ä
ö
å
ü
Swiss
ù
à
é
ç
ê
î
è
ô
ä
ö
ü
û
Native Terminal Emulation Programmer’s Guide
149
Page 170
Chapter 4, Customizing Your Configuration
Greek National Replacement Character Set (6400, 5055, 59XX, 17XX, 11XX, Terminals) row
0
1
2
3
4
5
6
7
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1 column b8 bits b7 b6 b5 b4 b3 b2 b1
0
0000
00
10
1
0001
01
11
2
0010
02
12
D
30
‘
21
±
31
’
22
2
32
20
³
40
Α
41
Β
42
Π
50
Ρ
51
à
60
Π
70
α
61
ρ
71
52
β
62 j
72
3
0011
03
13
23
β
33
Γ
43
Σ
53
Υ
63
σ
73
4
0100
04
14
24
′
34
∆
44
Τ
54
δ
64
τ
74
5
0101
05
15
25
µ
35
Ε
45
Υ
55
ε
65
υ
75
6
0110
06
16
¦
26
¶
36
Ζ
46
Φ
56 j
66
φ
76
7
0111
07
17
§
27
·
37
Η
47
Χ
57
η
67
χ
77
8
1000
08
18
¨
28
¸
38
Θ
48
Ψ
58
θ
68
Ψ
78
9
1001
09
19
E
29
¹
39
Ι
49
Ω
59
ι
69
ω
79
A
1010
0A
1A
2A
º
3A
Κ
4A
Ϊ
5A
κ
6A
ϊ
7A
B
1011
0B
1B
«
2B
»
3B
Λ
4B
Ϋ
5B
λ
6B
ϋ
7B
C
1100
0C
1C
¬
2C
¼
3C
Μ
4C
Ü
5C m
6C
ü
7C
D
1101
0D
1D
SHΥ
2D
½
3D
Ν
4D
Ý
5D
ν
6D
ý
7D
E
1110
0E
1E
¾
3E
Ξ
4E
Þ
5E
ξ
6E
þ
7E
F
1111
0F
1F
¿
3F
Ο
4F
ι
5F
ο
6F
£
2E, 2F
7F
Example This example remaps three characters. It applies only to the 2415, 2425, 2435A, 2455, 2475, or 248X Terminal. It does not apply to the 6400, 5055, 59XX, 17XX, or 11XX Terminal because U.S. English values are correct in these terminals.
Example ASCII hexadecimal file NATIVE.XLT remaps 3 characters 0x23 0x9C 0x40 0xA0 0x4B 0xF8
150
ASCII Hex Value
Original to be Replaced
Replacement for Display
23
#
£
40
@
Ê
5B
[
∞
Native Terminal Emulation Programmer’s Guide
Page 171
Chapter 4, Customizing Your Configuration
Downloading Files 2415, 2425, 2435A, 2455, 2475, or 248X Terminal 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 will automatically restart 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.
Native Terminal Emulation Programmer’s Guide
151
Page 172
Chapter 4, Customizing Your Configuration
6400, 5055 Terminals Before you can download a file to a 6400 Computer or , 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 Flash upgrades can be ordered on diskette from Intermec (contact a representative), or downloaded 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. 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.
152
Native Terminal Emulation Programmer’s Guide
Page 173
Chapter 4, 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 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].
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
Native Terminal Emulation Programmer’s Guide
153
Page 174
Chapter 4, 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 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).
154
Native Terminal Emulation Programmer’s Guide
Page 175
Chapter 4, 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 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
Native Terminal Emulation Programmer’s Guide
155
Page 176
Chapter 4, 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 of the four data streams.
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 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.
156
Native Terminal Emulation Programmer’s Guide