Every important Zebra Programming Language command, with syntax, parameters, and copy-paste examples. 92 commands documented and grouped by what they do — from ^FO positioning to ^BC barcodes.
Marks the beginning of a label format (a single label).
Marks the end of a label format and triggers printing.
Sets the print width of the label in dots.
Sets the label length (height) in dots.
Sets the label home position (top-left origin) in dots.
Selects the character encoding / code page for text.
Prints the label normally (^PON) or inverted 180° (^POI).
Selects the scalable font 0 and sets its rotation and size.
Selects a font (A–Z, 0) with orientation and size for a field.
Sets the default font and size for all following fields.
Wraps text into a multi-line block of a set width.
Prints the next field in reverse (white on black).
Allows hex escape codes inside field data.
Selects a scalable/bitmap font by its stored file name.
Assigns a stored font file to a single-letter font slot.
Wraps text inside a defined block width and height.
Prints built-in symbols (registered, copyright, etc.).
Sets default bar width, ratio, and height for barcodes.
Draws a Code 128 barcode — the standard for shipping labels.
Draws a Code 39 barcode (letters, digits, some symbols).
Draws a QR Code 2D barcode.
Draws a Data Matrix 2D barcode.
Draws a PDF417 stacked 2D barcode.
Draws an EAN-13 retail product barcode.
Draws a UPC-A retail barcode (North America).
Draws an Interleaved 2 of 5 (ITF) numeric barcode.
Prints an EAN-8 barcode with the ^B8 command.
Prints a compact UPC-E barcode for small packages.
Prints a Code 93 barcode — a denser successor to Code 39.
Prints a Code 11 barcode, often used for telecom labelling.
Prints a Codabar barcode used in libraries and blood banks.
Prints an MSI (modified Plessey) barcode for inventory.
Prints an Aztec 2D matrix barcode.
Prints a MicroPDF417 stacked barcode for tight spaces.
Prints a USPS PLANET Code barcode.
Validates barcode data and marks invalid codes on the label.
Draws a box, line, or filled rectangle.
Draws a circle of a given diameter and border.
Draws a diagonal line between two corners of a box.
Draws an ellipse within a bounding box.
Embeds a bitmap image directly in the label.
Recalls a stored image from printer memory.
Downloads a graphic, font, or image file into printer memory.
Places a stored image onto the label at the current position.
Saves the current label format as a reusable image in memory.
Deletes stored graphics, fonts, or objects from printer memory.
Copies a stored object from one memory location to another.
Supplies the actual text or barcode data for a field.
Ends the current field definition.
Defines a numbered placeholder for reusable templates.
Auto-increments a field across a batch of labels.
Auto-increments a field by a mask and step on each label.
Supplies variable data, cleared automatically after printing.
Inserts real-time clock values into a field.
Defines several origin points for fields in a stored format.
Sets character direction and spacing for a field.
Sets the printer's Real-Time Clock date and time.
Sets how many copies of the label to print.
Sets print speed and slew/backfeed speeds.
Adjusts print darkness (heat) for the label.
Sets the print mode (tear-off, peel, cutter, rewind).
Adds a non-printing comment to the ZPL.
Stores a reusable label template in printer memory.
Recalls a stored template and fills in its fields.
Changes the caret (^) format command prefix.
Changes the tilde (~) control command prefix.
Tells the printer how to detect the top of each label.
Selects direct-thermal or thermal-transfer printing.
Switches coordinate units between dots, inches and mm.
Controls whether the bitmap is cleared after each label.
Shifts the entire label vertically by a number of dots.
Shifts the entire label horizontally by a number of dots.
Reverses print (white on black) for the whole label.
Mirrors the entire label left-to-right.
Feeds the media a set number of dot rows with no printing.
Halves the print resolution to speed printing or save memory.
Sets the print darkness (burn temperature) immediately.
Manually sets media and ribbon sensor calibration values.
Asks the printer to return its status to the host.
Returns the printer model, firmware version, and DPI.
Returns the printer's current configuration to the host.
Returns a list of objects stored on a memory drive.
Prints a label listing the objects stored in memory.
Saves, restores, or resets printer settings.
Controls whether a label reprints after an error clears.
Restarts the printer as if power-cycled.
Sets baud rate, parity, and other serial-port parameters.
Selects ZPL or ZPL II command interpretation.
Sets the printer's name and description.
Paste any ZPL into the free viewer to see it render, convert it to PDF or PNG, or check it for errors — all in your browser.