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 37

Native Terminal Emulation Programmer's Guide: Chapter 6: Terminal Commands, pages 207 to 216

Pages 207 to 216 of 340, from Native Terminal Emulation Programmer's Guide

The original document is the PDF (2.9 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 2435

Page 207

6

Terminal Commands

This chapter describes each terminal command with detailed information.

Native Terminal Emulation Programmer’s Guide

187

Page 208

Chapter 6, Terminal Commands

G (Reset Terminal) The G command returns the terminal to its first “state,” a known condition. All terminals reset when variable t (terminal number) is omitted. Terminals respond to a poll with their power-up message. In the command, the range of t is 000–126. If the data collection server or gateway is configured for three-byte addressing, t is three digits. For onebyte addressing used by some Intermec legacy systems, t is a character from 0–9 or A–F.

Command Gt<cr> (reset specific terminal) G<cr> (reset all terminals)

DCS or Gateway Response OK<cr>

R Response tP,x<cr>

R Response Variables S t

Terminal number (000–126)

S P

Terminal has reset or powered-up

S x

Terminal power-up type (See the “Terminal Power-Up Types” table on page 177.)

Example Command: G002<cr> Action: Data collection server or gateway resets terminal 002. R Response: 002P,032<cr>

188

Native Terminal Emulation Programmer’s Guide

Page 209

Chapter 6, Terminal Commands

StD/ (Set Terminal Parameters) Note: This is for 6400, 5055, 59XX, 17XX, 11XX Terminals only. StD/ sets terminal operating control parameters once, when you power up the terminal.

Command StDo/c<cr>

DCS or Gateway Response OK<cr>

R Response tC0<cr>

Command and R Response Variables S t

Terminal number (000–126)

S o

Option (see the “StD/ Options” table below)

S c

Bar code parameter (default: UPC/EAN). Lengths default to a maximum of 31 and a minimum of 1 (see the “StD/ Bar Code Parameters” table below).

StD/ Options o

Description

Default

B

Disable key-pressed buzzer

Enabled

Dx Duration of buzzer for Write Display command and input errors. x=0-9 in 30 ms increments.

120 msec (x=4)

Fx x=character that appears for the [FUNC] key (\ not allowed)

<space>

Sx x=character that appears for the [SKIP] key <space> (\ not allowed)

<space>

Tx

Gross time-out duration (x=0-255 sec)

30 sec

Native Terminal Emulation Programmer’s Guide

189

Page 210

Chapter 6, Terminal Commands

StD/ Bar Code Parameters Byte Position Description

Bit Position

1

Bar code block number (reserved).

01000000

2

Bit 4=Enable scanner Bit 3=CCD select Bit 2=Wand select Bit 1=CCD redundancy bit Bit 0=Laser scanner redundancy bit

001XXXXX

3

Bit 4=Disable bar code type character Bit 3=Unused Bit 2=Unused Bit 1=Must be 0 Bit 0=Enable MOD 10 check digit

001X00XX

4

Maximum bar code length. Bits 0-4=Length

010XXXXX

5

Minimum bar code length. Bits 0-4=Length

010XXXXX

6

Bit 4=Decode UPC Bit 3=Decode UPC with add-ons Bit 2=Expand UPC E to UPCA Bit 1=Enable UPC E type 1 only

001XXXX0

7

Bit 4=Decode EAN Bit 3=Decode EAN with add-ons

001XX000

8

Bit 4=Decode Code 39 Bit 3=Decode extended Code 39

001XX000

9

Plessey control algorithms: Bit 4=Decode Plessey Bit 3=0 (Discard 2nd check digit) Bit 3=1 (Keep 2nd check digit) Bit 2=0 (Validate 1st check digit) Bit 2=1 (Do not validate) Bit 1=0 (Discard 1st check digit) Bit 1=1 (Keep 1st check digit) Bit 0=0 (MOD 11, 1st check digit) Bit 0=1 (MOD 10, 1st check digit)

001XXXXX

10

Enable Codabar algorithms. Bit 4=Decode ABC Codabar Bit 3=Decode Codabar

001XX000

11

Enable Code 11 algorithm. Bit 4=Decode Code 11

001X0000

12

Enable Code 93 algorithm. Bit 4=Decode Code 93

001X0000

13

Enable Code 128 algorithm. Bit 4=Decode Code 128

001X0000

14

Enable Straight 2 of 5 and Computer Identics 2 of 5 algorithms. Bit 4=Decode Straight 2 of 5 Bit 3=Decode C-Identics 2 of 5

001XX000

190

Native Terminal Emulation Programmer’s Guide

Page 211

Chapter 6, Terminal Commands

StD/ Bar Code Parameters (continued) Byte Position Description

Bit Position

15

Maximum bar code length for Straight and Computer Identics 2 of 5. Bits 0-4=Length

010XXXXX

16

Minimum bar code length for Straight and Computer Identics 2 of 5. Bits 0-4=Length

010XXXXX

17

1st fixed bar code length for Straight and Computer Identics 2 of 5. Bits 0-4=Length

010XXXXX

18

2nd fixed bar code length for Straight and Computer Identics 2 of 5. Bits 0-4=Length

010XXXXX

19

Enable Interleaved 2 of 5 algorithm. Bit 4=Decode Interleaved 2 of 5

001X0000

20

Maximum bar code length for Interleaved 2 of 5. Bits 0-4=Length

010XXXXX

21

Minimum bar code length for Interleaved 2 of 5. Bits 0-4=Length

010XXXXX

22

1st fixed bar code length for Interleaved 2 of 5. Bits 0-4=Length

010XXXXX

23

2nd fixed bar code length for Interleaved 2 of 5. Bits 0-4=Length

010XXXXX

Enable a bar code by giving the parameters at least as many bytes as the position of the desired control byte. For example, to enable Plessey, parameters must have at least nine bytes. When bit positions have been determined, ASCII equivalents integrate into the following character. 01011101=5D (hex)=“]” (ASCII) StD B

