cyanfish / naps2

Scan documents to PDF and more, as simply as possible.
https://www.naps2.com
Other
2.8k stars 324 forks source link

Barcode placeholder in filenames #152

Open cyanfish opened 1 year ago

raylutz commented 1 year ago

I copied this from a discussion now that I see this issue raised.

I am looking for a batch scanning function where the text from code39 barcode on Patch-T page is used as a placeholder in file name. So if Barcode says "AB0001" then I can use that as placeholder like $(barcode) in the generated filename, like $(barcode)-$(nnnnnn).pdf So that each page scanned in duplex will be prefixed by barcode and followed by 6 digit number, like AB0001-000001.pdf

Each time a new batch is started, then the second number would restart, but this could be an option.

would be the first document scanned of two pages (each side) in pdf format, hopefully using ccitt internally.

I can probably find funding if someone can implement this at reasonable fixed cost. (Please contact me directly on this if you can work on this)

Thanks.

GoodFriendJob commented 1 year ago

I think you can generate the file name with the current timestamp. If it's acceptable clue, I can update the code.

maurped commented 8 months ago

Is this feature planned to be integrated soon? thanks

GoodFriendJob commented 5 months ago

Is this feature planned to be integrated soon? thanks

Sure. Please get me a chance to complete asap.