Commands
GS 0x6B 0x0F 0xC0 0x00 0x00 0x00 0x05 0x3132333435
Prints the following image:
Here, 5 characters are also sent: ABCDE. However, since they are not all numbers,
compression is not used. Rectangles are not excluded, so an 8x18 symbol should be auto-
selected. The element size has been set to 5.
GS ‘k’ 15 t r c m1 m2 dl…dm
GS 0x6B 0x0F 0x05 0x00 0x00 0x00 0x05 0x4142434445
Prints the following image:
PDF417 2D Barcode
PDF417 is a barcode symbology with the following basic characteristics:
n Encodable Character Set:
l Text compaction mode permits all printable ASCII characters to be encoded, i.e.
values 32-126 inclusive in accordance with ISO/IEC 646 (IRV), as well as selected
control characters.
l Byte compaction mode permits all 256 possible 8-bit byte values to be encoded.
This includes all ASCII characters value 0 to 127 inclusive and provides for
international character set support.
l Numeric Compaction mode permits efficient encoding of numeric data strings.
l Various function codewords for control purposes.
n Symbol character structure:
Each PDF417 symbol consist of a stack of vertically aligned rows with a minimum of 3
rows (maximum 90 rows). Each row shall include a minimum of a 1 symbol character
(maximum 30 symbol characters), excluding start, stop and row indicator columns. The
symbol shall include a quiet zone on all four sides. Each character is 17 modules wide:
4 bar and 4 space elements with the largest element 6 module wide. SE450 specifies
each module is 2 dots line wide.
n Maximum possible number of data characters per symbol (at error correction level 0):
925 data codewords which can encode:
l Text Compaction mode: 1850 characters (at 2 data characters per codeword).
l Byte Compaction mode: 1108 characters (at 1.2 data characters per codeword).
l Numeric Compaction mode: 2528 characters (at 2.93 data characters per codeword).
At the minimum recommended error correction level, there is a maximum of 863 data
codewords which can encode:
l Text Compaction mode: 1726 characters (at 2 data characters per codeword).
l Byte Compaction mode: 1033 characters (at 1.2 data characters per codeword).
39