Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
48 views

How to print zpl in web via javascript?

I have a zebra label printer. I am attempting to print labels for fun using javascript and webUSB. The current setup prints blank labels. Here is the excerpt: // Get USB device (the zebra printer) ...
Wajahath's user avatar
  • 3,818
0 votes
1 answer
27 views

AttributeError: module 'zpl2' has no attribute 'BARCODE_CODE_11'

I'm getting this error on zpl2 library when i run my python project File "/usr/local/lib/python3.5/site-packages/werkzeug/serving.py", line 205, in run_wsgi execute(self.server.app) ...
Joel's user avatar
  • 1
0 votes
0 answers
28 views

Multiple copies of 3-page multi label sequentially

I have to take 2 copies of 3-page label sequentially so that all the 3 pages will be printed before the copy starts. How can I write this code in ZPL - Zebra language? This is a sample code. I tried ...
Lakshmy's user avatar
0 votes
0 answers
29 views

Reducing the barcode128 size when it has 44 chars

I am developing a label with a somewhat peculiar characteristic. The label needs to have dimensions of 10x15cm, 8 dpmm (203 dpi) and include a barcode with 44 characters. When inserting the barcode, ...
Felipe's user avatar
  • 1
0 votes
0 answers
77 views

how do I use ZPL commands to add a two second delay between labels. (zebra programing language)

I have a zp506 printer and I was hoping to find a way to add a small delay between labels when printing. If this can be done in printing preferences, fantastic, otherwise I assume I have to use zpl ...
Medic Gaming's user avatar
0 votes
0 answers
53 views

ZPL2 Label Printing on right side of ribbon vs left

