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:

187 questions
48
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
  • 70,257
  • 127
  • 405
  • 747
20
votes
10 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,189
  • 9
  • 33
  • 52
19
votes
4 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
  • 221
  • 2
  • 3
  • 5
19
votes
1 answer

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
  • 11,159
  • 23
  • 64
  • 102
12
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,535
  • 7
  • 33
  • 44
12
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
  • 161
  • 1
  • 1
  • 8
9
votes
6 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,694
  • 6
  • 21
  • 37
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,134
  • 2
  • 20
  • 30
6
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,219
  • 2
  • 18
  • 40
6
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
  • 77
  • 1
  • 1
  • 6
6
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
  • 471
  • 2
  • 7
  • 23
6
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
  • 61
  • 1
  • 1
  • 4
5
votes
5 answers

Print BMP with ZPL

How can I use ZPL II to print a bitmap (BMP) image? I used ~DY to download the BMP to the printer: ~DYR:PRINT,B,B, , , I am using PHP to send raw data to the printer, so <> variables are coming from that script. Using the…
Mark Brouch
  • 119
  • 1
  • 2
  • 9
5
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,476
  • 2
  • 14
  • 21
5
votes
1 answer

UTF-8 character not printing with Zebra printer

I am trying to print Persian character on my Zebra Z410 label printer. But for some reason it is printing ?????. The ZPL code I am sending to the printer is ^XA ^FO50,50 ^PA1,1,1,1 ^A@N,50,50,E:TT0003M_.TTF^FDعاسشاتعفثه^FS ^XZ I am using the Zebra…
ZAJ
  • 751
  • 3
  • 20
  • 43
1
2 3
12 13