663
questions
0
votes
0
answers
17
views
How to change font on SATO CL4NX via SZPL
Here is the issue: We use the SATO printer for label printing in our factory. We use a Python development that sends a .prn file to the printer with both static and dynamic content. This .prn file ...
0
votes
0
answers
42
views
How can I create a PHP program that converts ZPL to PDF without using external services like Labelary?
I'm trying to create a PHP program that can convert ZPL (Zebra Programming Language) to PDF. However, I haven't found much information on how to do this directly in PHP. Most of the resources I've ...
0
votes
1
answer
28
views
ZPL TAB function
I have an application and need advice on handling barcode and tabulator functionality, ideally using ZPL (Zebra Programming Language). Below is a revised sample of the ZPL data I'm working with:
...
1
vote
1
answer
40
views
Dynamic Background Generation for a ZPL String (Black Background And Inverted Text)
I'm trying to generate a text with black background and white font text in ZPL through code.
I have come up with a way of calculating the text width according to the characters. (not the most ...
0
votes
0
answers
50
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)
...
0
votes
0
answers
36
views
ZPL/Zebra Printer font family not rendered
I'm using a Zebra Technologies ZTC ZT230-300dpi ZPL printer to push an image via network to the printer. I have a Word template that I convert to HTML using OpenXMLPowerTools, then to an image using ...
0
votes
1
answer
40
views
Zebra printer print special charcter
Hy all. I have a Zebra printer. I want to print a DMC code with some special characters.
These characters are:
$1E
$1D
The complete DMC code is:
[)>$1E06$1D1P4533004683$1DS001266$1D7D0724$...
0
votes
0
answers
158
views
USB connection to Zebra printer in C#
I've been tasked with establishing a USB connection which I can use to send and receive data. More specifically, I need to send ZPL commands to a Zebra Label Printer ZD421 and the whole process needs ...
0
votes
0
answers
22
views
ZPL Incremental alphanumeric
Today I have a command to print some label using an incremental numeric SN like you can see below.
^XA
^FWR^FS
^BY3,
^LH00,00
^BY100,100^FT290,120^BXN,8,200,0,0,1,^SN1339708704,4^FS
^FO070,40^A0N,50,...
0
votes
1
answer
28
views
Is there a way to keep sequences when exporting my Zebra print file to a .prn?
I have a Zebra label designed in Zebra Designer 2 that has some text, text variables that are prompted from the user and a sequence counter number that prints numbers from 1 to chosen quantity on the ...
0
votes
0
answers
28
views
Get return from a ZPL command
I'm sending some labels for printing via ZPL commands.
from zebra import Zebra
Zebra("S4M").output("""^XA~FDHello World^XZ""") # print label
I checked in the ...
0
votes
0
answers
44
views
TCP Printing with React Native Expo: Subsequent Print Jobs Only Processed After App Restart
I'm working on a React Native application that sends print jobs to an Intermec PC43d printer using TCP and ZPL commands. The issue I'm encountering is that the first print job is processed correctly, ...
0
votes
0
answers
29
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 ...
0
votes
0
answers
72
views
What is causing this ZPL code to print incorrectly?
This ZPL code previews on Labelary in the right way and actually worked a month ago. Now when I print it everything is blank except the image and the text is turned horizontally.
^XA
^FO45,15
......
0
votes
0
answers
79
views
Blazor printing to Zebra printer from client side without any side application
I want to send raw ZPL commands to a Zebra printer from a Blazor web application (on client side). This printer is not accessible from the Blazor server app. Is it possible to print with the Zebra ...
0
votes
0
answers
40
views
Zebra ZD621R - ZPL command to rewind one label
I have a Zebra ZD621R printer.
I can see that the "mechanism" can rewind / back-feed one label.
Is there a ZPL command that I could use to force the mechanism to rewind / back-feed one label?...
0
votes
0
answers
32
views
Missing labels on Zebra printer
the zpl file sent from CUPS server to the printer has an extra ^xa in the code. Lebel starts with ^XA and ends with ^XZ, but on few print jobs where printer just blinks and does not print anything, we ...
0
votes
1
answer
213
views
Set a ZD500R 300dpi printer to 203 dpi
I have a ZP505 203dpi printer in production.
I'd like to swap it with another printer, a ZD500R-300dpi.
The issue I'm having is it's printing undersized labels.
Through some research, I've identified ...
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, ...
0
votes
0
answers
29
views
Sewoo printer with ZPL
How can I make the Sewoo printer work well with ZPL?
The zpl doesn't follow the instructions of (x,y) and always starts at the center of the label.
For example I have that ZPL Script:
^XA
^MMT
^PW839
^...
0
votes
0
answers
79
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 ...
0
votes
0
answers
41
views
gs1 QR printing issue
I have an issue when printing a GS1 datamatrix barcode (= QR code) using ZPL codes on a zebra printer. My code is:
^XA^
FS
^FT270,280^BXN,9,200,0,0,1,_,1
^FD(95)KMAHAMODE(96)toyota1560Fc12(97)lan^
FS
^...
1
vote
1
answer
48
views
ZPL API not generating multiple labels
I am trying to generate multiple labels by adding only one ZPL code with multiple labels on it, but when I input the ZPL code, it generates only the first one. Help me please
try (Scanner ...
0
votes
0
answers
22
views
ZPL Printer trimming the data when its in odd pairs
I have a barcode data:
^BY6,3,368^FT12,1032^BCN,,N,N
^FD>;00612345678^FS
What I am expecting the barcode to get scanned is 00612345678 but it is getting trimmed to 0061234567 everytime its scanned.
...
0
votes
1
answer
40
views
How do I add a bullet point before a line of text in ZPL on a Zebra ZD500R?
My current line of text for the line on the label is:
part4c = "^FWI,0^FB1160,8,0,L^FO45,1185^CF0,33^FH^FD_0xE2_0x80_0xA2 ONLY programming starting with S, N, P, or H (including claiming CME).^FS&...
0
votes
1
answer
156
views
Zebra Browser Print, labels did not print in numbered order
We have numbered labels that we want to print with Browser print, we send each label like this:
^XA^FO100,100^A0N,50,50^FD Label: 1^FS^XZ
^XA^FO100,100^A0N,50,50^FD Label: 2^FS^XZ
^XA^FO100,100^A0N,50,...
0
votes
1
answer
255
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 = ...
0
votes
1
answer
239
views
How can I print a PDF on a Zebra ZT411 printer via PHP
I want to print .pdf files on a Zebra ZT411 via PHP or Cups.
I am currently using a PHP script which extracts labels from my database and sends them to the printer. Currently they are all formatted in ...
0
votes
0
answers
46
views
zpl extra label with garbage rectangle
After this ZPL code:
^XA
^BY5,3,350
^FO140,80^BCR^FD11345678^FS
^XZ
The printer prints an extra label, with a black rectangle, as on photo.
Has anybody ideas what causes this? Is it a command issue ...
0
votes
1
answer
210
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)
...
0
votes
0
answers
99
views
android java using HPRT printer with ZPLPrinterHelper not working correctly when print UTF-8 character
I'm currently working with SDK on java to connect with HPRT Prime but I cannot print UTF-8 charactor. Already try to search document but it always give me something else or it use the command code
...
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 ...
1
vote
1
answer
147
views
Labelary API returns blank pdf used with Google Apps Script
I am using Google Apps Scripts to create labels from my google sheets. I am sending requests to the Labelary API so they can turn my zpl code into pdf. But unfortunately the returned PDF is just blank ...
-1
votes
1
answer
172
views
How to push new WiFi credentials to Zebra printers
I'm struggling to get any useful answers from zebra support so I've thought I might get some help here... in our company there is over 5k of zebra printers and many of them will need wifi credentials ...
0
votes
1
answer
294
views
Print ZPL file to Zebra printer results into ASCII dump
I am trying to send a ZPL file to a Zebra printer, but the contents of the file are being printed as ASCII text without being interpreted.
I have tried some of the solutions provided in the following ...
0
votes
1
answer
63
views
ZPL2: adjust label width
I'm trying to migrate a simple label from EPL2 to ZPL2 and I'm having some issues adjusting the label width and its top position. With EPL2, we cou use the Q and q commands for setting the label's ...
0
votes
0
answers
344
views
Problem with converting image to ZPL code
I need to print a zpl label with a photo on it. I start by converting the received image to a black and white inverted bitmap. It looks good. Then I convert it to zpl code. The problem arises during ...
0
votes
0
answers
116
views
Zebra ZT610: which command accurately reports how many labels in the print queue?
I.e. how many labels left to print in the job?
Made a test label using ^PQ30 in the internal ZT610 label editor.
Shouldn't it then report 30?
~HS doesn't seem to do it, neither does device.jobs.print.
...
1
vote
2
answers
182
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
...
0
votes
0
answers
99
views
ZPL Zebra Printer and Latin Extended-B char Issue
I'm facing an Issue while trying to print some Latin Extended-B character in zebra printer
the code I use is :
^XA
^CI28
^CF0,30
^FD Thañk yòú fôr showing me : Ƌ ƀ Ƈ Ǝ ě š č ř ž ý á í é
^XZ
where ...
0
votes
0
answers
167
views
How can I communicate from my Windows desktop with a USB connected Printer, that uses ZPL/Zebra programming language. Can I send commands using CMD?
I have a Brady BB12 Printer, that is connected to my Windows 10 Desktop using USB.
I am trying to communicate with this Printer and send it basic print commands. I know this printer recognizes ZPL/...
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[...
1
vote
0
answers
218
views
Java Library for ZPL Code Interpretation to Build a ZPL Viewer
I'm currently working on a project to develop a ZPL Viewer in Java, aimed at rendering ZPL label designs and providing a user-friendly interface. To achieve this, I am in search of a Java library or ...
0
votes
1
answer
107
views
Zebra ZPL file: Print a SGD parameter
I have a label file in ZPL format for a ZD621. I have (3) of these printers on my network and would like my labels to show which printer it came from. I used the SGD setvar "device.friend_name&...
0
votes
2
answers
258
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 ...
0
votes
0
answers
169
views
ZPL code printing a layout that contains 5 different labels
I'm trying to make a ZPL code that prints an amount of 5 different labels in a single code (I need to do in this way because in SAP I don't have any more space to add more layout), but the printer is ...
0
votes
0
answers
67
views
when I run the jar file in command prompt i am getting error?
I have included zebra SDK external lib in my project it is inside lib folder in my project.
<dependency>
<groupId>your.groupId</groupId>
<artifactId>external-library<...
0
votes
1
answer
155
views
how to find a printing job status in java
private void sendZPLContentToPrinter(String ipAddress, int portNumber, String zplContent) throws IOException {
try (Socket socket = new Socket()) {
socket.setSoTimeout(...
0
votes
2
answers
391
views
ZPL programming on Linux - Why are labels blank?
I'm trying to print my first ZPL label using Linux. The label feeds, but is empty.
My labels are 1 inch wide x 3 inches long, and my printer centralises the roll of labels, so they only occupy the ...
0
votes
1
answer
126
views
Printing Lighter in the Zebra printer
We are printing multiple labels to the zebra printer.
The labels printing in the printer is lighter.
We have tried to increase maximium printing darkness level to 30 in the printer setting but no ...