Question

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.

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top