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 29 of 33

VT220/ANSI Terminal Emulation Programmer's Reference Guide: Section 9: Extended Commands, pages 234 to 242

Pages 234 to 242 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 234

SECTION 9 "

Extended Commands

Return Code for Return Version The return code is the status sent to the host computer; the code indicates if the extended command was successful. The wireless station returns data and the extended command’s status to the host computer in the following format: \\0\<Firmware> <Version><CR>

“0” is the return code listed in the following chart. “<Firmware>” is the name of the wireless station’s firmware. “<Version>” is the current firmware version. Code

Description

0

Good status, transaction complete.

Example of Return Version The following example shows data started by the control character sequence for APC. The sequence is prefixed by the notation “ ^ ” which represents “control.” Column 2

^9F#V^9C

Tone (#T) The Tone extended command causes the wireless station to make a tone of a specified volume, frequency, and length (Table 9-6).

9-28

VT220/ANSI Terminal Emulation Programmer’s Reference Guide

Page 235

SECTION 9

"

Extended Commands

Table 9-6 Tone Options Line 1, Columns 2- 12 Column Character

Description

2

#

Extended command.

3

T

Tone command.

4--6

Tone volume. (Spaces 000--255

7--9

No change from current setting. Volume range. The larger the number, the louder the volume. Tone frequency.

(Spaces) 000--030 10--12

No change from current setting. Frequency range. The larger the number, the higher the frequency. Tone length.

(Spaces) 001--010

No change from current setting. Duration in seconds. The larger the number, the longer the beep and the slower the keyboard response time.

The return code is the status sent to the host computer; the code indicates if the extended command was successful. The wireless station returns data and the extended command’s status to the host computer in the following format: \\X<CR>

“X” is the return code listed in the following chart. Code

Description

Column

0

Good status, transaction complete.

(None)

8

Incorrect setting for volume.

4--6

9

Incorrect setting for frequency.

7--9

A

Incorrect setting for length.

10--12

VT220/ANSI Terminal Emulation Programmer’s Reference Guide

9-29

Page 236

SECTION 9 "

Extended Commands

Scan Bar Code Parameters (#S) The Scan Bar Code Parameters extended command allows host systems to have the same capabilities as wireless stations 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 wireless station to expect a Bar Code Scanner extended command. Appropriate descriptive characteristics should follow the “#S” characters. The wireless station returns a code that indicates if the command was successful. Then it simulates the [Enter] key to return a value to the host computer. 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 assure that all data is present before the extended command is parsed (removed). Table 9-7 lists columns in which characters must appear. Tables on the following pages list characters for each type of bar code. " NOTE:

The PEN*KEY 6500 Computer supports only the laser bar code scanner. Table 9-7 Scan Bar Code Parameters Line 1, Columns 2- 3 Column Character

9-30

Description

2

#

Extended command.

3

S

Scan Bar Code Parameters command.

VT220/ANSI Terminal Emulation Programmer’s Reference Guide

Page 237

SECTION 9

"

Extended Commands

Control Byte 1 The dots in Table 9-8 indicate the Control Byte 1 options the characters support. (The RT1100, RT1700, RT5900, and the PEN*KEY 6400 Computer’s internal engine do not support CCD 20/20. The PEN*KEY 6400 Computer’s internal engine does not support HP Wand Select.) Table 9-8 Control Byte 1 Characters Line 1, Column 4 Control Byte 1 Character

Options CCD 20/20 Select

0

No HP RedunRedunWand Se- dancy Laser dancy lect · ·

1

·

2

·

3

·

4

·

5

·

·

6

·

·

7

·

·

· · · · ·

8

·

9

·

·

A

·

·

B

·

·

·

C

·

·

D

·

·

·

·

E

·

·

·

F

· ·

·

Disable scanner.

(Space)

No change from current setting.

VT220/ANSI Terminal Emulation Programmer’s Reference Guide

9-31

Page 238

SECTION 9 "

Extended Commands

Control Byte 2 The dots in Table 9-9 indicate the Control Byte 2 options the characters support. Table 9-9 Control Byte 2 Characters Line 1, Column 5 Control Byte 2 Scan TerminaCharacter tion Character 0

Modulo 10 Check Digit

None

1

·

2 3 4

· [Enter] key

5

·

6 7 8

· [Tab] key

9

·

A B

·

C D

·

E F

9-32

VT220/ANSI Terminal Emulation Programmer’s Reference Guide

·

Page 239

SECTION 9

"

Extended Commands

Control Byte 3 The dots in Table 9-10 indicate the Control Byte 3 options the characters support. Table 9-10 Control Byte 3 Characters Line 1, Column 6 Options Control Byte 3 Character

Enable Stream Scanning Reserved

Return Bar Code Type

Bar Code Concatenated

0 1

·

2

·

3

·

4

·

5

·

6

·

·

·

·

7

·

8

·

9

·

A

·

·

B

·

·

C

·

·

D

·

·

E

·

·

·

F

·

·

·

(Space)

·

· · · · ·

No change from current setting.

VT220/ANSI Terminal Emulation Programmer’s Reference Guide

9-33

Page 240

SECTION 9 "

Extended Commands

Bar Code Length Bar Code Length sets the minimum and maximum character lengths for all types of bar codes scanned (Table 9-11). Setting the minimum and maximum values to their optimum can increase scanning performance. If the wireless station scans bar codes that are outside the minimum and maximum value, the wireless station ignores the bar code. Table 9-11 Bar Code Length Line 1, Columns 7- 10 Column CharacDescription ter 7--8

XX (Spaces)

Bar code length. Maximum length is 99. No change from current setting.

9--10

XX (Spaces)

Bar code length. Minimum length is 00. No change from current setting.

UPC Use the UPC command to select the combinations listed in Table 9-12. (The PEN*KEY 6400 Computer’s internal engine does not support UPC-E Number System 1.)

9-34

VT220/ANSI Terminal Emulation Programmer’s Reference Guide

Page 241

SECTION 9

"

Extended Commands

Table 9-12 UPC Bar Code Characters Options Character

UPC-E # System 1

Expand UPC-E to UPC-A

0

UPC-E # System 0

UPC-A

Disables all.

1

·

2

·

3

·

4

·

5

·

6

·

·

7

·

·

· ·

·

· ·

·

8

·

9

·

10

·

·

11

·

·

12

·

·

13

·

·

14

·

·

·

15

·

·

·

(Space)

Add-Ons

· ·

·

· ·

·

· ·

·

· ·

·

· ·

·

·

No change from current setting.

VT220/ANSI Terminal Emulation Programmer’s Reference Guide

9-35

Page 242

SECTION 9 "

Extended Commands

EAN Algorithms Use EAN Algorithms to select combinations of EAN options (Table 9-13). Table 9-13 EAN Algorithms Line 1, Column 12 CharacDescription ter 0 1 2 (Space)

EAN disabled. EAN-8 and EAN-13 with add-ons enabled. EAN-8 and EAN-13 enabled. No change from current setting.

Code 39 Code 39 (Table 9-14) sets the scanner to read simple Code 39 bar codes that do not include extended or encoded sequences. 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. Encoded Code 39 sequences are described on page 9-45. Table 9-14 Code 39 Algorithms Characters Line 1, Column 13 Character Description 0 1 2 3 (Space)

9-36

Code 39 disabled. Encoded Code 39 enabled. Extended Code 39 enabled. Code 39 enabled. No change from current setting.

VT220/ANSI Terminal Emulation Programmer’s Reference Guide