Is there a ZPL command to have the printer return a confirmation message after it finishes printing a string of ZPL or a verbose confirmation that the printer received the message?
ZPL Command for confirmation message after print? |
ZPL Command for confirmation message after print?Is there a ZPL command to have the printer return a confirmation message after it finishes printing a string of ZPL or a verbose confirmation that the printer received the message? |
Subscribe to email updates
Monthly updates from our Zebra development team, straight to your inbox.
1 Replies
There are a number of ways to do this. One example is here:
https://developer.zebra.com/thread/36392
However, it notes that the solution isn't that reliable.
I think the most reliable solution would be to send the print job to the printer, and then to query the printer for that job.
You could do this by enabling input caputre on the device: https://www.zebra.com/us/en/support-downloads/knowledge-articles/captur…
And then you could query the printer for that file after you send your job, and make sure it appears. You could even send some unique id to a non-printable field and then search the file for that id, which would make the process fairly bulletproof.
If you are trying to guarantee output, this could still be problematic if the printer has some physical issue (i.e. out of labels, etc). However, that could be monitored for via SNMP.