2-17
•
You can use the
Postamble
to trim characters from the data you are
entering into the RF Terminal. You can trim from 1-15 characters from
the data by creating a Postamble of:
~x
where ~ is ASCII 126 and x is a single hex digit 1-F (corresponding to
1-15). Data that is shorter than the trim amount is transmitted without
trimming. Postambles trim characters from the end of the data. Here
are some examples:
Data
Postamble
Data Transmitted
123 XYZ 123XYZ
12345678 ~3XYZ
12345XYZ
12345678 ~9
12345678
12345678901 ~A
1
123456 ~5
1
Postamble trims trailing characters
•
Using the Bar Code ID feature and the
Postamble
, 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 end 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
Postamble
trims trailing data.
•
Lastly, the
Postamble
can be used to check a maximum character
length for data entered. To check for length in the
Postamble
, 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 maximum 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.
Characters
This setting allows the RF Terminal to output chosen ASCII characters in
place of the actual characters entered. For example, if you scanned the
number
1
(
hex 31
) and wanted the RF Terminal to output
hex 92
instead,
you would enter
3192
for the
Characters
parameter. This would re-assign
the output characters, with the RF Terminal outputting
hex 92
every time it
sees
hex 31
. To re-assign characters:
•
Scan
Characters