This guide explains how to generate ZPL code from an existing sticker preview using an AI assistant and save it in ManufApp for printing on a thermal label printer.
ZPL stands for Zebra Programming Language. It defines how the sticker will be printed, including label size, text position, barcode placement, and field values.
Go to:
Masters → Sticker Templates
Select the required sticker template, such as VERTICAL.
Open the template.
In the Default tab, check the sticker preview shown on the right side.
Take a clear screenshot of the complete sticker preview.
This screenshot will be used to generate the ZPL code.
Open an AI assistant such as ChatGPT or Claude.
Paste the screenshot of the sticker preview.
Enter a prompt with the required label size and printer DPI.
Prompt to use:
I want the ZPL code for this sticker template along with the sticker size on which it needs to be printed like 80mm × 40mm — write the prompt and generate ZPL.
💡 Tip: Adjust the size (80mm × 40mm) to match your actual label dimensions if different.
The AI will generate the ZPL code based on the sticker layout and dimensions provided.
Once the ZPL code is generated:
Review the generated code.
Copy the complete code block.
The code will begin with ^XA and end with ^XZ.
Example:
^XA
^CI28
^PW640
^LL320
...
^XZ
Go back to the selected sticker template in ManufApp.
Open the ZPL कोड tab.
Paste the copied ZPL code into the text box.
Click Update to save the template.
The sticker template is now ready for ZPL-based printing.
While preparing the ZPL template, use the available dynamic keys shown in the right-side panel of the ZPL कोड tab.
Available fields may include:
Use these keys in the ZPL code so the actual transaction or production data prints automatically on the sticker.
Always provide the exact label size while generating ZPL code.
For a TSC TE244 printer, use 203 DPI while generating the code.
At 203 DPI, an 80 mm wide label is approximately 640 dots wide.
Replace hardcoded sample values with the correct ManufApp dynamic keys.
Print a test sticker after saving the ZPL code to check alignment, barcode readability, and field placement.
Update the ZPL code again if any text, barcode, or field is not positioned correctly.