How to get ZPL code from a ZebraDesigner label?

余生颓废 提交于 2019-11-30 10:36:17

问题


I'm using ZebraDesigner 2.2.2 (Build 2728).

Is there a way to extract the ZPL code from ZebraDesigner? I can't even export it to ZPL file, the only option I have is saving it as .lbl.


回答1:


You can add a new ZebraDesigner ZPL driver to the system and use a file as the port. Then when you "Print" the document, it will write the ZPL code to the file.

Note that it might have some header information before the first ^XA which you might not need.

UPDATE : (How to add local port on a driver)

  1. Go to Printer Properties
  2. Click on the Ports tab
  3. Click Add Port
  4. Select Local Port and click New port
  5. Enter a filename e.g. C:\output.zpl
  6. Make sure it is checked in the ports list
  7. Now all printing output should go to C:\output.zpl



回答2:


Not sure if I'm missing something here but from the one that I'm using ZebraDesigner 2.2.3 (Build 4271), I can just click Print, tick "Print to file" checkbox, output to a *.prn file, open that file with Notepad and the code is there.




回答3:


I use the "Print to file" checkbox in the Print pop-up dialog. It produces a text file with the ZPL inside.




回答4:


if you want to see native ZLP codes you must use zebra fonts, if you do not use you will see .GRF codes like below

^FT320,64^XG007.GRF,1,1^FS

and do not understand them. After that hit print than select "print to file". So you can see clear ZLP codes.



来源:https://stackoverflow.com/questions/13586865/how-to-get-zpl-code-from-a-zebradesigner-label

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!