SergeoLacruz/inventree-zebra-plugin

Switch to machine driver interface

Opened this issue · 5 comments

Now that inventree/InvenTree#4824 is merged, InvenTree>=0.14 offers a new way of providing a connection with printers that is much more flexible because it supports:

  • adding multiple printers of the same type that can be individually configured
  • printers can be managed more easily and independently, if they use a printing driver instead of a label mixin
  • printers can provide a status to the user (e.g. connected, out of media, ...)

You can read more about it here, or ask me any question if something is unclear.

I would be happy to contribute the implementation if you want.

Hi,
the new interface seems promising. But as I see this is more a different version than an update. Our production server is
still on an older release. We do not change the revisions so often. Max twice a year. So I will stay with the old interface
as long as we need it.
I will definitely rewrite it when we need it.
Michael

Hello Michael,

thank you for your answer. I'll then write my own driver for now.

But thank you very much for your excellent research and help with the rasterization stuff. It's working great so far when looking to size and position the QR code correctly.

Have a great week.

Best,
Lukas

I started to work on this. The dymo example does not seen complicated. So it should be an easy task. Unfortunately there are unexpected problems. Will take some time...

Now that inventree 0.16 is released, this would be possible to implement now since the machine printing feature is now working in a production setup using a worker.

I think so.
Unfortunately I am actually occupied with other duties. Hope I can work on this in October.