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

ZPL, Zebra OPOS, POS for .NET

I have ZPL code as follows: ^XA^CI27^LH0,0^BY2^FO250,50^B3N,N,25,N,N^FDU0772287 ^FS ^FO30,50^A0N,35,35^FD$9.99 ^FS ^FO200,80^A0N,25,25^FH^FDBatch 14657, Item 772287K, 2013-May-29 ^FS ^FO30,115^A0N,25,25^FH^FDAccessories for stroller/carseat, Acton…
Jason Kealey
  • 7,988
  • 11
  • 42
  • 55
1
vote
2 answers

How to set permanent IP address for Zebra Printer using ZPL?

I am trying to change wired network settings of Zebra Printer ZD621 by ^NS command. My code looks like this: ^XA ^NSp,192.168.15.51,255.255.255.0,192.168.15.1 ^XZ It doesn't work, what am I doing wrong?
Arkadii
  • 25
  • 5
1
vote
1 answer

Print UPC-A without elongated guard bars using ZPL

I'm trying to print a UPC-A barcode from a Zebra printer using ZPL. It always comes out with elongated guard bars like this: I need it to print like a Code 128 style where all the lines are the same length but encoded UPC-A style: Here is a basic…
ssul
  • 33
  • 4
1
vote
2 answers

how to add space in ZPL

I'm using printer Zebra ZM400. I want to print text box and insert a text follow by marking line. I want fix below code as my text box coordination How to set the marking line with right alignment and center alignment in the text box? Note: from the…
Taufik Shukri
  • 11
  • 1
  • 2
1
vote
0 answers

Get File Name used while exporting Printer Code Template in BarTender

I am trying to find if there is a way to get the file name that we mention while exporting the Printer Code Template (see below): Export Printer Code Template I have tried using Format.FileName to get this but this actually gets the file name of the…
1
vote
4 answers

How to send color images with ESC/POS?

I have an Epson CW-C6000 that I'm trying to control with ESC commands. I've gotten text to print, so I know I have the IP address, port, etc correct but cannot for the life of me get an image printed. Here is my code (running from a Ruby on Rails…
Farmbot26
  • 31
  • 4
1
vote
2 answers

ZPL Script for barcode GS1-128 issue

Using ZPL script, I have to generate a barcode with GS1-128 (formally known as Code 128, UCC/EAN 128). The problem is, it is generating barcode but a number is not correct from the middle of the…
Saboor
  • 21
  • 3
1
vote
2 answers

How to put VULGAR FRACTION ONE HALF in Zebra code

This is my code for the ZPL label: ^XA^FS^FT215,210^A0N,28,28^FH^FD300 mg (1 ½ tablet)^XZ but it shows like this: I want it to be shown as ½, any suggestions?
1
vote
1 answer

How to print Chinese fonts to Zebra ZPL printer from python?

I have a task of developing python script to print labels using the networked Zebra ZT410. So far, I can print Chinese Characters correctly using "Zebra Setup Utilities" with ZPL…
ZOOU Qinn
  • 41
  • 7
1
vote
1 answer

ZPL- Design Label

I am new to ZPL Programming. Can someone tell me whats wrong with me ZPL program. I have to design the following label: https://i.stack.imgur.com/60UHl.png But up till now I have achieved this: https://i.stack.imgur.com/xL285.png But when I add…
1
vote
1 answer

I want to print an incremental count on the top right corner of my labels from my Zebra printer using ZPL

I currently know how many labels I want to print and use ^PQ# to print that amount but the trouble is getting an incrementing count printed on the corner of each label. There are a couple problems right now. First is that Zebra doesn't have anything…
1
vote
1 answer

How do you left-justify strings rotated 270 degrees with the ZPL II "B" switch (Zebra printer)?

I'm printing a 3 across by 4 down label on a GX430T. The home position is top left. Some of the text-lines read left to right from the very left edge of the label (i.e. it's using the default (normal, N) text orientation with an X origin of 0 and…
MBB70
  • 375
  • 2
  • 16
1
vote
1 answer

ZPL: combination of counter and fixed text into QR code

I need to create a ZPL code to create a QR code consisting of a fixed text and a counter (serialization). I'm using http://labelary.com/viewer.html to test my ZPL syntax. ^XA^LH200,300 ^BQN,2,7^FD ^SNBag_0001,1,Y ^PQ2,0,1,Y ^FS ^XZ The QR code is…
Michael_S
  • 11
  • 1
1
vote
1 answer

PHP Regex to insert specific strings in a string in order to print a code128 barcode

in order to print a code128 barcode with a zebra printer in ZPL II language, i'm trying to convert a string (which is my barcode) into a new string. This new string is the same string with some specific commands related to switching between ALPHA…
cetipabo
  • 453
  • 5
  • 12
1
vote
0 answers

How do I obtain ZPL command return value from code

How do I get return value from a printer if I called this command in vb6, on Zebra Setup Utilities it will display information regarding about the printer. I try running this command and print nothing Printer.Print "${^XA^HH^XZ}$" Printer.EndDoc
Howard F
  • 138
  • 12