cancel
Showing results for 
Search instead for 
Did you mean: 

2D barcode - PDF417 in ZPL printer

Former Member
0 Kudos

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..

Regards,

T.....

Accepted Solutions (0)

Answers (1)

Answers (1)

Sandra_Rossi
Active Contributor
0 Kudos

ZPL manual gives an example: [)>_1E01_1D961...

1E and 1D must be preceded by the hex escape character indicated in the preceding ^FH command (_ is the default escape character)