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 25 of 32

3270 Terminal Emulation Programmer's Reference Guide: Section 10: Extended Commands, pages 229 to 238

Pages 229 to 238 of 278, from 3270 Terminal Emulation Programmer's Reference Guide

The original document is the PDF (2.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 6400

Page 229

SECTION 10

"

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

3270 Terminal Emulation Programmer’s Reference Guide

10-41

Page 230

SECTION 10

"

Extended Commands

Column Character

10-42

Description

1

(Space)

This column typically contains a space.

2

#

Extended command.

3

S

Scan Bar Code Parameter command.

4

0

No Control Byte 1 options are returned.

5

7

[ENTER] key terminates all scans, 12-volt laser is enabled, Modulo 10 Check Digit.

6

F

Barcode type is returned and concatenated.

7--8

32

Maximum length is 32 characters.

9--10

01

Minimum length is 1 character.

11

2

Decode UPC System 0.

12

2

EAN is enabled.

13

1

Encoded code 39 is enabled.

14

1

Plessey is enabled.

15

1

Mod 10 first digit is checked.

16

2

ABC Codabar is enabled.

17

0

Code 11 is disabled.

18

0

Code 93 is disabled.

19

1

Code 128 is enabled.

20

2

Straight 2of5 is enabled.

21--22

08

Straight 2of5 maximum length is 8.

23--24

01

Straight 2of5 minimum length is 1.

25--26

08

Straight 2of5 1st fixed length is 8.

27--28

08

Straight 2of5 2nd fixed length is 8.

29

0

Interleaved 2of5 is disabled.

30--31

(Spaces)

No change from current setting.

32--33

(Spaces)

No change from current setting.

34--35

(Spaces)

No change from current setting.

36--37

(Spaces)

No change from current setting.

3270 Terminal Emulation Programmer’s Reference Guide

Page 231

SECTION 10

"

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 10-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. If you attempt to use a reserved sequence (termed “reserved” in the table) the wireless station will beep and the data stream will be flushed.

3270 Terminal Emulation Programmer’s Reference Guide

10-43

Page 232

SECTION 10

"

Extended Commands

Table 10-24 Key Press Sequences for Encoded Code 39

10-44

Sequence

Key

$A

Reserved

$B

Del

$C

Forward Tab

$D

Forward Tab

$E

Reverse Tab

$F

Reserved

$G

Reserved

$H

Backspace

$I

Reserved

$J

Reserved

$K

Insert

$L

Home

$M

Enter (t)

$N

End of Field

$O

Clear

$P

Reserved

$Q

PF1 (t)

$R

PF2 (t)

$S

PF3 (t)

$T

PF4 (t)

$U

PF5 (t)

$V

PF6 (t)

$W

PF7 (t)

$X

PF8 (t)

$Y

PF9 (t)

$Z

PF10 (t)

3270 Terminal Emulation Programmer’s Reference Guide

Page 233

SECTION 10

"

Extended Commands

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

Key

%A

Clear AID (t)

%B

PF11 (t)

%C

PF12 (t)

%D

PA1

%E

PA2

%F

; (semicolon)

%G

< (less than)

%H

= (equal)

%I

> (greater than)

%J

? (question mark)

%K

[ (left bracket)

%L

\ (backslash)

%M

] (right bracket)

%N

^ (circumflex)

%O

_ (underscore)

%P

{ (left brace)

%Q

| (piping symbol)

%R

} (right brace)

%S

~ (tilde)

%T

Delete

%U

Reserved

%V

@ (at)

%W

‘

%X

Reserved

%Y

Reserved

%Z

Reserved

3270 Terminal Emulation Programmer’s Reference Guide

10-45

Page 234

SECTION 10

"

Extended Commands

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

10-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

3270 Terminal Emulation Programmer’s Reference Guide

Page 235

SECTION 10

"

Extended Commands

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

Key

/A

! (exclamation mark)

/B

” (double quote)

/C

# (pound)

/D

$ (dollar)

/E

% (percent)

/F

& (ampersand)

/G

’ (single quote)

/H

( (left parenthesis)

/I

) (right parenthesis)

/J

* (asterisk)

/K

+ (plus)

/L

, (comma)

/M

-- (minus)

/N

F14

/O

/ (forward slash)

/P

F15

/Q

F16

/R

F17

/S

F18

/T

F19

/U

F20

/V

F21

/W

F22

/X

F23

/Y

F24

/Z

: (colon)

3270 Terminal Emulation Programmer’s Reference Guide

10-47

Page 236

SECTION 10

"

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 station-to-base radio transmission. The wireless station ignores data in the bar code buffer following these keys once a transmission takes place. When the wireless station is in global Auto Enter mode or global Auto Tab mode, there are eight Encoded Code 39 functions which will override the AutoTab/Auto Enter modes when they are scanned. They are: Forward Tab Reverse Tab Home Clear End of Field Backspace Insert Delete These codes are all of the screen editing type, where an automatic Enter would not be desired. The encoded operations just listed will never allow an Auto Enter to occur. For example, global Auto Enter is enabled and a “$C” (forward tab) is scanned. The wireless station will forward tab to the next field but NOT cause an Enter operation, even though the Auto Enter feature has been enabled. The encoded forward tab overrides the Auto Enter mode in this case. However, if a “+D” (d) is scanned, the wireless station places a “d” at the current cursor location. The Auto Enter mode will then cause an Enter to be executed. 10-48

3270 Terminal Emulation Programmer’s Reference Guide

Page 237

SECTION 10

"

Extended Commands

Escape Characters The four escape characters in Table 10-24 yield a 3270 data stream key press equivalent when followed by another character. The escape characters are: $ (dollar) % (percent) + (plus) / (forward slash) For example: 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. "

" NOTE:

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 “/D” sequence.

"

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

"

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

"

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

3270 Terminal Emulation Programmer’s Reference Guide

10-49

Page 238

SECTION 10

"

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.

10-50

3270 Terminal Emulation Programmer’s Reference Guide