Add barcode to file name (?) #1320
Replies: 4 comments 9 replies
-
I think that this would be very beneficial. I think that there is a huge gap that a unique machine readable reference on the document (eg a barcode) cannot be automatically got into the p-ng system. What you are proposing would be very helpful. Even if teh file was not renamed, it would allow you to find the document! |
Beta Was this translation helpful? Give feedback.
-
Is it foreseen to "fund" extensions ? |
Beta Was this translation helpful? Give feedback.
-
Hi there, I think we can split this into two separate aspects:
Regarding 1: There already was a discussion about this in #460. I adjusted the script to actually parse barcodes instead of relying on the (usually also present) human-readable version of the information, which you may find helpful here. See this repo HTH |
Beta Was this translation helpful? Give feedback.
-
I'm not certain that, a good idea to use the bar-code/qr-code because more and more documents use qr-code, but it should be relay nice to scan them and add the result in the PDF or in a field of the document :-) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
first of all: I am a paperless-ng user and not a developer.
My wish is to get p-ng to rename an incoming PDF - and to use part of the read content, namely the ASN, for the filename. (*)
The long version:
I put a sticker on the paper documents that has to be scanned, instead of writing down an ASN by hand.
The sticker shows a consecutive which is intended to serve as the document ID, and it shows it twice: as a numerical sequence of digits + as a barcode.
The document is scanned and comes as a PDF in p-ng.
My wish is that this consecutive number (in its function as a document ID) becomes part of the file name, preferably as a kind of suffix, for example: "document.pdf" should become "document-12345678.pdf".
I am aware that - in order for this to work "correctly" in my sense - p-ng must be able to recognise which text string is a document ID and which is just a normal sequence of digits. p-ng could recognise this from the barcode (maybe it can even read it generically)?
Does this option already exist and can I (could a developer) configure p-ng to do this with the existing options?
Or does anyone see the possibility of developing p-ng in this way?
I am grateful for every hint and every offer!
Thanks in advance + only the best
Frank
(*) The purpose of this action is to be able to search and find documents in environments that cannot read PDF content, i.e. where I have to rely on the file name.
Beta Was this translation helpful? Give feedback.
All reactions