Star Micronics Line Thermal/Dot Printer User Manual
Page 145

Rev. 0.00
3-133
STAR Line Mode Command Specifications
3-9) 2-dimensional Bar Codes PDF417 Command Details
This command prints 2-dimensional bar codes PDF417.
Commands for 2-dimensional bar codes PDF417 are separated into the following four functions.
1) Bar code type setting
(
2) Bar code data setting
(
3) Bar code printing
(
4) Get bar code expansion information
(
The details of the functions are outlined below.
1) Bar code type setting
These commands set the bar code type.
These are all set to default. Only use them if you wish to make changes. (Refer to following details for settings.) )
PDF417 are composed of fixed patterns for start and stop, and bar patterns called code words.
Code words are composed of 17 modules.
Specify the p1 and p2 values using
With the USE_LIMITS mode, specify the ratio of p1 and p2; with the USE_FIXED mode, specify the p1 (number of
lines) and p2 (number of code words per line).
Specify the error correction level value using
It is possible to read PDF417 even part of the data is corrupted, using error correction.
If this level is raised, the bar code size is increased because there is more backup information.
Specify the size of the module that composes code words using
The X direction size of the module is determined by
determined from an aspect ratio using
The module size setting is the basis for the generated bar code image, so print results will differ according to these
settings.
Vertical Size (Dots)
Horizontal Size (Dots)
640
640
p1
p2
START
STOP
4
1 1 1 1 1 3
5