Questions tagged [zpl-ii]

ZPL-II stands for the "Zebra Programming Language v II" and is a proprietary programming language used to communicate to Zebra branded printers

More Information:

212 questions
54
votes
10 answers

.NET code to send ZPL to Zebra printers

Is there a way to send ZPL (Zebra Programming Language) to a printer in .NET? I have the code to do this in Delphi, but it is not pretty and I would rather not try to recreate it in .NET as it is.
Vaccano
  • 78,325
  • 149
  • 468
  • 850
23
votes
12 answers

Unicode characters on ZPL printer

I have the task of re-designing a system to print shipping labels, using a networked Zebra GK420T. I have been able to send ZPL print jobs to it perfectly fine, but I cannot seem to get it to print unicode characters, such as cyrillic letters. I…
Tom Brunoli
  • 3,436
  • 9
  • 36
  • 54
21
votes
2 answers

ZPL - how can we increase width of ^BC (Code 128) bar code

Am doing a formatting of barcode label. We are using Zebra Programming Language , ^BC (Code 128) bar code As i increase the size of ^FD Field Data , the barcode width is increasing. But how can i print a broader bar code for a fixed small length…
zod
  • 12,092
  • 24
  • 70
  • 106
20
votes
5 answers

Print preview ZPL II commands using .NET WinForm before sending it to Zebra printer

I have an .NET Windows application that prints commands to Zebra printer using ZPL II or EPL2. Is there any way to print preview the data in a form before printing it directly from Zebra printer?
hasan lamaa
  • 241
  • 2
  • 3
  • 5
16
votes
5 answers

ZPL How to Center Barcode (Code 128)

i'd like to know how to center barcode code 128. on the picture you should see that it is right now left justified. my zpl: ^XA ^LH10,10 ^FO0,0^XGE:SWESE001.GRF^FS ^FO440,0^XGE:SWESE000.GRF^FS ^FO0,70^FB550,50,0,C,0^AQN,25,30^FDSpraynozzle…
darkdog
  • 3,805
  • 7
  • 37
  • 47
13
votes
5 answers

Reading status from Zebra Printer

I'm working on a project where we need to use a Zebra Printer for barcode labels. We're using C#, and we're doing OK on the printing side of things, sending raw ZPL strings to the printer (using winspool.drv). However, we also need to read from the…
pmoreira
  • 171
  • 1
  • 1
  • 8
12
votes
8 answers

How to print a logo on labels using a Zebra printer and sending ZPL instructions to it

I would like send ZPL instructions to a Zebra printer (GK420t for now). I'm printing 50mm x 20mm labels. I would like a logo (small ~ 5mm x 5mm image) to be printed on the upper left corner of the label. I would like to know the steps I should…
Léa Massiot
  • 1,928
  • 6
  • 25
  • 43
8
votes
2 answers

ZPL How to center text with variable length

I use Zebra Designer to create my labels. But I have a problem to center my elements. Indeed when I create a text box with Zebra Designer, it has a fixed length and when I replace the text inside (by a variable Php giving me the price for example)…
Rocstar
  • 1,427
  • 3
  • 23
  • 41
8
votes
1 answer

Fix QR Code dimensions (height and width) in ZPL

I am printing a QR code on a small label. The amount of data in the QR code is variable. The printer (e.g. Zebra GK420d) changes the size/dimensions of the QR image based on the amount of data being embedded. Example ZPL: ^FO38,2400 ^BQN,2,10 …
supercoco
  • 512
  • 2
  • 7
  • 25
8
votes
3 answers

Where do you get zebra printer fonts for print preview?

I'm printing labels with a Zebra printer using Java by sending ZPL II commands. I want to show a preview of the label before sending it to the printer. Rather than trying to send fonts to the printer, I'd like to use the built in fonts. I can see a…
Steve Kallestad
  • 3,484
  • 2
  • 23
  • 31
7
votes
3 answers

How to verify if Zebra printer successfully printed using ZPL and C# (or be able to detect errors)?

Problem Is there a simple ZPL code or way to get an error message back from a Zebra printer to determine if the labels did not print successfully or that there was some kind of error? Progress Here is a nice function I built to send a printer job…
hlyates
  • 1,279
  • 3
  • 22
  • 44
7
votes
1 answer

Android printing arabic using zebra printer imz320 shows as reversed character

here is the zpl code from android String zplcode="^XA^LRN^CI0^XZ\n" + "\n" + "^XA^CWZ,E:TT0003M_.FNT^FS^XZ\n" + "^XA\n" + "\n" + "^FO10,50^CI28^AZN,50,50^F16^FDZebra Technologies^FS\n" + …
Ahmad Nasser
  • 295
  • 3
  • 15
7
votes
2 answers

How to send a raw ZPL to zebra printer using C# via USB

I'm a beginner C# programmer. I have a project that requires me to send the raw command to Zebra printer LP 2844 via USB and make it work. I did a lot of research and tried to figure out a way to do that. I'm using the code from…
Shawn Lou
  • 87
  • 1
  • 1
  • 6
7
votes
1 answer

Zebra Programming Language (ZPL) II using ^FB or ^TB truncates text at specific lenghts

I am writing code to print labels for botanic gardens. Each label is printed individually but with different information on each label. Each label contains a scientific name which can vary greatly in size and thus can go over 2 lines (our label size…
Kerry
  • 71
  • 1
  • 1
  • 4
6
votes
3 answers

How to convert image to zpl code for printing using zebra printer?

I want to print image along with some other texts through zebra printer from android application. I am able to create zpl code for text data but I am having to problem to create zpl code for image. The zpl do not supports base64 code. The image…
Sagar Chapagain
  • 1,683
  • 2
  • 16
  • 26
1
2 3
14 15