The text of a manual · part 24 of 33
VT220/ANSI Terminal Emulation Programmer's Reference Guide: Section 8: Programming, pages 187 to 196
Pages 187 to 196 of 276, from VT220/ANSI Terminal Emulation Programmer's Reference Guide
The original document is the PDF (1.4 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 187
SECTION 8
Sequence
"
Programming
Description
ESC [ 1; 1 H
Home cursor.
ESC [ 2 J
Clear screen.
ESC [ ? 10 h
Start local editing mode.
ESC V
Start protected area.
ESC [ 1 ; 2 H
Move cursor to Row 1, Column 2.
ESC [ 1; 17 H
Move cursor to Row 1, Column 17.
“Manufacturing”
Display literal.
“Receiving”
Display literal.
ESC [ 2; 1 H
Move cursor to Row 2, Column 1.
“LIP:”
Display literal.
ESC [ 1 D
Move cursor back one position.
ESC W ESC [ l C
End protected area. Move cursor forward one position.
ESC F
Start selected area.
ESC [ 2; 15 H
Move cursor to Row 2, Column 15.
ESC G
End selected area.
ESC V
Start protected area.
ESC [ 3; 1 H
Move cursor to Row 3, Column 1.
“Item:”
Display literal.
ESC [ 1 D
Move cursor back one position.
ESC W
End protected area.
ESC [ 1 C
Move cursor forward one position.
ESC F
Start selected area.
ESC [ 3; 16 H
Move cursor to Row 3, Column 16.
ESC G
End selected area.
ESC V
Start protected area.
ESC [ 4; 1 H
Move cursor to Row 4, Column 1.
“Lot:”
Display literal.
ESC [ 1 D
Move cursor back one position.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
8-51
Page 188
SECTION 8
"
Programming
(Continued)
8-52
Sequence
Description
ESC W
End protected area.
ESC [ 1 C
Move cursor forward one position.
ESC F
Start selected area.
ESC [ 4; 9 H
Move cursor to Row 4, Column 9.
ESC G ESC V ESC [ 5; 1 H “Qty:” ESC [ 1 D
End selected area. Start protected area. Move cursor to Row 5, Column 1. Display literal. Move cursor back one position.
ESC W ESC [ 1 C ESC F ESC [ 5; 13 H ESC G ESC V ESC [ 24; 80 H ESC W ESC [ 26 $ | ESC [ 1; 8 r
End protected area. Move cursor forward one position. Start selected area. Move cursor to Row 5, Column 13. End selected area. Start protected area. Move cursor to Row 24, Column 80. End protected area. Set the number of columns to 26. Set top at 1, bottom at 8 rows.
ESC [ 3 g ESC [ 2; 5 H
Clear tab stops. Move cursor to Row 2, Column 5.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Page 189
SECTION 8
"
Programming
If this information is entered on the form: 111111111 2222222222 3333 44444444 for “LIP:” for “Item:” for “Lot:” for “Qty:”
The data stream will be sent to the host as indicated in the following chart. (If guarded area transfer mode (GATM) is reset, then the record separator is processed as a protected field entry.) Sequence
Description
RS
Protected field Line 1.
RS
First protected field Line 2.
111111111
Selected field Line 2.
RS
Second protected field Line 2.
RS
First protected field Line 3.
2222222222
Selected field Line 3.
RS
Second protected field Line 3.
RS
First protected field Line 4.
3333
Selected field Line 4.
RS
Second protected field Line 4.
RS
First protected field Line 5.
44444444
Selected field Line 5.
RS
Second protected field Line 5.
RS
Protected field Line 6.
RS
Protected field Line 7.
RS
Protected field Line 8.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
8-53
Page 190
SECTION 8
"
Programming
Transmitted Keyboard Codes Transmitted codes are codes generated by the wireless station’s keys and sent to the host computer or software application in use. The following pages describe the capability of the wireless stations to emulate codes generated by the VT220 terminal keyboard’s main keypad, editing keypad, auxiliary keypad, and top-row function keys. Codes are sent via line edit (block) mode or optimized character mode selected through the keyboard function labeled MODE on the overlay.
Line Edit Mode Line edit (block) mode is a synchronous condition where the wireless station temporarily stores or “buffers” keys you press. It sends the cumulative data to the host computer when you press one of the following terminating keys: [ENTER] [F6] through [F20], [PF1] through [PF4] [CTRL]+[A] through [CTRL]+[Z] Forward tab DEL (7F hexadecimal) Backspace The following also apply to line edit mode: "
"
"
"
8-54
When you press [PF1], the following key will also be transmitted directly to the host computer. When scanning, the wireless station automatically enters line edit mode for each individual scan. When it completes scanning, it returns to the mode it was set at before it started scanning. For codes generated by the cursor control key, see page 8-58. For codes generated by the keypad keys, see page 8-59.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Page 191
SECTION 8
"
Programming
Character Mode Character mode (the default) is a condition where the wireless station sends, to the host computer, each key as you press it. You should place the wireless station into character mode during these situations: When the wireless station should immediately send information to the host computer. This operation is called “type ahead.” " When the wireless station’s keyboard sends a character to the display as well as to the host. This operation is called “local echo.” If local echo is disabled, the host receives the character from the wireless station and then sends the return response. To alternate between line edit and character modes, press the correct sequence of keys from the chart below. An annunciator in the wireless station’s display indicates the current mode. "
Series
Key Sequences
RT1100 and RT1700
[BLACK]+[Y]
RT5900
[GOLD]+[F5]
PEN*KEY 6400
[GOLD]+[1]
PEN*KEY 6500
[GOLD]+[PF1]
Transmitted Keyboard Keys The following pages describe codes generated by main keypad keys, editing keys, auxiliary keys, and top-row function keys.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
8-55
Page 192
SECTION 8
"
Programming
Main Keypad The wireless station emulates all of the standard and most of the special function keys on the VT220 main keypad. The standard keys generate letters, numbers, and symbols, either alone or in combination with other keys. The function keys generate special function codes. Table 8-36 lists the codes generated by the special function keys. Table 8-36 Special Function Keys and Codes Generated VT220 Key
Code
Delete
DEL (7F hexadecimal).
Tab
HT (09 hexadecimal).
Return
CR (0D hexadecimal) or CR (0D hexadecimal) LF (0A hexadecimal).
Ctrl
Lock
Does not send a code when used alone; always used in combination with another key to send a control code. Does not send a code when used alone; sends uppercase characters when used with other standard keys. None.
Space bar
SP (20 hexadecimal).
Compose character
None.
Shift
8-56
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Page 193
SECTION 8
"
Programming
Editing Keypad The wireless station has editing keys and cursor control keys. Editing keys have functions assigned to them by the application software in use. Refer to your VT220 application software manual for the uses of the editing keys.
Editing Keys Table 8-37 lists the codes generated by the editing keys. Table 8-37 Editing Keys and Codes Generated VT220 Key Find
Code CSI 1 ~
Insert here
CSI 2 ~
Remove
CSI 3 ~
Select
CSI 4 ~
Prev screen
CSI 5 ~
Next screen
CSI 6 ~
Cursor Control Key Table 8-38 lists codes generated by the wireless stations’ cursor control keys.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
8-57
Page 194
SECTION 8
"
Programming
Table 8-38 Cursor Control Key and Codes Generated Wireless Station Key Up arrow
Cursor Key Mode Reset (Normal)
Cursor Key Mode Set (Application)
CSI A
SS3 A
Down arrow
CSI B
SS3 B
Right arrow
CSI C
SS3 C
Left arrow
CSI D
SS3 D
Sending Host Cursor Keys In keyboard unshifted and shifted modes, the cursor control key sends a host cursor key to the host computer. The cursor control key emulates the arrow keys of a VT220 terminal in either their normal arrow key mode or application mode, depending on the state set by the programmer. See “Keyboard Codes” discussed later in this section.
8-58
To Send to Host
Press Wireless Station Key(s)
Host cursor right key
["]
Host cursor left key
[A ]
Host cursor up key
[Y]
Host cursor down key
[B]
Host cursor right key
[SFT]+["]
Host cursor left key
[SFT]+[A]
Host cursor up key
[SFT]+[Y]
Host cursor down key
[SFT]+[B]
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Page 195
SECTION 8
"
Programming
Auxiliary Keypad Auxiliary keys enter numeric data. The application software in use can also assign functions to these keys; refer to your VT220 application software manual for their uses. Table 8-39 shows codes generated by the auxiliary keys in keypad application mode. Table 8-39 Auxiliary Keys and Codes Generated VT220 Key
Keypad Mode
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
-- (hyphen)
SS3 m
, (comma)
SS3 l
. (period)
SS3 n
Enter
SS3 M
PF1
SS3 P
PF2
SS3 Q
PF3
SS3 R
PF4
SS3 S
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
8-59
Page 196
SECTION 8
"
Programming
Top-Row Function Keys Function keys [F1] through [F4] on the wireless station’s keyboard have been assigned the VT220 [PF1] through [PF4] definitions. On the VT220 terminal’s keyboard, function keys [F1] through [F5] are used for hold screen, print screen, set-up, data/talk, and break. The wireless station supports only the break function, which is [F5] on the wireless station’s keyboard. Wireless stations emulate the remaining VT220 terminal top-row function keys ([F6] through [F20]), which have functions assigned to them by the application software in use. Refer to your VT220 application software manual for the uses of these keys. Table 8-40 lists function keys. Table 8-40 Top-Row Function Keys and Codes Generated VT220 Key F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15 F16 F17 F18 F19 F20 8-60
Code None CSI 1 7 ~ CSI 1 8 ~ 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 ~
VT220/ANSI Terminal Emulation Programmer’s Reference Guide