Skip to Content

PDF417 with Row and Group Separators

Feb 07, 2017 at 10:52 PM


avatar image


I am developing Label in Adobe form which has PDF417 barcode.

Value for that 2D label is shown below.

User will print this label in 200 and 300 Zebra Printer.

I am passing information like this

2d_xrs = '001E'.
2d_xgs = '001D'.
2d_xeot = '0004'.

ASSIGN 2d_xrs TO <2d_rs> CASTING TYPE char01.
ASSIGN 2d_xgs TO <2d_gs> CASTING TYPE char01.
ASSIGN 2d_xeot TO <2d_eot> CASTING TYPE char01.

2d_rsep = <2d_rs>.
2d_gsep = <2d_gs>.
2d_eot = <2d_eot>.

pdf417 = '[)>' && 2d_rsep
&& '06' && 2d_gsep
&& 'P' && p && 2d_gsep
&& 'Q' && q && 2d_gsep
&& '1J' && 1j && 2d_gsep
&& 'V' && v && 2d_gsep
&& '16K' && 16k && 2d_gsep
&& '6D' && 6d && 2d_gsep

&& 2d_rsep && 2d_eot.








I saw some examples in forum but i didn't understand how to do use that code. In some post some one mentioned to Java code but i didn't understand how to use that java code.

So please send me detail steps to print 2D label from Zebra printer.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raghu Govindarajan Feb 07, 2017 at 11:37 PM

What you have is the raw data for the barcode alone. Do a Google search for ZPL 2, that will give you the Zebra programming guides, that will show you how to put together a full label description. If you do it this way, you can declare the printer in SAP as a Generic ASCII and just pass the entire ZPL code to it.

There are several alternatives too. You could use SmartForms with a Zebra print driver. You could use a third party label design tool. You could use a dedicated print server system - which usually have their own design tools - such as BarTender or Loftware. There are many, many ways of getting a label printed - research them, because they all have their pluses and minuses. I often spend several days analyzing a customers use-case before suggesting which method would be best for them, so I would recommend that you do the same. How many different label formats, how many printers, geographical distribution, who handles on-going label design, how do printers get swapped out for service, etc., etc. all factor into the decision. Once you have that down, they way that you actually print will change. Good luck!

10 |10000 characters needed characters left characters exceeded