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 16 of 18

TRAKKER Antares Terminal Emulation User's Guide, pages 151 to 160

Pages 151 to 160 of 176

The original document is the PDF (989 KB). 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, Intermec 2480, Intermec 2486, Intermec 2481 and Intermec 2485

Page 151

Nugg

Commands, Files, and Auto-Login Script Files Co de 39

A

Example 2: Auto-Login With Different User Names and Passwords Input “Enter user name”, username # prompt for user name InputHidden “Enter Password”, password # prompt for password HostName “*” WaitFor “login:”

# Wait for the login prompt

Send username

# Send the user name

Send “<CR>”

# Send a carriage return

WaitFor “Password:”

# Wait for the password prompt

Send password

# Send the users password

Send “<CR>”

# Send a carriage return

In Example 2, the Input and Send commands use input variables. Input commands require a prompt string followed by a comma and a variable name to store the string in. The InputHidden command will display “*” in place of any characters typed by the user. All input commands must be before the first HostName command. The Send command only accepts a single argument; so two sends are required to send the user name and a carriage return. Example 3: Auto-Login to an Application Input “Enter user name”, username # prompt for user name InputHidden “Enter Password”, password # prompt for password HostName “*” WaitFor “login:”

# Wait for the login prompt

Send username

# Send the user name

Send “<CR>”

# Send a carriage return

WaitFor “Password:”

# Wait for the password prompt

Send password

# Send the users password

Send “<CR>”

# Send a carriage return

WaitFor “Main Menu”

# Wait for the main menu

Send “3” Send “<CR>”

# Pick option 3 from the menu

WaitFor “Wip Menu”

# Wait for the work in process menu

Send “1” Send “<CR>”

# Pick option 1 from the menu

Example 3 is a modification to the script file in Example 2. The additional modification allows the user to move automatically to an application after logging in.

A-21

Page 152

TRAKKER Antares Terminal Emulation User’s Guide Nugg Co de 39

Example 4: Auto-Login With Variable Processing Input “Enter user name”, username # prompt for user name InputHidden “Enter Password”, password # prompt for password HostName “BigHost” # Use this portion of the script for BigHost WaitFor “User:”

# Wait for the user prompt

Send username

# Send the user name

Send “<CR>”

# Send a carriage return

WaitFor “Password:”

# Wait for the password prompt

Send password

# Send the users password

Send “<CR>”

# Send a carriage return

HostName “*”

# Match any other host name

WaitFor “login:”

# Wait for the login prompt

Send username

# Send the user name

Send “<CR>”

# Send a carriage return

WaitFor “Password:”

# Wait for the password prompt

Send password

# Send the users password

Send “<CR>”

# Send a carriage return

WaitFor “Main Menu”

# Wait for the main menu

Send “3” Send “<CR>”

# Pick option 3 from the menu

WaitFor “Wip Menu”

# Wait for the work in process menu

Send “1” Send “<CR>”

# Pick option 1 from the menu

In Example 4, a section for the host name BigHost is added to the beginning of the script file. If the user logs into any host other than BigHost, the script file will start at the HostName “*” line. This allows for different processing on each host.

A-22

Page 153

B VT100/220/320 and ANSI Keyboard Remapping

Page 154

This page is a scan with no text; see it in the PDF.

Page 155

VT100/220/320 and ANSI Keyboard Remapping

B

This appendix provides information about VT100/220/320 and ANSI key support and instructions for remapping keys on your TRAKKER Antares terminal. It also lists the TEANT.CFG file.

Understanding VT/ANSI Key Support The tables in this section show how the numeric and special keys on VT keyboards map to the TRAKKER Antares terminal keys when you set the Keypad mode in the Terminal screen. For help configuring Keypad mode, see “Configuring VT/ANSI Terminal Emulation Parameters” in Chapter 3.

VT100 Terminals This table shows what code is transmitted to the host when you press the numeric or special keys on a VT100 numeric keypad and a TRAKKER Antares keyboard or keypad. The transmitted code depends on if the Keypad mode is set to Numeric or Application mode. Note: The key sequences listed in the next table are for all TRAKKER Antares terminals unless otherwise specified. VT100 Numeric Keypad Key 0 1 2 3 4 5 6 7 8 9 - (minus) , (comma) . (period)

TRAKKER Antares Key (Numeric Keypad Mode On)

-

