The text of a manual · part 42 of 52
TE 2000 VT/ANSI Terminal Emulation Programmer's Guide: Chapter 7: Extended Commands, pages 359 to 367
Pages 359 to 367 of 456, from TE 2000 VT/ANSI Terminal Emulation Programmer's Guide
The original document is the PDF (3.1 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 2425
Page 359
Chapter 7, Extended Commands
Scan (#S) The Scan extended command allows host systems to have the same capabilities as terminals using the Native data stream to set bar code parameters and scan. By inserting characters “#S” in the display buffer at Line 1, Columns 2 and 3, the host computer tells the terminal to expect a Bar Code Scanner extended command. Appropriate descriptive characteristics should follow the “#S” characters. The terminal returns a code to indicate if the command was successful. Then it simulates the [Enter] key to return a value to the host computer. Note that “b” indicates a 1-byte space.
Conventional Method Note that the descriptions for the middle command are listed under the control character sequence method. Command
Action
CSI 2J
Clears the screen.
CSI 1;3H S07F3201221132001208010806bbbbb# Moves the cursor to the top line, Column 3 Moves the cursor to the beginning.
CSI 1;2H #
Control Character Sequence Method This is the same example using the control character sequence method. You do not need to clear the screen or move the cursor in the example because the print command executes in the background. ^9F#S08F32012211320012080108060bbbb#^9C S ^9F
APC character 0x9F
S #S
Extended command for setting scan parameters
S 0
Laser with no redundancy
S 7
Auto enter scan
S F
Enable stream scanning, return bar code type and concatenate bar code
S 32
Set maximum length for all bar codes to 32 characters
S 01
Set minimum length for all bar codes to 1 character
S 2
Decode UPC-E system 0 and UPC-A bar codes
S 2
Enable EAN bar code symbology
S 1
Enable Encoded 39 bar code symbology
S 1
Enable Plessey bar code symbology
S 3
Keep MOD 10 first check digit for Plessey symbology
S 2
Enable ABC Codabar bar code symbology
TE 2000™ VT/ANSI Terminal Emulation Programmer’s Guide
335
Page 360
Chapter 7, Extended Commands
S 0
Disable Code 11 bar code symbology
S 0
Disable Code 93 bar code symbology
S 1
Enable Code 128 bar code symbology
S 2
Enable Straight 2 of 5 bar code symbology
S 08
Set maximum length to 8 characters
S 01
Set minimum length to 1 character
S 08
Set first fixed length to 8 characters
S 06
Set second fixed length to 6 characters
S 0
Disable Interleave 2 of 5 bar code symbology
S bbbb#
Keep current value
S ^9C
ST character 0x9C
Due to possible system fragmentation of a data stream, the “#” in Line 1, Column 2, should be the last character placed on the screen. This will ensure that all data is present before the extended command is parsed (removed). The following table lists the command. Other tables list options. Scan Bar Code Parameters, Line 1, Columns 2–3 Column Description
Character
2
Extended command
#
3
Scan command
S
336
TE 2000™ VT/ANSI Terminal Emulation Programmer’s Guide
Page 361
Chapter 7, Extended Commands
CC Byte 1 Control Character Byte 1 (CC Byte 1) implementation differs among the terminals. The tables below and on the next page show the CC Byte 1 options for scanning. A “b” indicates a 1-byte space. CC Byte 1 Options Supported by Characters, Line 1, Column 4 (2415, 2425, 2435A, 2455, 2475, 248X) CC Byte 1
Laser
0
X
1
X
Disable Scanner
No Change From Current Setting
2 3
X
4 5
X
6 7
X
8 9
X
A B
X
C D
X
E F b
TE 2000™ VT/ANSI Terminal Emulation Programmer’s Guide
X X
337
Page 362
Chapter 7, Extended Commands
Note: 6400 Computers do not support HP Wand Select. CC Byte 1 Options Supported by Characters, Line 1, Column 4 (6400, 5020, 5055, 59XX, 17XX, 11XX) CC Byte 1
HP Wand Select Redundancy Laser No Redundancy
0
X
1
X
2
X
3
X
4
X
5
X
X
6
X
X
7
X
X
X X X X X
8
338
X
X
9
X
A
X
B
X
C
X
D
X
X
E
X
X
X X X X
F
Disable scanner.
b
No change from current setting.
TE 2000™ VT/ANSI Terminal Emulation Programmer’s Guide
Page 363
Chapter 7, Extended Commands
CC Byte 2 CC Byte 2 implementation differs among the types of terminals. The following tables show CC Byte 2 options. Note that “b” indicates a 1-byte space. CC Byte 2 Options Supported by Characters (2415, 2425, 2435A, 2455, 2475, 248X) CC Byte 2
Scan Termination Character
0–3
None
4–7
Auto Enter Scan
8–F
Auto Tab Scan b
No change from current setting
CC Byte 2 Options Supported by Characters, Line 1, Column 5 (6400, 5020, 5055, 59XX, 17XX, 11XX) CC Byte 2
Scan Termination Character Modulo 10 Check Digit
0
None
1
X
2 3 4
X [Enter] key
5
X
6 7 8 9
X [Tab] key X
A B
X
C D
X
E F
TE 2000™ VT/ANSI Terminal Emulation Programmer’s Guide
X
339
Page 364
Chapter 7, Extended Commands
CC Byte 3 Note that “b” indicates a 1-byte space. CC Byte 3 Options Supported by Characters, Line 1, Column 6 (6400, 5020, 5055, 59XX, 17XX, 11XX) CC Byte 3
Enable Stream Scanning
Reserved
Return Bar Code Type
Bar Code Concatenated
0 1
X
2
X
3
X
4
X
5
X
6
X
X
7
X
X
X
8
X
9
X
A
X
X
B
X
X
C
X
X
D
X
X
E
X
X
X
F
X
X
X b
X
X X X X X
No change from current setting.
Bar Code Length Bar Code Length sets the minimum and maximum character lengths for all types of bar codes scanned. Setting the minimum and maximum values to their optimum can increase scanning performance. If the terminal scans bar codes that are outside the minimum and maximum value, the terminal ignores the bar code. Note that a “b” indicates a 1-byte space. Bar Code Length, Line 1, Columns 7–10 (6400, 5020, 5055, 59XX, 17XX, 11XX) Column Character and Description
340
7–8
XX=Bar code length. Maximum length: 99. bb=No change from current setting
9–10
XX=Bar code length. Minimum length: 00. bb=No change from current setting
TE 2000™ VT/ANSI Terminal Emulation Programmer’s Guide
Page 365
Chapter 7, Extended Commands
UPC Note: 6400 Computers do not support UPC-E Number System 1. Use the UPC command to select the combinations of characters listed in the following table. Note that a “b” indicates a 1-byte space. UPC Bar Code Characters (6400, 5020, 5055, 59XX, 17XX, 11XX) Character
UPC-E # System 1
Expand UPC-E UPC-E # to UPC-A System 0
0
Add-ons UPC-A
Disables all.
1
X
2
X
3
X
4
X
5
X
6
X
X
7
X
X
X X
X X
X
8
X
9
X
10
X
X
11
X
X
12
X
X
13
X
X
14
X
X
X
15
X
X
X b
X
X X
X
X X
X
X X
X
X
X
X X
X
X
No change from current setting.
EAN Algorithms Use EAN Algorithms to select combinations of EAN options. Note that a “b” is a 1-byte space. EAN Algorithms, Line 1, Column 12 (6400, 5055, 59XX, 17XX, 11XX) Character
Description
0
EAN disabled
1
EAN with Add-ons enabled
2
EAN enabled
3
EAN and EAN with Add-ons enabled b
No change from current setting
TE 2000™ VT/ANSI Terminal Emulation Programmer’s Guide
341
Page 366
Chapter 7, Extended Commands
Code 39 Code 39 sets the scanner to read simple Code 39 bar codes that do not include extended or encoded sequences. Note that a “b” is a 1-byte space. Extended Code 39 is a superset of Code 39 and scans all regular Code 39 bar codes. You cannot select both Code 39 and Extended Code 39. Encoded Code 39 combines key presses with normal bar code data. Appendix A, “Bar Code Scanning,” contains Encoded Code 39 sequences. Code 39 Algorithms Characters, Line 1, Column 13 (6400, 5055, 59XX, 17XX, 11XX) Character
Description
0
Code 39 disabled
1
Encoded Code 39 enabled
2
Extended Code 39 enabled
3
Code 39 enabled b
No change from current setting
Plessey Note: 6400 Computers do not support Plessey alpha characters. If the Plessey bar code scanning algorithm is enabled, set its check digits according to your requirements. Refer to the manufacturer’s bar code specifications for more information on check digits. Note that a “b” indicates a 1-byte space. Plessey Characters, Line 1, Column 14 (6400, 5055, 59XX, 17XX, 11XX)
342
Character
Description
0
Plessey disabled
1
Plessey enabled b
No change from current setting
TE 2000™ VT/ANSI Terminal Emulation Programmer’s Guide
Page 367
Chapter 7, Extended Commands
The Xs in the following table indicate the Plessey check digits the characters support. Plessey Check Digit Characters, Line 1, Column 15
Character
Keep 2nd Digit Check
Do Not Validate 1st Check Digit
Keep 1st Check Digit
Mod 10 1st Check Digit
0
Mod 11 1st Check Digit X
1
X
2
X
3
X
4
X
5
X
6
X
X
7
X
X
X X X
8
X
9
X
A
X
X
B
X
X
C
X
X
D
X
X
E
X
X
X
F
X
X
X b
X
X X X X X X X X X
X
No change from current setting.
Codabar The Codabar options (Codabar and ABC Codabar) are mutually exclusive coding algorithms and cannot be selected at the same time. Note that a “b” indicates a 1-byte space. Codabar Characters, Line 1, Column 16 (6400, 5055, 59XX, 17XX, 11XX) Character
Description
0
Codabar disabled
1
Codabar enabled
2
ABC Codabar enabled b
No change from current setting
TE 2000™ VT/ANSI Terminal Emulation Programmer’s Guide
343