Generate ZPL file to be used for printing

mani kumar picture mani kumar · Aug 19, 2014 · Viewed 8k times · Source

We have to create a ZPL for the label we need to print. For now we are creating the ZPL file by appending tags as follows

^XA^CFD^PW584^FS
^PON^FS
~DGR:IMG1.GRF,15042,23,....
^FO250,770^XGR:IMG1.GRF,1,1^FS
^IDR:IMG1.GRF^FS
^XZ

Can we generate the ZPL file for our label automatically because presently we are facing different issues while creating ZPL as the printing is not happening correctly.

We are using Zebra Designer Pro to create the templates. Than we are flashing the template on the printer thru the printer IP. But we have to create ZPL to pass the parameters to the template which is creating an issue. Our template layout is very simple. Thanks is advance, as we are stuck at this problem.

Answer

Nipun Anand picture Nipun Anand · Aug 25, 2014

You can generate ZPL for the label using Zebra Designer Pro. Please do the following:

Step1: Create the template:

Step2: Print the template: After designing you template choose option to print the template and

Prinitng ZPL To File

Step3: Open the .prn file containing the ZPL for the template you have designed