Thursday 24 August 2006

Appending Ctrl-S to the data from an Caere Easy Scanner 2033A


What we do is enable the barcode reading with EDIT required.
We then edit the barcode data and can control the output.

Are they all the same code, ie Code 39?
Or could the special barcode be a different code 128?

I need to know what codes they are reading.
for instance code 39.

//192//DFIJ
This command requires that all Code 39 data must pass an edting "D" field.
192 = Code 39
A = Enable with Edit Required
F = Full ASCII
I = CD xmit off
J = Field Accumulate Off

In our editng parameters:
D Fields define an input picture
U Fields output Processing
Data gets passed to the editor in order D1, then D2 etc.
If it passes the Input edit it gets processed, if not then the next field.

a simple edit field.
/D1/002/"ZZZZ"/
/U1//0RX1498F014X
/D2/002/44R/
/U2//4RX5AX/

D1 define Field 1, 002 Use output processing
"ZZZZ" input data must be literal "ZZZZ"
U1 define Output Processing for D1
0R 0=Suppress R=Repeat
X1498F014X insert hex value
14h Make Left CTRL Key
98h S
F0h Break
14h Left Control Key

D2 define Field 2, 002 Use output processing
44R Require 4 Anything, R repeat
U2 define output processing for D2
4R=Output anything, R=Repeat, Insert 5Ah (CR)

In the above example data ZZZZ meets edit D1 and gets processed pper D1.
Suppressed and Left CTRL is inserted.
Anything other then ZZZZ wil meet the D2 field, data sent with A CR postamble.

I need to know from you the following and I will send you a program you can load into a 2033.

The special Barcode to trigger CTRL S
Do you want the LEFT CTRL Key or the RIGHT.
What Code you will be reading.