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
2
votes
1 answer

ZPL: How to horizontally centered a line of text on a label regardless of text length

I need to center some text horizontally on a label so that if the length of text changes it will still remain centered. I am using XSLT to process the format like this:
Altitude
  • 79
  • 1
  • 6
2
votes
1 answer

Two GC420t printers different ZPL Outcome (ZPL, C#)

i have 2 Zebra GC420t printers and a wpf application creating and sending ZPL code to selected printers. The printed labels are too way different. See the image below. The outcomes and printer configurations Pinted ZPL code is: (label is 10x8.1…
2
votes
0 answers

How to write binary data to DataMatrix in ZPLII BASE256

I'm trying to write binary data to a DataMatrix barcode using ZPL. My problem is that the resulting barcode seems to be corrupted. ^BXB,3,200,26,26,6,,^FH^FD_45_46_42_13^FS results in 0x46 0x47 0x43 0x14 when read using libtdmtx and other…
Wienczny
  • 3,958
  • 4
  • 30
  • 35
2
votes
1 answer

Zebra printer return short TID and not full 24 charters over TCP/IP

I'm using python to communicate with a zebra R600 (latest firmware) printer over TCP/IP for sending ZPL that will read the TID from the tag and store in in a file using ZPL ^HV. My problem is that every 80 tags or so(random) im getting a shorter TID…
idan357
  • 342
  • 6
  • 17
2
votes
2 answers

Strange spacing in multi-line ZPL label formats

I am working on a Windows tablet application that generates ZPL label formats from a database and send them to a ZQ520 printer over a Generic/Text printer driver. Generating the ZPL format and sending it to the printer works like a charm. I am…
user6373040
2
votes
6 answers

How to print barcode with running number ZPL-II?

I have a simple program print barcodes. The label format is in a preloaded form. The value the barcode is passed by a parameter as follow. ^XA ^XFR:FORM.ZPL ^FN999^FDH654321+Y0001+OABC+^FS ^PQ2,0,1,N And it print two…
Dennis C
  • 24,511
  • 12
  • 71
  • 99
2
votes
4 answers

How to change the dpi from 200 to 300 through ZPL

How to change the dpi from 200 to 300 through ZPL? I want to use the same ZPL code on printers S4M (200 dpi) and ZT230 (300 dpi).
Carlos Lemos
  • 203
  • 1
  • 4
  • 11
2
votes
3 answers

Why is QR Code not written as ZPL command

I'm using the ZebraDesigner software to create a simple label with a QR Code. It looks good when I print it, but I also need the .prn file with all the information contained inside the QR Code to be "readable". When I open the .prn file with…
gcmk
  • 21
  • 5
2
votes
1 answer

Zebra ZPL II QR Code "changes" position after printing a Bar Code

I'm having a problem with ZPL code. When I send to the printer the following code: `JA `HS ^XA^JMA^XZ ^XA^JZN^XZ ^XA^CI0^XZ ^XA^PRC^XZ `HS ^XA^POI^XZ ^XA^PW744^XZ ^XA^LH12,12 ^FO660,384^AAN,36,10^FDL2^FS ^FO12,12^BY2,3^BQN,2,4^FVLM,B5500QR Code…
Tinti
  • 21
  • 1
  • 5
2
votes
1 answer

How to print Carrier Return and Line Feed in Data Matrix with .prn file in PHP

I need print a DataMatrix with Carrier Return and Line Feed. My printer its a Zebra GK420t. I make the label in Zebra Designer and when the label is printed from Zebra Designer the CR and LF works, but when i export the label to a PRN file, to…
MaTiUs77
  • 106
  • 1
  • 7
2
votes
0 answers

Printing Arabic text using ZPL (from iOS)

I am trying to print to Zebra iMZ320 This one prints when saved to a file as UTF 8 encoded and send to the printer using Zebra Utilities ^XA^LRN^CI0^XZ ^XA^CWZ,E:TT0003M_.TTF^FS^XZ ^XA ^PA1,1,1,1^FS ^FO010,610^CI28^AZN,50,40^FD*Arabic: زيبرة^FS ^PQ1…
AiOS
  • 29
  • 2
2
votes
1 answer

How to convert a png file to .GRF file used for zebra printer

I use Zebraprinter for printing the labels. My printer is 203dpi. For last couple of days i was searching in internet and i found there are Zebraprint utilities.. to convert to DFR format.. which sucks.. they are not fully explaining how to do…
Stacy Kebler
  • 180
  • 1
  • 3
  • 22
2
votes
1 answer

Zebra ZPL custom header - Printer interpretation

I have the following zpl that is sent to the printer. I'm trying to understand how exactly the "header" portion is interpreted, or why it's necessary at all. The mmf file referenced in the header is already loaded to the memory of the printer. I can…
JWiley
  • 3,129
  • 8
  • 41
  • 66
2
votes
4 answers

Convert image to GRF format

I have a Zebra Gk420t printer that allows me to make stickers and I need to print an image on them. I read that the images must be in GRF format (pure hex). Someone knows how can I convert the images to GRF format in Linux? I read about Ztools…
Angel
  • 357
  • 3
  • 6
  • 17
2
votes
2 answers

VB.net Printing Image to Zebra

I have a bitmap image in VB.net that I want to print to a Zebra printer, hopefully using the ZPLII code. I have seen the example here: Working with bitmaps to a ZPL label printer with no luck. Can anyone help with this? I have hit my head against…