Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Extend to other QR-Codes/ASN possible #82

Open
andbez opened this issue Jan 2, 2025 · 5 comments
Open

Feature Request: Extend to other QR-Codes/ASN possible #82

andbez opened this issue Jan 2, 2025 · 5 comments

Comments

@andbez
Copy link

andbez commented Jan 2, 2025

Hi,
just migrating from paperless-ngx to Docspell. I am missing just one feature: Set ASN from QR-Code on Document. Any chance to extend this Add-On "easiely"?
Thank you.

Best

@eikek
Copy link
Member

eikek commented Jan 15, 2025

I'm not sure what you mean exactly: setting a custom field from some information in the QR code? This would be possible, it is necessary to know how to obtain that information, though.

@andbez
Copy link
Author

andbez commented Jan 17, 2025

It seems to be common ( for me ;-)) that Paper-Documents, which are not put to bin, get an ASN (e.g. a counting numeric value). This ASN could be written, stamped or put a QR-Code-Sticker on to the Paper-Document before Scanning. An Example for QR-Codes are available on https://tobiasmaier.info/asn-qr-code-label-generator/. If Docspell/this Add-on could read the ASN-QR-Code from the scanned PDF and put the Value into a specific field would be very helpful.

@eikek
Copy link
Member

eikek commented Jan 17, 2025

Ah, I see, thanks. Sure, that makes sense. I'm currently not so sure if that fits into this addon. perhaps a new one would be good

@andbez
Copy link
Author

andbez commented Jan 26, 2025

Is this the correct file, where you analyze if it's a SwissQR-Code? modules/core/src/main/scala/docspell/swissqr/QrTextReader.scala. So I would expect to change this to the "ASN"-Text-Return and then put the information in the correct Metadata. I am not familiar with Scala.

@eikek
Copy link
Member

eikek commented Jan 26, 2025

Yes, this is the file.

Addons don't need to be in Scala, it can be in any language. There are some docs about it here. So if you like you can create an addon in whatever language you are more familiar with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants