Skip to Content
Former Member
May 06, 2010 at 07:14 PM

2D barcode - PDF417 in ZPL printer


Hello All,

I am trying to print 2D barcode in PDF417, using the below code.

CONCATENATE '[)>' '1E' '06' '1D' 'P' w_partno

'1D' 'Q' w_quantity

'1D' 'V' w_supplier

'1D' 'D' l_date

'1D' 'M' w_serial

'1E' '04'

INTO w_2d.

The barcode was printing fine. But now the client requirement is to use the seperator as 'chr(30)' intsead of 'ID'.

Similarly 'chr(29)' instead of 'IE'. we tried changing that and now it is not printing the 2D barcode as the number of characters is exceeding.

In the SPOOL i can see all the characters, but 2D barcode is not printed.

W_2d is defined as string to accomodate more characters but still not sure why it is not printing.

Also, when we remove any fields or reduce the number of characters then we can see the barcode is printing fine. not sure with the problem happening. Can anyone help us here..