PreviousNext

Template String

Definition:
A Template String defines an arrangement of OCR characters that will be decoded when they are in the field of view. User templates must be a NULL-terminated data string made up of various control codes along with standard ASCII values. The control codes are assigned to ASCII values less than 32. The default template defines a string of eight alphanumeric OCR-A or OCR-B characters.
Serial Cmd:
<K462,length,template string>
Default:
0103070707070707070700
Options:
A string of Hex values. Each value can range from 00 - FF.

Examples:

DGOPQUVW

<K462,11,0103070707070707070700> (eight OCR-A or OCR-B characters)

123457

<K462,9,010307070707070700> (six alphanumeric OCR-A or OCR-B characters)

<K462,9,010105050505050500> (six numeric OCR-A characters)

<K462,5,0101050E0600> (six numeric OCR-A characters, repeating)

ABDEFGHI

<K462,11,0101070707070707070700> (eight OCR-A characters)

JKLMIOP

<K462,10,01010707070707070700> (seven OCR-A characters)

QRSUVW

<K462,9,010107070707070700> (six OCR-A characters)

12345

<K462,8,0101070707070700> (five OCR-A characters)

Template String Examples (cont.)

0987

<K462,7,01010707070700> (four OCR-A characters)

ABDEFGHI

JKLMNOPQ

<K462,20,0103070707070707070702070707070707070700>

(two lines of eight OCR-A characters)

ABDEFGHI

JKLMNO

<K462,28,010307070707070707070207070707070700>

(one line of eight and one line of 6 OCR-A characters)

ABDEFGHI (OCR-A)

JKLMNOPQ (OCR-B)

<K462,20,010307070707070707070103070707070707070700>

(two templates: OCR-A and OCR-B)

(Will read these two lines in the field of view as two symbols.)


PreviousNext