Questions tagged [zpl]

ZPL stands for the "Zebra Programming Language" and is a proprietary programming language used to communicate to Zebra branded printers.

Wiki:

ZPL stands for the "Zebra Programming Language" and is a proprietary programming language used to communicate to Zebra branded printers. Zebra Programming Language (ZPL and ZPL II) is a Printer Control Language.

Read more:

631 questions
7
votes
1 answer

Zebra Programming Language (ZPL) II using ^FB or ^TB truncates text at specific lenghts

I am writing code to print labels for botanic gardens. Each label is printed individually but with different information on each label. Each label contains a scientific name which can vary greatly in size and thus can go over 2 lines (our label size…
Kerry
  • 71
  • 1
  • 1
  • 4
7
votes
2 answers

ZPL - Barcode Missing a digit when printed

I am trying to print a Code 128 barcode on a label using the following the piece of ZPL with a Zebra ZP 450 printer: ^BY3^BCN,112,N^FO090,660^FD>;>89102100^FS I'm expecting the barcode to scan as "9102100". However, when I scan the printed…
Mike
  • 1,039
  • 1
  • 12
  • 20
6
votes
2 answers

How to print PDF to ZPL (Zebra Printers) using c#?

ZEBRA PRINTERS uses the native commands called ZPL programming language, printing PDF to the printers usually do not work, the best solution for printing using C# is? I created this question and answer as I could not find an effective solution on…
Roger Oliveira
  • 1,589
  • 1
  • 27
  • 55
6
votes
2 answers

Converting PNG image to ZPL code

I need to print a PNG image onto a label with a ZPL printer. The idea is to convert the PNG image to a monochrome one and then generate the necessary ZPL code with the image data to print the image. After some googling and coding, I have a piece of…
Lenquist
  • 61
  • 1
  • 1
  • 3
6
votes
2 answers

ZPL - How to set Font size to 9pt?

How do you use ZPL to change the font size to 9pt?
Fabienne Williams
  • 105
  • 1
  • 2
  • 11
6
votes
1 answer

ZPL Barcode Labels setting width of label/barcode

I'm printing to a zebra thermal printer from 2 different systems, a windows environment using BarTender to print labels with a text file as the data source, and an older system (green screen) which prints using command files like below. My problem…
6
votes
2 answers

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 read in the user guide of ZPL, but no…
6
votes
4 answers

Comment line in ZPL code

I want to comment lines in the ZPL code, for example: ^XA ^MMT ^LL0531 ^PW1280 ^LS0 ^FT81,528^A0B,29,28^FH\^FDTEXT^FS // ^FT336,495^A0B,29,33^FH\^FDEAN^FS^FX ---- //^BY3,2,42^FT384,492^BEB,,Y,N Commented…
Luciano Marqueto
  • 1,148
  • 1
  • 15
  • 24
6
votes
2 answers

Can't define label length - ZPL (RW 220)

fellows, what I'm trying to do should be simple: to print an example label from ZPL II Programming Guide. But no matter what I write, the label is always printed with 40mm length. This is the code: ^XA ^LH0,30 ^FO20,10^AD^FDVERSUL^FS ^XZ I tried…
AFMeirelles
  • 409
  • 3
  • 8
  • 25
6
votes
1 answer

How to change the bar code in our ZPL code into a QR code?

I'm doing a project at a company which produce new species of flowers and plants. The flowers and plants are labelled with small labels. To make the labels, we use ZPL codes. On the labels we use a barecode which gives the data about the plants. My…
Guynoah
  • 63
  • 1
  • 1
  • 5
6
votes
2 answers

ZPL - how to right justify a bar code?

I am trying to right justify a bar code I am printing using ZPL from a .Net program. Here is my current code: ^FO10,50^FB500,1,0,R,0^AO,40,40^BY3^BCN,100,Y,N,N^FD1234567^FS^XZ The Field Block seems to be ignored when working with a bar code, but…
Jesse Rallo
  • 163
  • 1
  • 2
  • 9
6
votes
2 answers

Command not being understood by Zebra iMZ320

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 the paper as I send them to the…
Darknoe
  • 1,190
  • 1
  • 9
  • 11
6
votes
4 answers

printing from a webserver to a thermal printer with no intermediary

I have been looking into this question for almost a month now. It seems I am being pushed in all different directions. I hope someone can help me with an answer. to give a brief model of what I am looking for: I have a webserver that has information…
Mark
  • 911
  • 13
  • 30
5
votes
3 answers

ZPL - zebra: print justified text block without overwriting last line

I'm using the following command to print a justified text: ^FB1800,3,0,J^FT100,200^A0B,26,26^FH\^FDLONG TEXT TO BE PRINTED, WHICH DOESNT FIT IN ONLY 3 LINES...^FS The command ^FB1800,3,0,J prints a field block in a width of 1800 dots, maximum 3…
Rodrigo Pires
  • 574
  • 2
  • 11
  • 23
5
votes
5 answers

Print BMP with ZPL

How can I use ZPL II to print a bitmap (BMP) image? I used ~DY to download the BMP to the printer: ~DYR:PRINT,B,B, , , I am using PHP to send raw data to the printer, so <> variables are coming from that script. Using the…
Mark Brouch
  • 119
  • 1
  • 3
  • 9
1 2
3
42 43