' (T2425, T2455) / (T248X) 5 (T2425, T2455) 4 (T248X) 6 (T2425, T2455) ( (T248X)

Numeric Mode Transmitted Code

Application Mode Transmitted Code

0

Esc O p

1

Esc O q

2

Esc O r

3

Esc O s

4

Esc O t

5

Esc O u

6

Esc O v

7

Esc O w

8

Esc O x

9

Esc O y

- (minus)

Esc O m

, (comma)

Esc O l

. (period)

Esc O n

B-3

Page 156

TRAKKER Antares Terminal Emulation User’s Guide

VT100 Numeric Keypad Codes (continued) VT100 Numeric Keypad Key

TRAKKER Antares Key (Numeric Keypad Mode On)

Numeric Mode Transmitted Code

Application Mode Transmitted Code

PF1

(T2425)

Esc O P

Esc O P

Esc O Q

Esc O Q

Esc O R

Esc O R

Esc O S

Esc O S

CR or CR LF

CR or CR LF

CR or CR LF

Esc O M

PF2 PF3 PF4 Enter Enter b (T2455, T248X) (T2425) Z (T2455, T248X) - (T2425) [ (T2455, T248X) (T2425) \ (T2455, T248X)

T or U (T2425 only)

VT220/320 Terminals This table shows what code is transmitted to the host when you press the keys on a VT220/320 keypad and a TRAKKER Antares keyboard or keypad. Note: The key sequences listed in the next table are for all TRAKKER Antares terminals unless otherwise specified. VT220/320 Key Find Insert Here Remove Select Previous Screen Next Screen

(Home) (Insert) (Delete) (End) (Page Up) (Page Down)

VT220/320 Transmitted Code CSI 1 ~ CSI 2 ~ CSI 3 ~ CSI 4 ~ CSI 5 ~ CSI 6 ~

F1 (Hold Screen)

None

None (Local function keys)

F2 (Print Screen)

None

None (Local function keys)

F3 (Set Up)

None

None (Local function keys)

F4

None

None (Local function keys)

F5 (Break)

None

None (Local function keys)

F6 F7

B-4

TRAKKER Antares Key

(T2425) (F6)

b (T2455, T248X) (T2425) (F7) Z (T2455, T248X)

CSI 1 7 ~ CSI 1 8 ~

Page 157

VT100/220/320 and ANSI Keyboard Remapping

B

VT220/320 Keypad Codes (continued) VT220/320 Key F8 F9 F10 F11 (Esc in VT100 mode) F12 (BS in VT100 mode) F13 (LF in VT100 mode) F14 F15 (Do) F16 (Help) F17 F18 F19 F20

TRAKKER Antares Key

- (T2425) (F8)

[ (T2455, T248X) (T2425) (F9) \ (T2455, T248X) (T2425) (F10) ^ (T2455, T248X) (T2425, T2455) (F11) % (T248X) ! (T2425, T2455) (F12) & (T248X) " (T2425, T2455) (F13) ' (T248X) # (T2425, T2455) (F14) ) (T248X) $ (T2425, T2455) (F15) * (T248X) % (T2425, T2455) (F16) + (T248X) & (T2425, T2455) (F17) M (T248X) ' (T2425, T2455) (F18) (T248X) ( (T2425, T2455) (F19) 9 (T248X) ) (T2425, T2455) (F20) 7 (T248X)

VT220/320 Transmitted Code CSI 1 9 ~ CSI 2 0 ~ CSI 2 1 ~ CSI 2 3 ~ CSI 2 4 ~ CSI 2 5 ~ CSI 2 6 ~ CSI 2 8 ~ CSI 2 9 ~ CSI 3 1 ~ CSI 3 2 ~ CSI 3 3 ~ CSI 3 4 ~

B-5

Page 158

TRAKKER Antares Terminal Emulation User’s Guide

This table shows what code is transmitted to the host when you press the numeric or special keys on a VT220/320 numeric keypad and a TRAKKER Antares keyboard or keypad. The transmitted code depends on if the Keypad mode is set to Numeric or Application mode. Note: The key sequences listed in the next table are for all TRAKKER Antares terminals unless otherwise specified. VT220/320 Numeric Keypad Key 0 1 2 3 4 5 6 7 8 9 - (minus) , (comma) . (period) PF1 PF2 PF3 PF4 Enter Enter

B-6

TRAKKER Antares Key (Numeric Keypad Mode On)

-

' (T2425, T2455) / (T248X) 5 (T2425, T2455) 4 (T248X) 6 (T2425, T2455) ( (T248X) (T2425) b (T2455, T248X) (T2425) Z (T2455, T248X) - (T2425) [ (T2455, T248X) (T2425) \ (T2455, T248X) T or U (T2425 only)

Numeric Mode Transmitted Code

Application Mode Transmitted Code

0

SS3 p

1

SS3 q

2

SS3 r

3

SS3 s

4

SS3 t

5

SS3 u

6

SS3 v

7

SS3 w

8

SS3 x

9

SS3 y

- (minus)

SS3 m

, (comma)

SS3 l

. (period)

SS3 n

SS3 P

SS3 P

SS3 Q

SS3 Q

SS3 R

SS3 R

SS3 S

SS3 S

CR or CR LF

CR or CR LF

CR or CR LF

Esc O M

Page 159

VT100/220/320 and ANSI Keyboard Remapping

B

Remapping the TRAKKER Antares Keys You may need to remap the TRAKKER Antares 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 host computer. To remap the terminal keys, you modify the TEANT.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 TEANT.CFG file that remaps a single key or a two-key sequence. Note: You can only modify the TEANT.CFG file if you have TRAKKER Antares firmware version 2.20 or later. If you have a firmware version earlier than 2.20, call your Intermec sales representative about modifying your TEANT.CFG file.

!

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 because it only types the lowercase letter B. You can also remap because it does not perform any function on the terminal. You cannot remap the two-key sequence because it moves the viewport up on the TRAKKER Antares terminals.

:

Note: You can remap the key sequence that accesses the TE Configuration menu. If you do remap the menu key sequence, you can still press at the TRAKKER Antares VT/ANSI Terminal Emulation welcome screen to access the TE Configuration menu. Each terminal key or two-key sequence generates a 4-digit hexadecimal remap code as listed in the key code tables in this section. The key code tables give the 4-digit hexadecimal codes for ASCII characters, ASCII with Shift, ASCII with Ctrl, ASCII with FnL, and ASCII with FnR for the T2425, the T2455, and the T248X terminals. These codes identify the key or keys pressed. For example:

!

Key

Action

4-digit Hexadecimal Key Code

Types a lowercase B

0062

Types an uppercase B

0042

None

0002

To remap a TRAKKER Antares key or two-key sequence 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 tables in this section. 2. Connect the TRAKKER Antares terminal to your PC. 3. Use FileCopy to upload TEANT.CFG from the terminal’s drive C to your PC. For help using FileCopy, use the online Help.

B-7

Page 160

TRAKKER Antares Terminal Emulation User’s Guide

Note: You can also upload the configuration file using RF and Ethernet communications. For help, see your TRAKKER Antares user’s manual. 4. For FileCopy versions earlier than 3.0, remove everything, including blank space, at the end of the TEANT.CFG file up to the last readable line of code. Earlier versions of FileCopy fill in the last data block with Ctrl Z, and if you download the TEANT.CFG file with this fill-in character in it, the file will not run. For example, you might see and need to delete the following at the end of TEANT.CFG: ❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚

5. Using any text editor, add the Remap command at the end of the TEANT.CFG file: remap=<key>=“string” where: remap is the command you enter in the TEANT.CFG file.

key is the 4-digit hexadecimal key or keys you are remapping.

string is the new function 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.

6. Save the TEANT.CFG file and download it to drive C on your terminal.

For example, suppose you wanted to remap on your T2425 to send a message and then enter a carriage return. In the TEANT.CFG file, add this command: remap=<0002>=“My battery is low.<CR>”

If you want to remap the function of the keys F1 through F20 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, suppose you wanted to remap on your T2425 to the function of and then enter a carriage return. In the TEANT.CFG file, add this command:

- remap=<403B>=“<ESC>OR<CR>”

To find the transmitted code for a key, see “Understanding VT/ANSI Key Support” earlier in this appendix. To create a macro 1. Choose the key or two-key sequence that you want to use for the macro and the key or two-key sequence that will activate the macro. 2. Determine the current 4-digit hexadecimal code of the macro and the activation keys. For help, see the key code tables in this section. 3. Connect the TRAKKER Antares terminal to your PC. 4. Use FileCopy to upload TEANT.CFG from the terminal’s drive C to your PC. For help using FileCopy, use the online Help.

B-8