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

ZPL fieldblock ^FB for unicode fonts

I am using ZQ520, its already supports Unicode and I am loading the font as follows: ^XA ^CWZ,E:TT0003M_.FNT^FS^XZ I can use the font to print Arabic as follows: ^FO100,50^CI28^AZN,0,25^FD ARABIC TEXT HERE ^FS It works fine but when I use ^FB…
3
votes
1 answer

ZPL II Extended Characters

I'm trying to print extended code page 850 characters using ZPL II to a Zebra S4M. Whenever one of the extended characters I.E. ASCII value > 127 is used I get a box of varying shades of grey instead of the actual value. I'm trying to print ± and °…
Mauro
  • 4,531
  • 3
  • 30
  • 56
3
votes
2 answers

Printing arabic text using Zebra printer [ZPL]

As the title says Is there any option to print the arabic content ZPL Printer. Thing tried is adding the font and initiate the print ^XA ^FX ^FR ^CF0,40^CI28^FO130,45^FH^FD محاكمة Font file^FS ^XZ My printer has TT0003M_.TTF font installed but it…
Lithu T.V
  • 19,955
  • 12
  • 56
  • 101
3
votes
2 answers

How to manually define a variable in Zebra Programming Language? (ZPL)

I'm programming in ZPL and I need to define a variable manually. A simple Hello World Example: ^XA ^FO,20,10^ADN,40,25^FDHello World^FS ^XZ I want to be able to: SET $HW$ = Hello World ^XA ^FO,20,10^ADN,40,25^FD$HW$^FS ^XZ I read the Zebra…
Marcelo Camargo
  • 2,240
  • 2
  • 22
  • 51
3
votes
2 answers

Printing superscript / subscript to zebra printer using ZPL

I'm trying to find a solution to print superscript using ZPL. Example, if I have this string of ZPL: string ZPLString = "^XA" + "^FO50,50" + "^A0N50,50" + "^FDHello, World!^FS" + "^XZ"; sendToZebraPrinter(ZPLString); Since…
Gary Richter
  • 526
  • 4
  • 16
3
votes
1 answer

How to validate a raw Zebra Programming Language (ZPL) file with a regular expression?

When receiving ZPL raw labels (text files) from a third party, I would like to run a regular expression on them to validate them. Rather than a 100% strict validation, I am mostly looking to avoid sending to the printer obviously wrong files, such…
magma
  • 8,432
  • 1
  • 35
  • 33
3
votes
3 answers

Print Zebra ZM400 using Java

my printer is Zebra ZM400 label printer and it's connected to one of the pc (connected with USB) in the network. I want to send the command to the label printer from my pc via network and print label. How to connect that printer from network and…
Raymond
  • 572
  • 4
  • 13
  • 28
2
votes
2 answers

jZebra - Getting started with raw commands

I've been given the task of converting a web page with a barcode to a one click label print. I've got jZebra up and running, but I have no idea where to get started as far as understanding how to write commands for a printer. I've Google'd just…
teynon
  • 7,540
  • 10
  • 63
  • 106
2
votes
0 answers

Why Code-128 with ^SF have one more digit?

I have a problem with ^BC barcode using ZPL II. My code looks like: ^XA ^LL248 ^PW480 ^BY1 ^FO15,10 ^BCN,100 ^FC%,{,#^FD%y%m%d%H%M%S000^SF%%%%%%%%%%%%ddd,1^FS ^PQ5 ^XZ And for example the 5th label looks like this: And my question is, why I have…
Tomek L
  • 21
  • 2
2
votes
2 answers

Print ZPLII QR to open url

I'm using Zebra ZPLII to create a label with a QR code to open an specific url. When I use iPhone camera to scan the QR phone shows "unusable data" and when I try with an external QR reader the text extracted from the QR is not the same from the…
User1899289003
  • 850
  • 2
  • 21
  • 40
2
votes
1 answer

ZPL how to print the current date and time on the label after peeling off?

How to print the current date and time on the label after peeling off ? For example: Print the 1st Label: 2019-10-28 18:58:01 Wait 5 second and peel off label. The second label must be 2019-10-28 18:58:06 Currently I have…
2
votes
2 answers

Dotted or dashed lines possible with ZPL II?

I'm working on creating a new ZPL label, and would like to draw a dashed line, but I haven't found any information on how to do that or if it's even possible. Am I asking too much of ZPL?
Jargs
  • 675
  • 3
  • 10
  • 22
2
votes
2 answers

ZPL Programming - reset settings on each print job

Zebra ZPL label printers carry over the print commands from print job to print job. So if you send a ^FWR command that rotates a label, all future jobs will be rotated, so you have to reset the orientation to ^FWN if you want to have the next label…
Joe Van Dyk
  • 6,828
  • 8
  • 57
  • 73
2
votes
1 answer

ZPL setup GX430t

I use Raspberry Pi connected to a Zebra GX430t with CUPS. I use the "Local Raw Printer" driver and I send the ZPL directly to the printer using Python. I use the termal transfert mode, but I have a problem with the printer (300dpi), because the…
Takah
  • 345
  • 3
  • 20
1 2
3
14 15