T5 / @ 0 0 O H 4 8 0

8 <cr>

StD/ (Set Terminal Parameters) command

Enable ABC Codabar <space> Disable Plessey Enable Code 39

Disable buzzer Set comm. loss timer to 5 seconds

Reserved control byte Enable scanner, do not select wand, CCD or Redundancy (defaults to laser in use) Do not send bar code type as first character

Enable EAN EAN with add-ons Enable UPC Expand UPCE to UPCA

48H=01 001000=810 Minimum length=8 4FH=01 001111 Maximum bar code length=15

This illustration shows an example of an expanded StD/ command code.

Native Terminal Emulation Programmer’s Guide

191

Page 212

Chapter 6, Terminal Commands

The following is a bit pattern hexadecimal to ASCII chart. Hexadecimal-to-ASCII Chart Bit Pattern

Hex

ASCII

Bit Pattern

Hex

ASCII

Bit Pattern

Hex

ASCII

00100000

20

<space>

01000000

40

@

01100000

60

‘

00100001

21

!

01000001

41

A

01100001

61 a

00100010

22

”

01000010

42

B

01100010

62 b

00100011

23

#

01000011

43

C

01100011

63 c

00100100

24

$

01000100

44

D

01100100

64 d

00100101

25

%

01000101

45

E

01100101

65 e

00100110

26

&

01000110

46

F

01100110

66 f

00100111

27

’

01000111

47

G

01100111

67 g

00101000

28

(

01001000

48

H

01101000

68 h

00101001

29

)

01001001

49

I

01101001

69 i

00101010

2A

*

01001010

4A

J

01101010

6A j

00101011

2B

+

01001011

4B

K

01101011

6B k

00101100

2C

,

01001100

4C

L

01101100

6C l

00101101

2D

-

01001101

4D

M

01101101

6D m

00101110

2E

.

01001110

4E

N

01101110

6E n

00101111

2F

/

01001111

4F

O

01101111

6F o

00110000

30

0

01010000

50

P

01110000

70 p

00110001

31

1

01010001

51

Q

01110001

71 q

00110010

32

2

01010010

52

R

01110010

72 r

00110011

33

3

01010011

53

S

01110011

73 s

00110100

34

4

01010100

54

T

01110100

74 t

00110101

35

5

01010101

55

U

01110101

75 u

00110110

36

6

01010110

56

V

01110110

76 v

00110111

37

7

01010111

57

W

01110111

77 w

00111000

38

8

01011000

58

X

01111000

78 x

00111001

39

9

01011001

59

Y

01111001

79 y

00111010

3A

:

01011010

5A

Z

01111010

7A z

00111011

3B

;

01011011

5B

[

01111011

7B

{

00111100

3C

<

01011100

5C

\

01111100

7C

|

00111101

3D

=

01011101

5D

]

01111101

7D

}

