Optional extensions for 2D symbologies

The ability to print 2D symbols (PDF-417, DataMatrix, Maxicode, QR Code, etc.) is an optional extra.

If you have a barcode.dll that supports a 2D symbology printing, SAPLPD will display a message similar to;

Enabled: PDF-417, DataMatrix, Maxicode, QR Code, ...

Also, if 2D is enabled, you will find 2D links on the index page here.

Specifying 2D options

Because the configuration options for 2D symbols are complex, they cannot be stored in a Printer Control.

The Printer Control is used only to select a set of options from the barcode.ini file.

Example: The Printer Control is very simple;

bM=9,D=

The barcode.ini file might look like this;

M=9,C=PDF-417,S1=3,L1=4,H=12,C=4,R=5,T=0,E=1,EC=2,F=C:\DATA.TXT

All 2D symbology have some common options and some unique options.

Unique options, for PDF-417, include;

T=<Flag>

To produce a Truncated PDF-417 symbols use T=1.

EC=<Level>

EC=1 selects Error Correction level.

C=<Columns>

C=4 selects the number of data columns in the symbol, which affects the width. Usually R= and C= are nor used together.

R=<Rows>

R=5 selects the number of data rows in the symbol, which affects the height. Usually R= and C= are nor used together.

Common options, for most 2D symbologies, include;

F=<Filename>

Data file containing data to encode in the symbol.

S1=<Width>

Width in device units (pixels) i.e. module width or x dimesion.

L1=<Width>

Width in device units (pixels) i.e. module width or x dimesion. Usually S1=L1, but they may differ to implement bar width reduction.

H=<Height>

Most 2D symbols are composed of rows of modules. Usually H= refers to the row height of the rows, in device units (pixels) .

 

 


Copyright 2000 CIA (BAR CODES) UK. All rights reserved. Reproduction prohibited.