|
Code 128
Code 128 is variable length and encodes the full
128 ASCII character set. Each character is represented
by 11 modules that can be one of four bar widths. Code
128 is the most easily read code with the highest message
integrity due to several separate message check routines.
Of all the common linear symbologies, Code 128 is the
most flexible. It supports both alpha and numeric characters
easily, has the highest number of characters per inch,
and is variable length. Code 128 is usually the best
choice when implementing a new symbology.
Append
It is sometimes advantageous to break up long
messages into multiple, shorter symbols. If the first
character of a Code 128 symbol is a Function Code 2
(FNC2), then the scanned symbol is appended to a storage
buffer. This operation continues for all successive
Code 128 symbols with a FNC2 being added to previously
stored ones. When a Code 128 symbol is scanned which
does not include a FNC2, it is appended to the buffer,
the entire buffer is transmitted, and the buffer is
cleared.
|