brother_ql
brother_ql copied to clipboard
Feature Request: Printer Status
I don't know if it is possible but I have a need to see if the printer is ok to print. Some times its starts blinking the red led because of some error and I would like to know before send other print.
If this info / status could additionally provide the currently loaded label roll that would be amazing
I need this as well, if there is anything I can assist with on the development side please let me know, I'll be digging for more information on how it works on my own for now until I can get something mocked up.
I implemented a module, that can read the status of the printer here: https://github.com/arbu/printui/blob/master/printui/printer.py. Maybe it could be integrated into this repo. So far I was only able to test this with a QL-570. But I included all fields I could find in the documentation files on the brother website. (If you want to test this: the PrinterDevice class in that file currently does not work well with the brother_ql convert() function. The convert() functions adds a status information request in the middle of the print command which is not handled. To prevent that remove the call to qlr.add_status_information() in brother_ql/conversion.py.)
Reading the current label type would be great, as it could be used to eliminate possible errors! :-)
@arbu I can confirm the printui module works well with QL-800 too.
Is there a way to raise a bounty to implement this in the command line tool, @pklaus ? some $ to a paypal account maybe? :smiley: I'd be happy to chip in!