docspell
docspell copied to clipboard
Feature Request: Add QR Code to Downloaded PDFs
As a user of docspell, when I print a doc, it would be amazing to be able to (optionally) add a small QR code to all of the pages so that I could easily tie the printed copy back to the stored file.
Thanks for this suggestion @knobunc - it indeed would be really nice. You then also know that a paper is already in docspell, allowing to throw it away eventually. I guess you mean to add this qr code to the converted pdf file, right? Docspell already depends on a pdf library that can be used for this. OTOH it could also be an addon.
Another way to tie paper documents to docspell is to use a ASN. Stamp or write a number on the paper before scanning and use a custom field to track it. Obviously not the same as your proposal, but mentioning it because it could be an option for some, as it solves parts of the proposal.
I get a bunch of pdfs through email (or that I have scanned). But when I later print them, it would be really handy to be able to scan a QR code on the print to get back to the doc in docspell.
Specifically, I am building a house and we get lots of design docs, and each has lots of versions. So if I printed one to give to a contractor, when we are talking about it, it would be awesome to be able to scan a link to get to docspell, and then I can look at the linked documents to see if there is a later revision we should really be looking at, or if this one is current.
Obviously, it should be an option to turn on/off at download time... if it were always on for converted pdfs it would be annoying.
I see, thanks for the additional context - always very helpful! Now I understand better. It wouldn't belong to processing the file but the QR code should be rendered on demand when downloading. For larger files this could be a bit time consuming, but that is ok I think.
It should be possible to just overlay these data on the fly when generating the PDF for download, that doesn't require processing the entire PDF I don't think.
It should be possible to just overlay these data on the fly when generating the PDF for download, that doesn't require processing the entire PDF I don't think.
That's true. I'm only not sure if the pdf library in use wants to have the complete PDF in memory to do any operation. I think in the latest release there were changes in that respect, but I have yet to really take a look.
Is this PDFBox? If so, I can have a look…