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
5
votes
0 answers

Send raw ZPL data over Google cloud print

Is it possible to send RAW ZPL data from GCP to a wireless printer? When i try following the GCP documentation, i see that the print job is added but the print never goes through(for raw ZPL data). I'm able to successfully print a PDF over GCP to a…
user1751510
  • 291
  • 2
  • 14
5
votes
2 answers

Convert HTML to ZPL - javascript

I have a requirement. I have developed a webapp which has a HTML content. I want to print this content to Zebra Bluetooth Printer (IMZ320). Having gone through several blogs, I found that it is necessary to convert the HTML content to ZPL format in…
Ismail MAC
  • 61
  • 2
  • 6
5
votes
1 answer

Base64 PNG Image to Zebra Printer

I am trying to just print a base64 PNG image in a Zebra LP-2844-Z printer. Using C#. I need any clarification or documentation that I could proceed with my code. https://support.zebra.com/cpws/docs/zpl/zpl_manual.pdf I have tried the code below: var…
Roger Oliveira
  • 1,589
  • 1
  • 27
  • 55
5
votes
2 answers

How to use the same ZPL code in printers with different dpi

Has used the ZebraDesigner2 software to create labels for printing ZPL, with the GC420t printer I am not having problems. Now I have to generate ZPL code for printing labels using the S4M printers (200 dpi) and ZT230 (300 dpi) the problem is the…
Carlos Lemos
  • 203
  • 1
  • 4
  • 11
5
votes
1 answer

how to print zpl barcode vertically in vertical label

i am using zebraGk420d printer. i am using vertical barcode label. how to print the text and barcode in vertically. my zpl code like this $barcode_ZPL_code="^XA ^FO 150,50^AD,40^FH^FDSALABED_20CARGO^FS…
Krishna38
  • 707
  • 1
  • 16
  • 43
5
votes
1 answer

Printing multiple (different) labels in one ZPL commands

I have followig task: I am generating sequence of consecutive barcodes eg: 117-1, 117-2, 117-3, 117-4... I have to print labels with those barcodes: first label with first code, second label with second code and so on. Currently I am printig labels…
mbednarski
  • 758
  • 1
  • 9
  • 17
5
votes
2 answers

Zebra iMZ320 image printing feeds too much paper

I'm trying to use the Link-OS SDK to send images to a Zebra iMZ320 printer using the GraphicsUtil class in XCode for iOS. -(void)printImage:(UIImage *)image{ NSString *serialNumber = @""; EAAccessoryManager *sam = [EAAccessoryManager…
Stephane M.
  • 55
  • 1
  • 3
4
votes
2 answers

ZPL: Binary B64 and compressed Z64 encoding

Maybe someone can help me with my Zebra ZPL problem. The ZPL manual doesn't really help me. I want to transfer binary (with ZPL B64) and compressed binary (with ZPL Z64) image data to the printer. I was able to find the following information: with…
IntOverflow
  • 73
  • 1
  • 5
4
votes
2 answers

printing backslash AND unicode characters in one field

let's say I want to print a backslash and the pound symbol on a label: \£ I cant. I can only print either the backslash or the pound symbol, but the other one will render incorrectly. This will print correctly the pound symbol, but will print a cent…
user1472131
  • 411
  • 1
  • 5
  • 15
4
votes
0 answers

ZPL: Z64 Compression, Encoding, and CRC-16 in C#

I am attempting to implement an algorithm for calculating LZ77 on a byte array, MIME Base64 encoding on the outputted byte array, and then a CRC-16 on the outputted byte array from the MIM Base64 encoding. This will be done in order to compress and…
4
votes
4 answers

How to print with win-1250 codepage on zebra printer?

I have this code for printing with Zebra printer (RW 420 to be specific) StringBuilder sb = new StringBuilder(); sb.AppendLine("N"); sb.AppendLine("q609"); sb.AppendLine("Q203,26"); //set printer character set to…
Adrian Serafin
  • 7,665
  • 5
  • 46
  • 67
4
votes
2 answers

Sending raw ZPL to Zebra printer via PrintServer is not working

Problem I am trying to send zpl RAW to print server. There is a Zebra ZM400 printer. I could get PrintServer, PrintQueue objects. Also, I could add a job, and write to its JobStream. I checked print queue (on Windows), and the document was sent.…
Gustavo
  • 41
  • 1
  • 3
4
votes
2 answers

How to print French characters with an acute (like 'é') with a Zebra P4t printer

My question is about printing French characters with an acute like: é è à ô etc. with a Zebra P4t printer. Consider the ZPL instructions below: ^XA ^FO20,20 ^CI28 ^A0,20,20 ^FD Amitié ^FS ^XZ I have put these instructions into a file encoded as…
Léa Massiot
  • 1,928
  • 6
  • 25
  • 43
4
votes
1 answer

How to read back status from Zebra receipt printer?

I'm using a Zebra KR403 receipt printer for a project and I need to programatically read the status from the printer (out of paper, paper near-end, printhead open, paper jam, etc). In the ZPL documentation I found that I need to send a ~HQES command…
MarioVW
  • 2,225
  • 3
  • 22
  • 28
4
votes
2 answers

How to use the ^DG command send image to a zebra printer in java?

Is anyone know how to convert a image(such as *.bmp files) to HEX string in java,so the HEX string can used in the ^DG command(one of command in zpl).thanks!
htwj1998
  • 85
  • 2
  • 6