zpl

How to Calculate Zebra Font 0 text width?

三世轮回 提交于 2019-12-05 22:50:45
Is there a way to calculate the total width of Zebra Font 0 given text? Consider the following ZPL command, **^XA^FO100,150^A030,30^FDSample Text^FS^XZ** Here both character height and width is 30 dots. I want to calculate the actual width of this text in mm. Please note that printer DPI is 300.............. Font 0 is a variable-width font (not monospaced like some of the others), so the width of the text will depend on the text itself. One option would be to switch to a built-in monospaced font like font C, where each character is always 10 dots wide and the intercharacter gap is 2 dots wide

Printing arabic text using Zebra printer [ZPL]

痴心易碎 提交于 2019-12-05 19:08:47
As the title says Is there any option to print the arabic content ZPL Printer. Thing tried is adding the font and initiate the print ^XA ^FX ^FR ^CF0,40^CI28^FO130,45^FH^FD محاكمة Font file^FS ^XZ My printer has TT0003M_.TTF font installed but it shows "????" when i tried to print arabic using ^XA^FO50,50^AE:TT0003M_.TTFN,50,50^FDمحاكمة^FS ^XZ Any idea how to install a font and print the arabic text using ZPL language? ^XA^CI28^CW1,E:TT0003M_.TTF^LL130^FS ^PA0,1,1,1 ^FO50,50^A1N30,30^FDمحاكمة‏ ^FS ^XZ Updated this answer to match the other question Also found this on the Zebra KB - https://km

New line in Zebra ZPL

。_饼干妹妹 提交于 2019-12-05 14:51:22
问题 How do I put new line characters for my "Text"? Say for example: Hello World will become Hello World is there anyway that I can put a new line character for my code like this? ^FT78,76^A0N,28,28^FH\^FDHello\nWorld^FS If the "text" in my label is too long, how would I put another line to it? 回答1: Use \& for new line ^FT78,76^A0N,28,28^FH\^FDHello\&World^FS 回答2: I suggest you combine the answers from Thorsten and Dharmesh for maximum effect: ^FB400,2,0,C^FO0,50 ^FDHello\&World^FS Doing so will

Make text in ZPL label bold or underlined?

隐身守侯 提交于 2019-12-03 17:02:52
问题 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 via ZPL to zebra printers. I checked the ZPL manuel 1 & 2 and didn't find way how to print something in bold or underlined. Is there any way to do this? Example: "Ingredients: water, sugar, milk, cheese, chocolate" SHOULD BE NOW: "Ingredients: water, sugar, milk , cheese , chocolate" My current

How to print a logo on labels using a Zebra printer and sending ZPL instructions to it

荒凉一梦 提交于 2019-12-03 12:51:19
问题 I would like send ZPL instructions to a Zebra printer (GK420t for now). I'm printing 50mm x 20mm labels. I would like a logo (small ~ 5mm x 5mm image) to be printed on the upper left corner of the label. I would like to know the steps I should follow to do this. I have been reading and trying a few things from the ZPL manual but I don't really understand how it works and couldn't find a working example. It looks like I have to "load" the image into the printer first (in a so-called "storage

Printing “raw text” (ZPL) from Web

别来无恙 提交于 2019-12-03 09:59:11
问题 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 Silverlight. Not feasable. Seems to be no way to print "raw" to Zebra from .NET without calling COM object and that is not posible from plain Silverlight. From Silverlight, treat the ZPL as file and file copy it to printer. Local printer must be setup as shared. Does work from Silverlight Out of Browser with

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

穿精又带淫゛_ 提交于 2019-12-03 07:52:00
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 changing the label's settings in the printer's properties, tried to add the ^LL command, set units to dots. I'm using the console from Zebra Setup Utilities, and I've already changed the language to ZPL. Nothing changed. Do you know what I'm doing wrong or if is there any other place I should change the label's settings? BTW: the printer is working

Make text in ZPL label bold or underlined?

送分小仙女□ 提交于 2019-12-03 05:16:36
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 via ZPL to zebra printers. I checked the ZPL manuel 1 & 2 and didn't find way how to print something in bold or underlined. Is there any way to do this? Example: "Ingredients: water, sugar, milk, cheese, chocolate" SHOULD BE NOW: "Ingredients: water, sugar, milk , cheese , chocolate" My current label code for the ingredients is: ^CF0,15 ^FO13,245 ^FB530,2,,L, ^FH^FD__VAR_INGREDIENTS__ ^FS Thank you

Printing “raw text” (ZPL) from Web

孤街浪徒 提交于 2019-12-03 00:38:57
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 Silverlight. Not feasable. Seems to be no way to print "raw" to Zebra from .NET without calling COM object and that is not posible from plain Silverlight. From Silverlight, treat the ZPL as file and file copy it to printer. Local printer must be setup as shared. Does work from Silverlight Out of Browser with elevated trust. But if posible we would like to avoid Out of browser. If Zebra printer is set to use

Zebra Printing with CUPS no print ZPL or EPL

喜欢而已 提交于 2019-12-02 22:00:47
I have a Zebra GK420d connect to OS X via CUPS. However, when I send files to it that are written in ZPL or EPL they are only printed in plain text. Am I required to change to mode on the printer? Contrary to what others said, you don't need to specially add a raw queue. Instead, you can submit raw files into any queue using -o raw switch: lpr -P CupsPrinterName -o raw path/to/label.zpl Printer name can be found over that link in CUPS: http://localhost:631/printers/ This also works on other platforms that use CUPS, like Linux. You can create a raw CUPS queue with lpadmin. Here's the command