0% found this document useful (0 votes)
179 views3 pages

Zebra Label Formating

The document provides guidelines for formatting labels using Zebra ZPL commands applicable to all current Zebra label printers. It details various commands such as N for clearing the image buffer, A for printing ASCII text, P for printing label sets, and B for printing barcodes, along with their syntax and parameters. Additionally, it includes several real-world examples demonstrating the use of these commands in label creation.

Uploaded by

vludnv
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
179 views3 pages

Zebra Label Formating

The document provides guidelines for formatting labels using Zebra ZPL commands applicable to all current Zebra label printers. It details various commands such as N for clearing the image buffer, A for printing ASCII text, P for printing label sets, and B for printing barcodes, along with their syntax and parameters. Additionally, it includes several real-world examples demonstrating the use of these commands in label creation.

Uploaded by

vludnv
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

ZEBRA ZPL - LABEL FORMATTING COMMANDS

These will work for all current Zebra label printers. Just open any Zebra (.lbl) label definition file and edit
the commands using the guidelines below.

Basic Command Syntax.

Each command consists of one or two ASCII (case sensitive) alpha characters to identify the specific
command desired. Some commands require one or more additional parameters to supply the printer with
sufficient information to complete the command.

1. N Command - Clear Image Buffer

This command clears the image buffer prior to building a new label image.

Syntax: N

Example

N clears the image buffer

2. A Command - ASCII Text

Prints an ASCII text string.

Syntax: Ap1,p2,p3,p4,p5,p6,p7,“DATA”

Parameters:

p1 = Horizontal start position (X) in dots.


p2 = Vertical start position (Y) in dots.
p3 = Rotation
p4 = Font selection
p5 = Horizontal multiplier, expands the text horizontally.
p6 = Vertical multiplier, expands the text vertically.
p7 = N for normal or R for reverse image
“DATA” = Represents a fixed data field.

Example

A10,10,0,4,1,1,N,"Test Object name"


A150,1,0,3,2,2,N,"ezFreezer"

3. P Command – Print

Use this command to print the contents of the image buffer.


Syntax Pp1, [p2]

Parameters:

p1 = Number of label sets


p2 = Number of copies of each label

Example

P1 prints one label set

Bar Codes.

All barcodes supported by the EPL2 language have associated industry specifications that the
programmer should be aware of and adhere to. The programmer needs to consider barcode features and
requirements when choosing and using a barcode for different applications.

4. B Command - Bar Code

Use this command to print standard barcodes.

Syntax: Bp1,p2,p3,p4,p5,p6,p7,p8,“DATA”

Parameters:

p1 = Horizontal start position (X) in dots


p2 = Vertical start position (Y) in dots
p3 = Rotation
p4 = BarCode selection
p5 = Narrow bar width in dots
p6 = Wide bar width in dots
p7 = Barcode height in dots
p8 = Print human readable code, Values: B=yes or N=no
“DATA” = Represents a fixed data field

Example

B10,90,0,3,3,7,100,B,"1234567890"

Some Real Examples:

Example #1

1
2N
3 A400,360,3,3,1,1,N,
4 A440,360,3,3,1,1,N,
5 B10,400,0,3,3,7,60,B,
6 A530,350,3,2,7,3,N,"ezFreezer"
7
A700,310,3,3,3,1,N,"www.atgclabs
.com"
8 P1
Example #2

1
2N
5 B1,5,0,1,2,2,60,N,
6 A150,1,0,3,2,2,N,"ezFreezer"
7
A202,50,0,2,1,1,N,"www.atgclabs.
com"
8 P1

Example #3

1
2N
6 A10,0,0,4,2,2,N,"ezFreezer"
7
A60,50,0,4,1,1,R,"www.atgclabs.
com"
8 P1

Example #4

1
2N
3 A10,1,0,3,1,1,N,
4 A10,31,0,3,1,1,N,
5 B10,61,0,3,3,7,60,B,
6 A10,200,0,3,3,5,N,"ezFreezer"
7
A10,300,0,4,1,1,R,"www.atgclabs.
com"
8 P1

Example #5

1
2N
5
B1,5,0,3,3,7,40,B,"23423412"
8 P1

You might also like