Barcode

how to create 2D barcode from ax 2009

First create the method like following on your report element or relevant section

Then

display str 30 barcodeRefNum()
{
Barcode barcode;
;

barcode = Barcode::construct(BarcodeType::Code128);
barcode.string(true, custPackingSlipJour.packingSlipId);

return barcode.barcodeStr();
}

add a string control to your report then use new method as data method.

after that set the alignment, width and height.

at last

the font to your required symbology, “BC C128 Wide”.

Hope this can help.

Obviously it all depends on what type of barcode you want to show. Popular EAN13 barcodes can be provided with BC UPC fonts, and barcode type is EAN13 (Require 13 chars, no more).

I have to generate PDF 417 type of barcode.Can u help me to print this type of barcode in ax 2009?