73 questions
56
votes
10
answers
203k
views
.NET code to send ZPL to Zebra printers
Is there a way to send ZPL (Zebra Programming Language) to a printer in .NET?
I have the code to do this in Delphi, but it is not pretty and I would rather not try to recreate it in .NET as it is.
13
votes
7
answers
41k
views
Printing PNG images to a zebra network printer
I am trying to find a way of printing images to a zebra and having a lot of trouble.
According to the docs:
The first encoding, known as B64, encodes the data using the MIME
Base64 scheme. Base64 ...
20
votes
5
answers
47k
views
Print preview ZPL II commands using .NET WinForm before sending it to Zebra printer
I have an .NET Windows application that prints commands to Zebra printer using ZPL II or EPL2.
Is there any way to print preview the data in a form before printing it directly from Zebra printer?
14
votes
4
answers
34k
views
Print characters with an acute in ZPL
If I send the ZPL commands below to a Zebra printer, it prints AmitiÙ:
^XA
^FO50,20
^CI7
^A0N,25,15
^FD
Amitié
^FS
^XZ
Note that the file encoding is ANSI.
Note the use of the ZPL command ^CI7 (7 => ...
25
votes
9
answers
128k
views
Send raw ZPL to Zebra printer via USB
Typically, when I plug in my Zebra LP 2844-Z to the USB port, the computer sees it as a printer and I can print to it from notepad like any other generic printer. However, my application has some bar ...
5
votes
2
answers
7k
views
Zebra iMZ320 image printing feeds too much paper
I'm trying to use the Link-OS SDK to send images to a Zebra iMZ320 printer using the GraphicsUtil class in XCode for iOS.
-(void)printImage:(UIImage *)image{
NSString *serialNumber = @"";
...
21
votes
3
answers
88k
views
Emulate Zebra printer [duplicate]
Possible Duplicate:
Print preview ZPL II commands using .NET WinForm before sending it to Zebra printer
I am working on a Java app that prints tickets to a Zebra printer.
The problem is that I am ...
19
votes
3
answers
38k
views
Make text in ZPL label bold or underlined?
Due to a new EU law every food packaging label has to outline possible allergy-causing ingredients by either styling them bold or underlined in the ingredients list.
Currently I'm printing my labels ...
10
votes
3
answers
25k
views
How to generate a dynamic GRF image to ZPL ZEBRA print
I have a problem.
I´m generating a dynamic BMP image and trying to send this to a ZEBRA printer by ZPL commands.
I need to convert my BMP to a GRF image. I think that my Hexadecimal extracted by the ...
8
votes
2
answers
32k
views
ZPL How to center text with variable length
I use Zebra Designer to create my labels. But I have a problem to center my elements.
Indeed when I create a text box with Zebra Designer, it has a fixed length and when I replace the text inside (by ...
4
votes
3
answers
7k
views
How to use the ^DG command send image to a zebra printer in java?
Is anyone know how to convert a image(such as *.bmp files) to HEX string in java,so the HEX string can used in the ^DG command(one of command in zpl).thanks!
3
votes
2
answers
4k
views
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 ...
2
votes
4
answers
25k
views
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 ...
2
votes
1
answer
5k
views
ZPL: how to set max width of a "text field"
Given a list of small strings (1 to 3 words each), I would like to print them in 2 columns using ZPL for Zebra Printers. For example, if the list is ["A", "B", "C", "D", "E"], I would like my label to ...
0
votes
1
answer
333
views
GS1 Codebar on ZPL Batch Lot
I have the following problem, where I work I am trying to optimize the printing of ID tags. However some products have numbers and letters in their batch, when the product has only numbers the GS1 ...
0
votes
2
answers
6k
views
Sending raw text to printer via usb
I am trying to send ZPL commands to a Zebra ZT230 printer. The printer and drivers are installed and the printer port is "USB003". The PC communicates perfectly with the printer via either Zebra ...
12
votes
2
answers
49k
views
Converting ZPL print stream into a PDF file
Is it possible to convert a ZPL print stream into a PDF file? If so, how can this be done?
7
votes
2
answers
29k
views
Zebra ZPL Commands to resize barcode to sit within a label
I am using Zebra GT800 label printer with a label role size with 2.5' * 1.75'. I'm struggling to get it resize to the label within, using ZPL commands. I tried with several values in bold text which I ...
7
votes
3
answers
12k
views
Printing "raw text" (ZPL) from Web
We have a lot of old ZPL labels.
We would like to be able to print them from a web client. The printer is connected to the client and not the server.
We have had a few ideas:
Print from ...
6
votes
2
answers
7k
views
Command not being understood by Zebra iMZ320 [closed]
I'm trying to print a label from an Android app to a Zebra printer (iMZ 320) but it seems not to be understanding my command line.
When I try this sample code, the printer prints all the commands to ...
4
votes
2
answers
8k
views
How to print French characters with an acute (like 'é') with a Zebra P4t printer
My question is about printing French characters with an acute like: é è à ô etc. with a Zebra P4t printer.
Consider the ZPL instructions below:
^XA
^FO20,20
^CI28
^A0,20,20
^FD
Amitié
^FS
^XZ
I have ...
3
votes
1
answer
6k
views
How to optimize ASCII HEX for BMP to ZPL as using in Labelary
I want to write a code that will convert bitmap image to zpl. I found following code for this:
string bitmapFilePath = @"D:\Demo.bmp";
int w, h;
Bitmap b = new Bitmap(bitmapFilePath);
w = b.Width; h =...
3
votes
2
answers
3k
views
Real size WPF controls for printing
I am currently developing an application where users can create/move TextBlocks on a canvas dynamically. Once they have positioned the TextBlocks where they want them they can press a print button ...
2
votes
2
answers
7k
views
ZPL QR code not printing what is in the string
I've got the following ZPL code which prints a QR code with fielddata X50X-8091X-11111.
^XA^PON^FWN^FO30,10^BQN,2,6^FDx50x-8091x-12345^FS^XZ
But what the scanner scans from the QR code is this: ...
2
votes
2
answers
12k
views
Zebra ZPL code Repeat label X times
Using a Zebra printer with ZPL code that encodes a specific label, how can I add a to the existing ZPL command so it prints 3 copies of the same label.
This would have to be part of the ZPL code as ...