www.Pegasustech.net
3-33 G1-G4 & C1-C2 & FN1 substitution string setting
Format of barcode data transmission
Prefix
Code name
Preamble
Code ID
Code length
Code data
Code ID
Postamble
Suffix
Suffix string setting:
The <enter > key is represented in different ASCII when it is applied by different
OS.
For a Windows/DOS OS, <enter> is represented as <CR><LF> (0x0D 0x0A); for an Apple MAC OS, <enter>
is represented as <CR> (0x0D); for a Linux/Unix OS, <enter> is represented as <LF> (0x0A).
Prefix/Suffix string setting
&
Preamble/Postamble string setting:
They are appended to the data automatically when a barcode is decoded.
Example: Add a symbol of “$” as a prefix for all symbols.
Steps:
1) Scan SETUP and Prefix string setting barcode.
2) Use the ASCII table to find the value of $
→
24.
3) Scan 2 and 4 from the barcode on the foldout back page.
4) Scan END barcode.
Scanning steps: Scan the following barcodes in order.
Insert G1/G2/G3/G4 string setting:
The scanner offers 4 positions and 4 character strings to insert
among the symbol.
Example: Set G1 string to be “AB”.
Original code data
“1 23456”
Output code data
“1 2AB3456”
Steps:
1)
Scan SETUP and Insert G1 string setting barcode “8005”.
2) Use the ASCII table to find the value of A
→
41, B
→
42.
3) Scan 4, 1 and 4, 2 from the barcode on the foldout back page.
4) Scan END barcode.
3-34 G1-G4 string position & Code ID position
3-7 Scan mode & some global settings
Testing barcode:
FN1 substitution string setting:
The FN1 character (0x1D) in an UCC/EAN128 barcode, or a Code
128 barcode, or a GS1 DataBar barcode can be substituted with a defined string.
Truncate leading G5 string setting:
By setting, a defined leading character or string can be truncated.
Also a single character can be un-defined.
Repeat of a G5 character setting:
While G5 is set as a single defined/un-defined character, G5 can
76