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 28 of 35

5250 Terminal Emulation Programmer's Reference Guide: Section 9: Extended Commands, pages 243 to 252

Pages 243 to 252 of 318, from 5250 Terminal Emulation Programmer's Reference Guide

The original document is the PDF (1.3 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 243

SECTION 9

"

Extended Commands

Return Codes for Scan Bar Code Parameters The Scan Bar Code Parameters 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> where “X” is the return code listed in the following chart. The wireless station simulates the [ENTER] key to return a value to the host computer. If a hexadecimal number is entered wrong, the return code defaults to “0.” Code

Description

0

Good status, transaction complete.

1

Bad status, transaction incomplete.

Example of Scan Bar Code Parameters The following example and chart show data for Scan Bar Code Parameters. A “b” indicates a space. Column 1

Column 11

Column 23

Column 36 b#S07F32012211120012080108080bbbbbbbb

5250 Terminal Emulation Programmer’s Reference Guide

9-41

Page 244

SECTION 9

"

Extended Commands

Column Character

9-42

1 2 3 4

(Space) # S 0

5

7

6

F

7--8 9--10 11 12 13 14 15 16 17 18 19 20 21--22 23--24 25--26 27--28 29 30--31 32--33 34--35 36--37

32 01 2 2 1 1 1 2 0 0 1 2 08 01 08 08 0 (Spaces) (Spaces) (Spaces) (Spaces)

Description This column typically contains a space. Extended command. Scan Bar Code Parameter command. No Control Byte 1 options are returned. [ENTER] key terminates all scans, 12-volt laser is enabled, Modulo 10 Check Digit. Barcode type is returned and concatenated. Maximum length is 32 characters. Minimum length is 1 character. Decode UPC System 0. EAN is enabled. Encoded code 39 is enabled. Plessey is enabled. Mod 10 first digit is checked. ABC Codabar is enabled. Code 11 is disabled. Code 93 is disabled. Code 128 is enabled. Straight 2of5 is enabled. Straight 2of5 maximum length is 8. Straight 2of5 minimum length is 1. Straight 2of5 1st fixed length is 8. Straight 2of5 2nd fixed length is 8. Interleaved 2of5 is disabled. No change from current setting. No change from current setting. No change from current setting. No change from current setting.

5250 Terminal Emulation Programmer’s Reference Guide

Page 245

SECTION 9

"

Extended Commands

Encoded Code 39 Encoded Code 39 combines key presses with normal bar code data. All regular Code 39 bar codes can be scanned when using Encoded Code 39. “Encoded” refers to special character sequences contained within a standard Code 39 bar code that the wireless station scanning program converts into key presses. This feature allows bar codes to contain commonly-used key press sequences that accompany scanning. An example is a bar code with a forward tab character encoded at the end of it. When the wireless station operator scans the bar code, the wireless station fills in bar code data and automatically performs a forward tab. This moves the cursor to the next field. The operator does not need to press a key between scans. Table 9-24 lists escape characters and key press sequences for Encoded Code 39. The “(t)” in the table indicates a terminating key. Any bar code data following this key code is ignored. The “t” sequences, therefore, should be located only at the end of the bar code.

5250 Terminal Emulation Programmer’s Reference Guide

9-43

Page 246

SECTION 9

"

Extended Commands

Table 9-24 Key Press Sequences for Encoded Code 39

9-44

Sequence

Key

$A

New Line

$B

Del

$C

Forward Tab

$D

Forward Tab

$E

Reverse Tab

$F

Roll - (Roll up/Page down)

$G

Roll ¯ (Roll down/Page up)

$H

Backspace

$I

Field+

$J

Field--

$K

Insert

$L

Home

$M

Enter/Rec Adv (t)

$N

Field Exit

$O

Erase Input

$P

Attn

$Q

F1 (t)

$R

F2 (t)

$S

F3 (t)

$T

F4 (t)

$U

F5 (t)

$V

F6 (t)

$W

F7 (t)

$X

F8 (t)

$Y

F9 (t)

$Z

F10 (t)

5250 Terminal Emulation Programmer’s Reference Guide

Page 247

SECTION 9

"

Extended Commands

Table 9-24 (Continued) Key Press Sequences for Encoded Code 39 Sequence

Key

%A

Clear

%B

F11 (t)

%C

F12 (t)

%D

Error Reset

%E

Help

%F

; (semicolon)

%G

< (less than)

%H

= (equal)

%I

> (greater than)

%J

? (question mark)

%K

(not symbol)

%L

\ (backslash)

%M

¢ (cent)

%N

| (piping symbol)

%O

_ (underscore)

%P

{ (left brace)

%Q

| (vertical bar)

%R

} (right brace)

%S

~ (tilde)

%T

Del

%U

Dup

%V

@ (at)

%W

‘ (grave accent)

%X

Sys Req

%Y

Print

%Z

F13 (t)

5250 Terminal Emulation Programmer’s Reference Guide

9-45

Page 248

SECTION 9

"

Extended Commands

Table 9-24 (Continued) Key Press Sequences for Encoded Code 39

9-46

Sequence

Key

+A a

+B b

+C c

+D d

+E e

+F f

+G g

+H h

+I i

+J j

+K k

+L l

+M m

+N n

+O o

+P p

+Q q

+R r

+S s

+T t

+U u

+V v

+W w

+X x

+Y y

+Z z

5250 Terminal Emulation Programmer’s Reference Guide

Page 249

SECTION 9

"

Extended Commands

Table 9-24 (Continued) Key Press Sequences for Encoded Code 39 Sequence

Key

/A

! (exclamation mark)

/B

” (double quote)

/C

$ (dollar)

/D

# (pound)

/E

% (percent)

/F

& (ampersand)

/G

’ (single quote)

/H

( (left parenthesis)

/I

) (right parenthesis)

/J

* (asterisk)

/K

+ (plus)

/L

, (comma)

/M

-- (minus)

/N

F14 (t)

/O

/ (forward slash)

/P

F15 (t)

/Q

F16 (t)

/R

F17 (t)

/S

F18 (t)

/T

F19 (t)

/U

F20 (t)

/V

F21 (t)

/W

F22 (t)

/X

F23 (t)

/Y

F24 (t)

/Z

: (colon)

5250 Terminal Emulation Programmer’s Reference Guide

9-47

Page 250

SECTION 9

"

Extended Commands

Terminating Keys Terminating keys are the nonprintable ASCII sequences and action keys. When the wireless station encounters them in a bar code, an action is taken, and the wireless station sends the data in the buffer to the host computer. Terminating keys should appear only at the end of the bar code. If they are located in the middle of a bar code, they are executed normally, but the data following them in the bar code is ignored. Terminating keys cause a wireless stationto-base station transmission. The wireless station ignores data in the bar code buffer following these keys once a transmission takes place. For example, the wireless station interprets this sequence: 123$V456 as 123F6 The wireless station will not send “456” to the host computer, because it follows terminating key F6. ASCII sequences can be used any time before a terminating key. For example, the wireless station interprets +H+E+L+L+O$M as hello<Enter>

9-48

5250 Terminal Emulation Programmer’s Reference Guide

Page 251

SECTION 9

"

Extended Commands

Escape Characters The four escape characters in Table 9-24 yield a 5250 data stream key press equivalent when followed by another character. The escape characters are: $ (dollar) % (percent) + (plus) / (forward slash) For example: "

" "

" NOTE:

If a bar code contains the sequence “%M” somewhere within it, the wireless station converts this sequence to an [ENTER] key and processes it as soon as encountered in the scanning buffer. “+B” is converted to the lower case “b.” “%B” is converted to an F11 key press.

If you want the Encoded Code 39 option but the bar codes to be scanned already contain the “$,” “%,” “+,” or “/,” character, then each place where these characters occur must be expanded to a special “/” sequence: "

Every bar code where the “$” is maintained must be expanded to a “/C” sequence.

"

Percent signs (%) must be expanded to “/E”.

"

Forward slashes (/) must be expanded to the letter “/O”.

"

Plus signs (+) must be expanded to “/K”.

5250 Terminal Emulation Programmer’s Reference Guide

9-49

Page 252

SECTION 9

"

Extended Commands

Concatenation When Encoded Code 39 is enabled, all bar codes are concatenated. This allows several separate bar code scans to be strung together into one input field. This feature is especially useful when using separate Encoded Code 39 bar codes to replace operator key presses. For example, if the bar code “1234” is scanned followed by the scanning of a separate “$C” bar code, the wireless station keeps the “1234” in the starting field and tabs to the next unprotected field. If concatenation was not automatically enabled, the “1234” bar code would be cleared out due to the second scan. Then the wireless station would tab to the next unprotected field. Enabling Encoded Code 39 also allows scanning to occur when the cursor is in a protected field. This feature is provided to allow scanning of cursor movement functions (such as forward tab and reverse tab) while in a protected location on the screen. Scanning alphanumeric codes in a protected field causes an error tone for each character scanned.

9-50

5250 Terminal Emulation Programmer’s Reference Guide