PDF bar codes guide


The pdf converter supports the following bar code types:

-------------------------------------
 TYPE              DLSOFT/bc$ TYPE 
-------------------------------------
 BAR39             9  (Code 39)
 BAR39EXT          19 (Ext Code 39)
 CODE93            37
 CODE11            16
 CODABAR           17
 CODE93EXT         38
 CODE128           10
 EAN13             1
 EAN8              2
 EAN128            11 (GS-128)
 INTERLEAVED25     7  (ITF-14)
 POSTNET           29
 UPCA              5
 UPCE              6
 PDF417            1003
 QRCODE            1010
 DATAMATRIX        1005
 AZTECCODE         1004
-------------------------------------

These bar codes are inserted in the report via the bc$ function. (See the ERP LN programmers guide for more information on bc$.) 
The options set in bc$ are unfortenately not supported, because a different library is used. Instead of the dlSoft, the 
java4less bar code generation library is used.


The bar codes can be adjusted/tweaked via the PDF.properties file. For example changing the bar color, changing the font and changing 
the bar code width for all bar codes, can be done by setting the following property:

BARCODE=barColor=#FF0000;X=20;textFont=Arial-BOLDITALIC-70;leftMarginCM=100;


Changing a specific bar code is also possible. For example changing the bar color for all EAN13 bar codes can  be done by setting the 
following property:

EAN13=barColor=#0000FF;


Changing a specific bar code for a specific report is also possible. For example changing the bar color for all EAN13 bar codes in 
report whwmd543001000 can be done by setting the following property:

whwmd543001000.EAN13=barColor=#222222;


All properties that can be set on all the different bar codes can be found here: http://www.java4less.com/barcodes/BarcodesGuide.pdf.


The defaults for the properties set by the converter are as follows:

resolution=1
barHeightCM=150
leftMarginCM=0
topMarginCM=0
X=5 (For PDF417 this value is 10)
N=2
postnetHeightShortBar=50
postnetHeightTallBar=150
textFont=Arial-NORMAL-35
