Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to machine driver interface #6

Open
wolflu05 opened this issue Feb 19, 2024 · 5 comments
Open

Switch to machine driver interface #6

wolflu05 opened this issue Feb 19, 2024 · 5 comments
Assignees

Comments

@wolflu05
Copy link

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.

@SergeoLacruz
Copy link
Owner

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

@wolflu05
Copy link
Author

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

@SergeoLacruz
Copy link
Owner

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...

@SergeoLacruz SergeoLacruz self-assigned this Mar 24, 2024
@wolflu05
Copy link
Author

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.

@SergeoLacruz
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants