printing issue with Zebre printer iMZ320 [closed]

隐身守侯 提交于 2019-12-11 01:45:30

问题


i am trying to print png image from iMZ320 zebra printer with my iPhone using multi-platform SDK. It prints hex values instead of the required image. Can anybody resolve this issue. Thanks in advance.


回答1:


Often the iMZ ships in line print mode, making it unable to understand normal ZPL commands, such as those used by the SDK. What language is the printer in? You can set the language to ZPL with the following command:

! U1 setvar "device.languages" "zpl"

Note: In some cases you may have to set the language to "hybrid_xml_zpl" instead of just "zpl". Also note - you have to end the command with a newline character for the printer to understand it.

If you need a tool to send data directly to the printer, such as the command above, you can use Zebra Setup Utilities: https://www.zebra.com/us/en/products-services/software/zebralink/zebra-setup-utility.html. You can also use Zebra Setup Utilities to ask the printer what language it is using by sending the following command:

! U1 getvar "device.languages"

(again - the command must end with a new line character)

Related: Command not being understood by Zebra iMZ320



来源:https://stackoverflow.com/questions/19520447/printing-issue-with-zebre-printer-imz320

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