I have created a program to print zpl2 by sending it via a socket to the zebra printer. This has had no problems until recently. We have decided to invert the label ( 180' rotation) and new problems ...
PrinceRi's user avatar
0 votes
1 answer
253 views

How to deal with special characters when using the UPS Shipping API

I'm trying to print international shipment labels using the UPS Shipping API. The response from the API is base64 encoded. This is what is used to decode the response base64 encoded zpl. string ZPL = ...
SyndRain's user avatar
  • 3,360
0 votes
1 answer
209 views

Send GSD Command in JSON to Zebra Printer

Trying to send commands (not labels) to Zebra printers using Python. On page 574 of the documentation it shows: Here's my code: mysocket = socket.socket(socket.AF_INET,socket.SOCK_STREAM) ...
Programming_Learner_DK's user avatar
0 votes
0 answers
93 views

Zebra ZD621 Printing with DF (Store Format) and XF (Recall Format)

Am printing blank labels when trying to use store format (DF) and recall format (XF) when printing to a Zebra printer. ZPL code was generated using Zebra Designer and print to file. Code below for ...
jhelliot's user avatar
1 vote
2 answers
181 views

ZPL ^DN command?

I have a ZPL file which contains an image represented in ASCII data. ^GFA,...parameters and ascii data... ... 00000000000000000000000000000000000000 00000000000000000000000000000000000000 ^DN ^XZ ...
juFo's user avatar
  • 18.5k
0 votes
1 answer
508 views

How to send a ZPL string to print on a Zebra printer

I am using the FedEx Rest API to create shipments and I have no trouble printing PNGs. However, I also need to have an option for printing on Zebra thermal printers, which is where ZPL format comes in....
Joseph Davenport's user avatar
0 votes
0 answers
78 views

^CI doesn't change the codepage in ZPL code or it's the problem of interpretation?

Here I've got a code on ZPL ^XA ^CWA,A:ARIALR.TTF ^CF20,60 ^FO10,130^BCN,100,Y,Y,N^FD[Штрихкод]^FS ^FX ^CF10,20 ^AAN,20,10 ^CI28^FO10,0^TBN,400,200^FD[Наименование1]^FS ^XZ The text fields ^FD[...
IvanSTV's user avatar
  • 364
0 votes
1 answer
364 views

Looking for C# example of ZPL: Binary B64 and compressed Z64 encoding

ZPL: Binary B64 and compressed Z64 encoding While a comment here pointed me in the right direction I was unable to really figure out what I needed to do. The ZPL command is ~DYd:f,b,x,t,w,data and I'm ...
Chris Ward's user avatar
1 vote
0 answers
248 views

How to convert an image to ZPL in a Flutter app

I want to convert an image to ZPL code to be able print this image using a Zebra printer in a Flutter app.
Amr's user avatar
  • 166
0 votes
2 answers
256 views

how to print forward slash using Zebra Programming Language

I am trying to print static text "Contact/Ven" in zebra sticker using a ZPL but instead of printing "Contact/Ven", it is printing as per the below image. Can anyone suggest how to ...
Dharmesh Solanki's user avatar
0 votes
1 answer
33 views

What exactly is the default value for "c" and "r" parameters in Zebra's B7 command?

I'm trying to understand Zebra's B7 command. The format is ^B7o,h,s,c,r,t I understand what each parameter is but I don't understand the default values of "c" and "r". Given this ...
milop's user avatar
  • 5
0 votes
0 answers
314 views

Create Image with high resolution and print using ZPL command

I'm trying to create a image that include my label info, then by using GF command to print image. My label dimension is 80x37 mm (w x h) and my printer is ZT610 600dpi, i need to create a image with ...
KiDo Ruan's user avatar
0 votes
0 answers
123 views

How does the Zebra "FB" command affect the "A" and "FO" commands

I'm trying to understand how the "FB" command works with regard to the "A" command. Here's an example of a line of text being printed: ^FO309,752^A0N,51,38^FWN^FH^FB490,,,R,^FD ...
milop's user avatar
  • 5
0 votes
1 answer
185 views

ZPL emulator custom font (~DU command) in Python (File to bytes to hex)

So I've been raking my brain on this for a while now : I'm trying to upload a custom font to a ZPL printer using the ~DU command in python, but can't get the encoding right. This is what I'm currently ...
Billy Bob's user avatar
0 votes
0 answers
149 views

Zebra printer isn't printing all the ZPL labels

I am trying to send a bulk of ZPL commands to print the labels but the printer accepts only 4/5 labels randomly and prints them. I am not sure whether it is a printer limit to accept certain numbers ...
Shoaib Ijaz's user avatar
  • 5,547
0 votes
1 answer
2k views

How to make Qr code size fixed in ZPL regardless of the content?

I have a problem. I need to print stickers containing QR-codes with my Zebra printer. I'm new to ZPL and when I create a QR code on my sticker it starts growing when it contains more data. It grows so ...
Stefan de Vries's user avatar
0 votes
1 answer
950 views

Using Multiple Variables to Create a Single Data Matrix in ZPL

I am trying to set up a label template for a Zebra printer that has 4 variables containing different pieces of information, FN1, FN2, FN3, and FN4. These 4 variables are printed to text and barcode ...
madmonk46's user avatar
  • 460
0 votes
3 answers
2k views

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

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 ...
Arkadii's user avatar
  • 61
0 votes
0 answers
265 views

How to use the "compressed binary" `C` arg for the compression type parameter of `^GF` in ZPL?

I'm trying to use this parameter with value C: Here's a link to the manual page to read more: https://support.zebra.com/cpws/docs/zpl/zpl_manual.pdf#page=210&zoom=auto,-20,721 Here's an xxd ...
JoL's user avatar
  • 1,097
2 votes
0 answers
145 views

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 ...
Tomek L's user avatar
  • 21
0 votes
0 answers
829 views

How to print 'Italic' font style text using ZPL commands

I have a requirement of printing text in zebra and brother thermal printers in Italic formate using ZPL commands. I have done lot googling but I didn't get any clue to print text in Italic font style. ...
Deepakkumar's user avatar
0 votes
1 answer
4k views

ZPL Manually Install a font

I am trying to manually install a font with ZPL. I have a TTF file and I believe I have the command. The issue is when I try to print with that font nothing gets printed. I am able to upload the ...
Andrew Lichtenberg's user avatar
-1 votes
1 answer
1k views

Set page's top margin when sending to pinter ZPL-II via TcpClient

I have following code which sends data to printer and prints page. I want somehow to tell th printer the top margin of the page. Is there anyway i could do that with current code? The printer is Zebra ...
Arie's user avatar
  • 3,471
0 votes
1 answer
355 views

How to change display information on Zebra printer with ZPL?

I work with ZM400 printer and I need to replace either UPS firmware completely in the best case. If not - just remove that UPS icon on the printer screen.
Svitlana's user avatar
  • 2,364
0 votes
0 answers
239 views

What could cause a Zebra Printer to print "0/30" repeatedly instead of the image provided in a DG command?

I am sending images of the labels I want printed, one at a time, to a ZD421. After around 100 were printed what was supposed to be a single label ended up being a stream of zeroes, with "30" ...
joeking's user avatar
  • 16
0 votes
1 answer
1k views

Zebra ZPL Code 128 SSCC encodes the escape characters also

I need to print a SSCC Code 128 barcode using Zebra ZPL. My problem is that the escape characters used are also encoded in the barcode, which should not happen. Here is the code: ^FO50,960^BY3 ^BCN,...
H Mihail's user avatar
  • 603
0 votes
0 answers
161 views

problems printing some characters

i have the following code: '^XA^CI28^CWZ,E:TT0003M_.FNT^FS^XZ^XA^FWN^FO70,50^A0,30,25^FH^FD'.function_parse($name).'^FS^FO70,90^BY2^B3,,100^FD' . $product['value'] . '^FS^XZ'; function_parse($name): ...
fosoka's user avatar
  • 1
0 votes
0 answers
296 views

Barcode Human Readable Text ( Interpretation Line) masking in ZPL II

I am trying to make a ZPL Label with Code 128. My issue is that I would like to alter the human readbale interpretation line under the barcode. Normally, it gets printed as what it is encoded, i want ...
AHMED LATIF's user avatar
1 vote
1 answer
1k views

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 ...
ssul's user avatar
  • 33
1 vote
0 answers
338 views

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 ...
Deep Pandya's user avatar
0 votes
2 answers
2k views

How to encode a TAB character in a Code128 barcode using only raw ZPL

In the past, we've used ZPL to create Code39 barcodes with a TAB character encoded in the middle using something similar to the following: *USERNAME$IPASSWORD* The $I in the middle gets translated to ...
dsumner's user avatar
  • 31
0 votes
1 answer
196 views

Find equivalent X/Y coordinates such that rotated text is printed at the same position using both ^FO as well as ^FT command using ZPL 2

I am trying to convert the X/Y coordinates from the ^FO command to the equivalent ^FT coordinates in such a way that the position of text in the label does not change for rotated text. The solution ...
Deep Pandya's user avatar
0 votes
2 answers
950 views

Is it possible to find equivalent X/Y coordinates in order to print some text at the same position using both ^FO as well as ^FT command using ZPL 2

I am trying to find out if there is a possible way via which we can convert the X/Y coordinates from the ^FO command to the equivalent ^FT coordinates in such a way that the position of text in the ...
Deep Pandya's user avatar
0 votes
0 answers
314 views

How can I make a QRCode replication with ZPL II

I have a project to make QRCode replication with Zebra ZD220. I need to scan a QRCode (at PCB) and print it automatically (like a copy). I tried some tutorials in zebra's portal without success. ...
Laurarg's user avatar
0 votes
1 answer
903 views

C# Zebra hex compress algorithm

I am currently working on a project communicating with Zebra printers. I already have a way to compress the hex data (The Method EncodeHexAscii compress the data). But I can't find a way to decompress ...
Tino Hager's user avatar
  • 1,030
1 vote
4 answers
2k views

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. ...
Farmbot26's user avatar
1 vote
2 answers
988 views

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's user avatar
  • 21
0 votes
1 answer
628 views

How to append Serialized Numbers in ZPL II for a barcode?

I'm trying to create a series of labels with a 128 Barcode that has as its information two serialized numbers that increment with every label printed. I can create the counters no problem but I can't ...
Angel Landgrave's user avatar
1 vote
2 answers
290 views

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?
Yamin Azlan's user avatar
0 votes
0 answers
83 views

Is there performance issues when printing imagens on ZPL format?

I have a layout with texts in the format ZPL. I'm wondering, is it okay if I replace the whole layout with an image with the text instead? Will printing be slower, or it's the same performance?
Guilherme Nunes's user avatar
0 votes
1 answer
362 views

ZPL - Line Item Detail for Order

We are working to create a ZPL label that will show the line item detail for an order. Do we have to assign each line item is own FO and FN? Is it possible to simplify and increment the FO and print ...
Edward A's user avatar
0 votes
1 answer
1k views

How to set up in ZPL so that the label goes out by 20 mm further (eject of additional 20 mm)?

I have a Zebra ZT230 label printer set to web sensoring mode. Unfortunately the material I try to print on is unstandarized (50mm width, 247,5mm length, with a big hole at the end of the label). Label ...
Grzegorz's user avatar
0 votes
1 answer
2k views

ZPL II decode Z64 (base64 and LZ77) to human readable text in Python

I am trying to put together an app in python that will split a .prn file generated from Zebra Designer software containing thousands of labels in one file into single label files. I need to extract a ...
Mariusz Graszek's user avatar
0 votes
1 answer
822 views

Send text file to Shared Printer

I have a VB program which creates a barcode layout and information using ZPL, then saves this to a txt file then I use File.Copy to copy the text file from the save location to the Zebra Printer, this ...
Martin Bullock's user avatar
0 votes
1 answer
786 views

ZPL2 - Printer is compressing barcodes when oriented vertically, making them unreadable

Currently, I'm trying to switch a barcode to print vertically. The issue I'm seeing is the vertical barcode is printing slightly compressed. The horizontal barcode scans fine, but the vertical one is ...
mrprog's user avatar
  • 1

1
2 3 4 5