[SHOW & TELL] Printing labels automatically through react-native app #2715
Replies: 2 comments 5 replies
-
@matmair @SchrodingersGat would love to hear your feedback guys on this :) |
Beta Was this translation helpful? Give feedback.
-
@Zontex you have inspired me! InvenTree now directly supports plugins for printing labels: #2768 This means that if you write a plugin for your printer, you can print labels to that printer directly from the web interface: Also, in the next app release, you can print labels directly from the app. Would you be willing to look at supporting your printer driver library as an inventree plugin? I've hacked together a plugin for the Brother QL/PT series of printers - source code here - the implementation is pretty straight forward! Docs here: https://inventree.readthedocs.io/en/latest/extend/plugins/label/ |
Beta Was this translation helpful? Give feedback.
-
After implementing smart LEDs solution, it's time to hack the thermal label printer.
The thermal label printer doesn't have any Linux driver so I had to come up with python code to control it, can print pdf labels (one or many) currently, it's working through the micro flask API I've made but I will integrate it into the plugin later on.
Python code originally by @abrasive but I modified it to support multiple labels at once: https://github.com/OmnIoT/pdf2tspl
label printer connected directly to Raspberry Pi (OmniKit) that hosts Inventree locally.
Pictures from the mobile app:
Thermal label printer (N41, cheap but working amazingly well):
.
Beta Was this translation helpful? Give feedback.
All reactions