00111110

3E

>

01011110

5E

^

01111110

7E

~

00111111

3F

?

01011111

5F

_

01111111

7F

DEL

192

Native Terminal Emulation Programmer’s Guide

Page 213

Chapter 6, Terminal Commands

WtB (Audio Annunciator) WtB turns on the terminal audio tone for a specified time, in increments of 1/4 second up to 2.25 seconds.

Command WtBd<cr>

DCS or Gateway Response OK<cr>

R Response tC0<cr>

Command and R Response Variables S t

Terminal number (000–126)

S d

Audio tone duration times 250 milliseconds (1–9 seconds)

Example Command: W010B8<cr> Action: Terminal 010 sounds tone for 2 seconds.

Native Terminal Emulation Programmer’s Guide

193

Page 214

Chapter 6, Terminal Commands

WtD/ (Write Display) WtD/ sends data to a terminal and enables its response. WtD/ downloads the prompt, which appears on the terminal, and sets up input parameters. The single input field is returned to the host.

Command WtDo/x<cr>

DCS or Gateway Response OK<cr>

R Response tKrd<cr> tSrbcm<cr>

Data returns to the host when: 1 You press the [ENTER] key. 2 The field is filled and the [ENTER] option is disabled. 3 The display scrolls to the top or bottom with the wrap disabled. 4 The scanner reads a valid bar code.

Command Variables S t

Terminal number (000–126)

S o

Options (see the “Write Display Options” table on the next page)

S x

Data

| (0x7C) Allows all command extensions

(see “Command Extensions” on page 196)

194

Native Terminal Emulation Programmer’s Guide

Page 215

Chapter 6, Terminal Commands

Write Display Options o

Description

Default

.

The “.” (decimal point) key is always allowed if the N option is not set.

Not allowed if the N option is set.

-

The “-” (minus sign) key is always allowed if the N option is not set.

Not allowed if the N option is set.

B

Sounds tone (StD/ sets the duration)

Tone off

C

Displays cursor

Not displayed

D

Displays keyed-in data

Not displayed

E

[ENTER] required to transmit data

Not required

F

Current row returns as first character. All information is sent as a single block, not 112-byte blocks.

Not returned

Hx x=maximum length of keyboard input data. Values are 0-109.

3

Lx x=minimum length of keyboard input data. Values are 0-109.

0

M

MOD 10 check if option N is set, and options “.” and “-” are not set

No check

N

Numeric input data only

Alphanumeric

O

When the O option is enabled, the line with the cursor is in reverse video.

All the lines are shown in standard video

Px x=starting position of keyboard input. Values are 0-127.

0

Q

When the Q option is used and the [SKIP] key is pressed, the terminal automatically transmits the [SKIP] key to the host.

If Q is not used, the [SKIP] key is not auto-transmitted.

S

Enable scanning

Not enabled

U

Sets keyboard to SHIFT mode

Not shifted

W

Enables scroll wrap (up or down)

Not enabled

R Response Variables S t

Terminal number (000–126)

S K

Keyboard data

S r

Optional ASCII display row number

S d

Keyboard input data

S S

Scanner data. If “F” option is enabled, response is always “S.”

S b

Bar code type

S c

Bar code data

S m

MOD 10 check digit, if enabled

Native Terminal Emulation Programmer’s Guide

195

Page 216

Chapter 6, Terminal Commands

Example W002DDCBSH6L3P16/SCAN BARCODE<cr> where: S D=display key data in the display S C=cursor displayed S B=beep when displayed S S=enable scanning S H6=maximum key data is 6 S L3=minimum key data is 3 S P16=cursor is in position 16 Response: SCAN BARCODE

Command Extensions The vertical bar character “|” allows the following extensions.

Bank Data to be substituted for |Dxx allows for a macro extension defined by the WtD/\B (Set Bank) command. Following are Bank limitations: S Banks cannot be nested. S Banks cannot recursively call other banks inside the extension. S A field retains its own prescribed limitations. S WtD/ (Write Display) command of up to 1000 characters.

Syntax |Dxx (00 ≤ xx ≤ 99)

Blank Syntax |xx (00 ≤ xx ≤ 99 blank spaces)

Beep The terminal beeps for the length defined by the StD/ command for each occurrence of the |B extension.

Syntax |B

Cursor Position The cursor (if enabled) appears at this location.

Syntax |C

196

Native Terminal Emulation Programmer’s Guide