2-16
Data
Preamble
Data Transmitted
123 XYZ XYZ123
12345678 ~3XYZ
XYZ45678
12345678 ~9
12345678
12345678901 ~A
1
123456 ~5
6
Preamble trims leading characters
•
Using the Bar Code ID feature and the
Preamble
, you can trim data
selectively, trimming characters only on the bar code type specified.
To use selective trimming, enter:
~bx
where
b
is the Bar Code ID character (see the
Code 128 setup parameter
)
and
x
is the number of characters to trim from the front of the data. For
example,
~b2~c1
says “trim 2 characters from Code 39 data and 1
character from UPC-A data”. Remember that the
Preamble
trims leading
data. This applies to One-Way and host prompted communication.
•
Lastly, the
Preamble
can be used to check a minimum/maximum data
length for bar code data entered. To check for bar code length in the
Preamble
enter:
|
nnmm
where | is ASCII 124,
nn
is the two-digit minimum and
mm
is the two-digit
maximum. |0210 would check for a minimum of 2 characters and a maxi-
mum of 10. If you try to scan a bar code outside the minimum or maximum
lengths, no decode will result. Entering data by keypad is not affected.
Postamble
Postambles
are user-defined data that is attached to the end of data (bar
code or keyed) that is transmitted to the host by the RF Terminal. For
example, if you set a Postamble of
@@
and scanned bar code data of
12345
,
12345@@
would be transmitted to the host.
•
By default, the RF Terminal has no Postambles configured. Postambles
can contain up to 15 characters scanned from the bar coded FULL
ASCII Menu.
To set a Postamble:
1. Scan
the
Postamble
bar code or select
Postamble
from the
keypad menu.
2. Scan the desired characters (up to 15) from the FULL ASCII Menu.
3. Scan
the
SET
bar code, or if using the keypad, press
ENTER
.
4. To clear the
Postamble
and return to the default (no
Postambles defined), scan
CLEAR
at step #2, and then
continue with your setup.
Other