matmair / brother_ql-inventree

Python package for the raster language protocol of the Brother QL series label printers
GNU General Public License v3.0
22 stars 9 forks source link

Get currently loaded tape #39

Closed kornpow closed 1 month ago

kornpow commented 6 months ago

Is there a way with this library to determine what label/tape is currently loaded in the printer? That way I can provide better error messages, and other things related to incompatible tape sizes?

matmair commented 2 months ago

I know it is in the comms standard with the printer but the library is not supporting this currently

kornpow commented 2 months ago

Cool, good to know it is possible. I'll leave the issue open and maybe someone else or me might take a look someday

vulpes2 commented 1 month ago

I've implemented some basic media detection in the pull request above, perhaps you would find it useful.

kornpow commented 1 month ago

I looked over your PR a bit, looks good! Will try it out on my devices!

matmair commented 1 month ago

@kornpow I would be interested in your experience with the PR (best-case as a review/comment on the PR) and which printer/label you are using.

matmair commented 1 month ago

This was addressed by @vulpes2 in https://github.com/matmair/brother_ql-inventree/pull/53