Rev. 0.00

3-133

STARLineModeCommandSpecications
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 (<ESC><GS>“x”“S”)

2) Barcodedatasetting (<ESC><GS>“x”“D”)

3) Barcodeprinting  (<ESC><GS>“x”“P”)

4) Getbarcodeexpansioninformation (<ESC><GS>“x”“I”)

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<ESC><GS>“x”“S”“0.”

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<ESC><GS>“x”“S”“1.”

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<ESC><GS>“x”“S”“2”and<ESC><GS>“x”“S”“3.”

TheXdirectionsizeofthemoduleisdeterminedby<ESC><GS>“x”“S”“2”andtheYdirectionsizeofthemoduleis

determinedfromanaspectratiousing<ESC><GS>“x”“S”“3.”

The module size setting is the basis for the generated bar code image, so print results will differ according to these

settings.

<PrintableBarCodeSize>

Vertical Size (Dots) Horizontal Size (Dots)
640 640
p1
p2
START STOP
4
1
1
3
5

<Code Word>