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

Add support for CNK codes #493

Open
thibaultmol opened this issue Sep 18, 2024 · 4 comments
Open

Add support for CNK codes #493

thibaultmol opened this issue Sep 18, 2024 · 4 comments

Comments

@thibaultmol
Copy link

In Belgium pretty much all products sold in pharmacies use a CNK code which is a specific MSI coded barcode:
https://www.apb.be/SiteCollectionDocuments/ALL%20PARTNERS%20ACCESS%20DOC/CODES-CNK-DOC/BROCHURE-CNK-EN.pdf

see example:
Screenshot 2024-09-18 at 23-07-46 Sharp Scan - thibaultmolleman@apotheekmollemandecoster be - Apotheek Molleman De Coster Mail

Most of them use this CNK code. Others (that have unique codes for getting money back from health insurance have datamatrix codes which already work properly) and a smaller number of products use regular EAN codes which also work.

@markusfisch
Copy link
Owner

Thank you for bringing this up! I've never seen these barcodes, unfortunately. Very interesting! And sorry for the slow response 🙈

Now, this barcode format would have to be added to ZXingCpp (that's the library this app uses to read barcodes). @axxel Do you know CNK codes?

@axxel
Copy link

axxel commented Sep 25, 2024

No, I haven't seen these before. The link to the PDF seems broken. @thibaultmol can you double check that?

@thibaultmol
Copy link
Author

@axxel
Copy link

axxel commented Sep 26, 2024

I see. They use "just" a fixed length MSI code. That symbology is pretty simple in its construction. I guess this could be implemented along the lines of the existing Code39 reader.

That said, I don't have spare time to put into this right now. But if there is a business interest (money involved), my priorities can be influenced :). In that case, please get in touch via zxingcpp at gmail dot com.

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

3 participants