Store Label Format and Recall for Printing using ZebraDesigner

Article ID: 35387524

Details


 

Description

Creating and storing a variable label format in printer memory.

Applies To

All Zebra Barcode Printers and ZebraDesigner Software.

Requirements

Available memory on printer for format to be stored.

Overview

Zebra's line of Desktop, Mobile, and Tabletop printers can have a label template (or label format) stored to printer memory, which can then be recalled and printed repeatedly with variable data.  This feature allows an end-user to design a label one time and print it repeatedly with different data to populate the label fields.  Here we explain how to store such a format with ZebraDesigner and recall it with ZPL or CPCL printer language commands.

Procedure

1. Design the Format in ZebraDesigner

Open up ZebraDesigner and create a new label.  You will be asked to associate your newly created label with a printer.  Assuming that the ZebraDesigner driver is installed, select your printer.  For our example, we will proceed with an MZ 320 as our printer.
 

User-added image

At this point, ZebraDesigner will ask for you to configure your label to your liking.  This will include properties such as label margins, orientation, etc.  Once completed, you will have a blank canvas on which to draw.  Insert a text field by clicking on the 'Text' option on the far left.  Use the text tool to draw a text field to the label, and when prompted, chose 'variable text' as the type:

User-added image

 Select 'Keyboard input' and choose next.

 User-added image

Give the field a name.  For our example, we call it "Field1".

 User-added image

At this point, you can optionally include prefix or suffix data.  For our sample, we will leave this blank and instead hit finish.  In this same manner, we create two more dynamic text fields on our canvas.  We also insert a static text field towards the top of our label that says "Test Label".

 User-added image

 

2.  Save the template to the printer

First, we save the ZebraDesigner project to our computer.  To do so, hit File > Save, and select a location and file name.  To save the template to the printer, simply choose the file menu and select 'Export to printer'.  This causes the label that we have designed to be stored to the printer's memory, making it available for recall later.  The format will be stored with the same name as the ZebraDesigner file name.  In our case, the format will be stored to our MZ 320 as "Label1.fmt' since our ZebraDesigner file is called "Label1',

User-added image

 

3.  Recall the template with printer language commands

Depending on your printer model, you may have to recall the format with ZPL or CPCL.  Here we demonstrate the means of recalling the label format for printing with both ZPL and CPCL.  We will use Zebra Setup Utilities, available for free on Zebra.com (see Helpful Information for download), to send the printer language commands. 

Open up Zebra Setup Utilities and select your printer.  Next, select 'Open Communication With Printer':

User-added image

We check to make sure that out format has been stored to the printer by sending the following command:

! U1 getvar "file.dir"

This command is case-sensitive and must end up with a carriage return.  Click 'Send to printer" to see the files stored to our printer.  You should see a format corresponding to the file that you create in ZebraDesigner.

User-added image

Now we can recall the format for printing by sending the following stream of data.  For our example, send the following CPCL commands to the printer.  You can reference the CPCL commands in the CPCL manual, which is available here: Read More>>

User-added image

If you are using a ZPL printer, you can alternatively use the following ZPL to recall the format:

^XA
^XFE:LABEL1.ZPL^FS
^FN11^FDThis is line 1^FS
^FN12^FDThis is a number: 333333^FS
^FN13^FDHello World!^FS
^XZ

Sending the CPCL or ZPL commands should result in a valid print-out, with the sent printer language data populating the label:

 User-added image

 

For further details Read More>>

Helpful Information

ZPL Programming Manual  Read More>>

+ Product Codes

  • 105SLPlus Industrial Printers
  • 105SLPlus Industrial Printers
  • 110PAX Print Engines (disc.)
  • 110Xi4 Industrial Printer
  • 140Xi4 Industrial Printer
  • 170Xi4 Industrial Printer
  • 220Xi4 Industrial Printer
  • 2824 Plus Series
  • 2824-Z Series
  • All Surface RFID Label Solution
  • Desktop Printers
  • EZ320 Mobile Printers
  • G-Series GC Desktop Printers
  • G-Series GK Desktop Printers
  • G-Series GX Desktop Printers
  • GC420d Desktop Printer
  • GC420t Desktop Printer
  • GK420 Healthcare Desktop Printers
  • GK420d Desktop Printer
  • GK420d Healthcare Desktop Printer
  • GK420t Desktop Printer
  • GK420t Healthcare Desktop Printer
  • GT800 Desktop Printer
  • GX420Rx Desktop Printer
  • GX420d Desktop Printer
  • GX420t Desktop Printer
  • GX430d Desktop Printer
  • GX430t Desktop Printer
  • HC100 Wristband Printer
  • HC100 Wristband Printer
  • Industrial Printers
  • LP 2824 Plus Desktop Printer
  • MZ Series
  • Mobile Printers
  • P4T Mobile Printers
  • P4T Mobile Printers
  • Print Engines
  • QL Plus Series Mobile Printers
  • QL Series Mobile Printers
  • QL320 Mobile Printer
  • QL420 Mobile Printer
  • QLn Series Healthcare Mobile Printers
  • QLn Series Mobile Printers
  • QLn220 Healthcare
  • QLn220 Mobile Printer
  • QLn320 Healthcare
  • QLn320 Mobile Printer
  • QLn420 Mobile Printer
  • R110Xi4 RFID Printer
  • RFID Printers
  • RP4T RFID Printers
  • RP4T RFID Printers
  • RW 220 Mobile Printer
  • RW 420 Mobile Printer
  • RW 420 Print Station
  • RW Series Mobile Printers
  • TLP 2824Plus Desktop Printer
  • Xi Series Industrial Printers
  • ZD410 Series
  • ZD410D
  • ZD420 Series
  • ZD420-HC
  • ZD420C
  • ZD500 Desktop Printer
  • ZD500 Desktop Printer
  • ZD500R RFID Printers
  • ZD500R RFID Printers
  • ZE500 Print Engines
  • ZE500 Print Engines
  • ZE500R RFID Print Engine
  • ZE500R RFID Print Engine
  • ZM400
  • ZM600
  • ZQ500 Series Mobile Printers
  • ZQ510 Mobile Printer
  • ZQ520 Mobile Printer
  • ZR300 Series Mobile Printers
  • ZR338 Mobile Printers
  • ZR600 Series Healthcare Mobile Printers
  • ZR600 Series Mobile Printers
  • ZT200 Series Industrial Printers
  • ZT210 Industrial Printer
  • ZT220 Industrial Printer
  • ZT230 Industrial Printer
  • ZT400 Series Industrial Printers
  • ZT400 Series RFID Printers
  • ZT410 Industrial Printer
  • ZT410 RFID Industrial Printer
  • ZT420 Industrial Printer
  • ZT420 RFID Industrial Printer
  • ZebraDesigner
  • ZebraDesigner
  • iMZ Series Mobile Printers
  • iMZ220 Mobile Printer
  • iMZ320 Mobile Printer