Complete QR Code Labels Overhaul #53
Replies: 12 comments 20 replies
-
How would a template be structured? There's this library that does decently flexible PDF generation: https://github.com/johnfercher/maroto My original plan was "code as templates", a simple function that takes in parameters + data and outputs a Maroto PDF. Except it's hard to make it pretty since we're directly manipulating PDFs. Considering the learning curve for Maroto, an extra dependency, and basically requiring a recompilation, I gave up on my last PR attempting to do this. Any input on the overall architecture? We can do a custom generation workflow, but it's gonna be a lot of work. Wonder if Snipe-IT has something that we can learn from. |
Beta Was this translation helpful? Give feedback.
-
Can somebody tell me how I can create QR codes in the current version v0.12.1 anyway? I saw this Reddit post https://www.reddit.com/r/selfhosted/comments/1aqmgo0/feel_like_ive_been_looking_for_something_like/ where somebody has at least a label under the QR code but when I hover in the app to a QR code I have no chance to add any text. I mean we have this label overview function but how can I really say I want a list of all locations for example and print them all at once? Am I missing something? |
Beta Was this translation helpful? Give feedback.
-
I would be happy to support a bounty on this. Its the only thing I do not like about the package. |
Beta Was this translation helpful? Give feedback.
-
I'd also happily support a bounty on this. Is this possible? |
Beta Was this translation helpful? Give feedback.
-
If I may, would it be possible to define the sheet and label measures in non-freedom units as an option please? |
Beta Was this translation helpful? Give feedback.
-
There are some Brother printers that connect directly to the network via Ethernet, can a label generation / QR function etc be added to directly print the asset label as the item is added? Sadly, I don't know enough about programming to do any work on this... |
Beta Was this translation helpful? Give feedback.
-
It would be nice to customize the text where it says "Homebox" to any text of your choice. |
Beta Was this translation helpful? Give feedback.
-
There is one quick fix that would be good. The text needs to be black by default. Being an off black/gray may look nice, but thermal printers hate it. They have to try and dither to approximate the colour, and that kills the fine text and lines. Just did it on a 4x6' label, with a Jadens JD-168BT label printer. The dithering made the id too light and spotty, and the text looks like the printer just gently whispered to the paper. The QR code, however, was perfect and crisp. Further more, There also needs to be a function where if a ID is not yet set to an asset, Scanning the QR code should bring up a page to add a new asset with the ID of the label, Rather than just getting an error saying that ID is not found. This will allow you to print a bunch of blank labels to then add the data in as you go, sticking them to your things and then entering them into the inventory. It would be nice to also have an option for random ID's, rather than sequential. In my opinion, It just looks better than having a bunch of zeros and then 1, 2, 3... |
Beta Was this translation helpful? Give feedback.
-
Having just purchased a Brother QL-800 with continuous paper DK rolls I am really looking forward to progress on this topic :) |
Beta Was this translation helpful? Give feedback.
-
This is the only downside to this great piece of open source software. How can we start a bounty? |
Beta Was this translation helpful? Give feedback.
-
Hello, new user to Homebox, just getting it set up and assessing it for my purposes. I wanted to offer some feedback on the label generating feature:
Thanks for the awesome software and for taking the time to receive feedback on the feature. |
Beta Was this translation helpful? Give feedback.
-
For my (python) projects I'm currently depending on https://jinja.palletsprojects.com/en/stable/ (along with https://doc.courtbouillon.org/weasyprint/stable/ to convert the html to a pdf). This addresses all the Layout Templates points. I also created functions that I made available on the template to create one dimensional and two dimensional barcodes (QR, datamatrix, aztec). These functions take the string to encode and desired barcode dimensions as arguments and generate a base64 decoded image of the barcode that can be put into the html template. This should address the Options points. |
Beta Was this translation helpful? Give feedback.
-
Right now the QR code labels are extremely limited, and I think that it needs correcting. Below is a list of key categories of things I think need correcting.
Labels for All
Labels for every type of item, location, etc. should be supported.
Layout Templates
Options
In general, I really like the way Snipe-IT handles label generation, and I think it would be a good example to try and follow in terms of actual generation and options.
Beta Was this translation helpful? Give feedback.
All reactions