Questions tagged [zpl]

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

Wiki:

ZPL stands for the "Zebra Programming Language" and is a proprietary programming language used to communicate to Zebra branded printers. Zebra Programming Language (ZPL and ZPL II) is a Printer Control Language.

Read more:

631 questions
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
11
votes
3 answers

Transforming a ZPL string into a JPG image and PDF

Good Afternoon, I am currently working on a project that dynamically generates a ZPL string. Below you can see an example and you can use http://labelary.com/viewer.html to view the label. Is there any software out there that can translate the ZPL…
Lostaunaum
  • 697
  • 1
  • 10
  • 31
11
votes
1 answer

Zebra ZPL wrap text

I have to print a variable text in a field block of a ZPL label. I would like to know if it is possibile to define block width and then automatically wrap text or if it is not possible and I have to manually add a new line char or split the text in…
Tobia
  • 9,165
  • 28
  • 114
  • 219
11
votes
2 answers

Converting ZPL print stream into a PDF file

Is it possible to convert a ZPL print stream into a PDF file? If so, how can this be done?
user3087052
  • 111
  • 1
  • 1
  • 3
10
votes
3 answers

How to generate a dynamic GRF image to ZPL ZEBRA print

I have a problem. I´m generating a dynamic BMP image and trying to send this to a ZEBRA printer by ZPL commands. I need to convert my BMP to a GRF image. I think that my Hexadecimal extracted by the BMP image isn´t correct. The printed image is…
lucasrhuan
  • 119
  • 1
  • 1
  • 6
9
votes
3 answers

Conversion between EPL and ZPL

Is it possible to convert EPL and ZPL (thermal printer languages) to common format (it could be vector grapic file like SVG)? It will be great if I could convert from commont format to ZPL or EPL.
Jacek
  • 11,661
  • 23
  • 69
  • 123
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
2 answers

Zebra printer won't print ZPL format

I am following the Zebra Android Link_OS SDK sample code for printing a test label on a ZQ510 over Bluetooth, but it won't print in ZPL format. Here is the code I'm running to print the label: private void sendZplOverBluetooth(final String…
jacks205
  • 545
  • 8
  • 19
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
2 answers

How to print a tilde (~) in Zebra Programming Language (ZPL)

I am maintaining a program that outputs ZPL to a label printer. Today, the character sequence ~Ja came in as part of a string to be printed, which is ZPL's "cancel all" command. Needless to say, the label did not print. Is there an easy way in ZPL…
user1171848
  • 276
  • 3
  • 10
7
votes
4 answers

Zebra LP2844 stopped responding to ZPL Commands or Files

I sent a couple zpl files to the printer to test it and it worked fine. After that I was receiving base64 encoded zpl data from UPS and creating a file and sending it to the printer via a Java applet, and now any zpl commands or files I send to it…
Kyro
  • 627
  • 2
  • 6
  • 14
7
votes
3 answers

Printing "raw text" (ZPL) from Web

We have a lot of old ZPL labels. We would like to be able to print them from a web client. The printer is connected to the client and not the server. We have had a few ideas: Print from Silverlight. Not feasable. Seems to be no way to print…
Poppert
  • 447
  • 1
  • 5
  • 16
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
1 answer

Converting .pdf to .zpl

I need to convert .pdf -file to .zpl -label file for printing with zebra printers, but is this even possible? The PDF comes in as a base64 encoded string, and somehow I need to output that as a .zpl -file. I use PHP in my project, and I prefer the…
GotBatteries
  • 1,346
  • 1
  • 19
  • 28
1
2
3
42 43