The bufferFullFlag
will tell you if the printer's buffer is full and cannot receive any more print jobs. You can query that (it's the 6th parameter). You should also look at the paperOutFlag
and pauseFlag
to make sure the printer is ready to print.
If you use the Zebra SDK, you can call the ZebraPrinter.getCurrentStatus()
and that will return a class that contains the ~HS
parameters as primitive data types so that you don't have to parse it yourself. There is also a combo boolean called isReadyToPrint
which looks at several of the status bits to see if you can send a job to the printer