Create ZPL Code from a Sticker Template in ManufApp

Create ZPL Code from a Sticker Template in ManufApp

Objective

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.

What is ZPL?

ZPL stands for Zebra Programming Language. It defines how the sticker will be printed, including label size, text position, barcode placement, and field values.


Step 1: Open the Sticker Template

Go to:

Masters → Sticker Templates

  1. Select the required sticker template, such as VERTICAL.

  2. Open the template.

  3. In the Default tab, check the sticker preview shown on the right side.

  4. Take a clear screenshot of the complete sticker preview.

This screenshot will be used to generate the ZPL code.


Step 2: Generate ZPL Code Using AI

Open an AI assistant such as ChatGPT or Claude.

  1. Paste the screenshot of the sticker preview.

  2. Enter a prompt with the required label size and printer DPI.

Prompt to Use

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.


Step 3: Copy the Generated ZPL Code

Once the ZPL code is generated:

  1. Review the generated code.

  2. Copy the complete code block.

The code will begin with ^XA and end with ^XZ.

Example:

^XA

^CI28

^PW640

^LL320

...

^XZ



Step 4: Paste the ZPL Code in ManufApp

Go back to the selected sticker template in ManufApp.

  1. Open the ZPL कोड tab.

  2. Paste the copied ZPL code into the text box.

  3. Click Update to save the template.

The sticker template is now ready for ZPL-based printing.


Available Keys in ManufApp ZPL

While preparing the ZPL template, use the available dynamic keys shown in the right-side panel of the ZPL कोड tab.

Available fields may include:

Field

Field

Lot ID

IC

Item Name

M/C

HN

Work Order

Shift

OPR

Production Qty

Mfg. Date

CIC

Customer Item Name

Length

NW

TW

GW

Serial Number

Sales Order

Use these keys in the ZPL code so the actual transaction or production data prints automatically on the sticker.


Important Notes

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

    • Related Articles

    • How to Create a Sticker Template in ManufApp

      🎯 Objective To guide users in configuring a sticker template (QR Code or Barcode) for machines, packs, or items, enabling efficient scanning and traceability on the shop floor. 🛠️ Steps to Create a Sticker Template 1. Navigate to Sticker Templates ...
    • What is the difference between a Primary Key and Secondary Key in a sticker template?

      When setting up a sticker template in ManufApp, you’ll define how the code is generated using keys: The Primary Key is the main piece of information that identifies the object. For example, this could be the Item Name, Lot ID, or Work Order. The ...
    • What is the purpose of a Sticker Template in ManufApp?

      A Sticker Template in ManufApp is used to generate Barcodes or QR Codes that contain key information like Item Name, Work Order, Machine ID, and more. These codes can be printed as stickers and used on items, machines, or packages across your shop ...
    • TSC TE244 Printer Setup Guide for ManufApp Sticker Printing

      Objective This guide explains how to set up the TSC TE244 label printer on Windows, configure the required sticker size, and print stickers correctly from ManufApp. Step 1: Download and Install the Printer Driver Download the TSC TE244 printer driver ...
    • How to Create a Vendor on Manufapp

      How to Create a Vendor in the Manufapp System Access Vendor Master: Go to the Master section in the Manufapp portal. Click on Vendors. View Existing Vendors: You will see a list of vendors that have already been created. Create a New Vendor: Click on ...