PDF bar codes guide

The pdf converter supports several bar code types.

This list shows the supported barcode 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 Infor ERP LN programmers guide.

The options set in bc$ are 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 through 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 this property:

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

You can change a specific bar code. For example changing the bar color for all EAN13 bar codes by specifying this property:

EAN13=barColor=#0000FF;

You can change a specific bar code for a specific report. For example changing the bar color for all EAN13 bar codes in report whwmd543001000 can be done by specifying this property:

whwmd543001000.EAN13=barColor=#222222;

All properties that can be set on all the different bar codes can be found in at this web site:

http://www.java4less.com/barcodes/BarcodesGuide.pdf.

These are the properties defaults set by the converter:

  • 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