I'm working on creating a new ZPL label, and would like to draw a dashed line, but I haven't found any information on how to do that or if it's even possible.
Am I asking too much of ZPL?
I'm working on creating a new ZPL label, and would like to draw a dashed line, but I haven't found any information on how to do that or if it's even possible.
Am I asking too much of ZPL?
You can easily create a dashed pattern with ^GF
. It's not the most efficient way in terms of ZPL code size, but it's very easy to amend by hand:
^XA
^FO10,10
^GFA,100,100,50,FFFFFF0000FFFFFF0000FFFFFF0000FFFFFF0000FFFFFF0000FFFFFF0000FFFFFF0000FFFFFF0000FFFFFF0000FFFFFF0000^FS
^IS1.png,N
^XZ
Result:
You should use the zebra zpl designer program , which allows you to create the label like WYSWYG (what you see is what you get or something like that) and then print it to a file, to have a .prn file to you can inspect the code. And then you can use this site: http://labelary.com/viewer.html to prove it.