Dear Sir.
I am also trying to implement the new UPNQR standar in our software and even though I have rebuilt the dll with the new code type (BARCODE_UPNQR = 143) the result seems to be invalid. The UPN QR test application does read it and reports as correct but no other reader (goggles, zxing app, zxing online, ...) can read it. I am attaching a picture of the correct code created with the relevant authoritys test app (correct.png) and what zint gives me (zint.png). Notice the strange gaps in upper right and lower left corners of the code.
the data encoded is this:
UPNQR
Center za preverjanje UPN QR
Vodnikova 165
1000 Ljubljana
00000654321
CASH
Preverjanje vsebine ČŠŽ čšž
29.05.2017
SI56012526030657864
SI121234567890120
OSNOVNA ŠOLA STRAŽIŠČE KRANJ
ŠOLSKA ULICA 23456789
4000 KRANJ
226
Last line is 180 spaces (411 - data length)
Please let me know what I can do to get the correct code.
Thank you.
Hi Primož,
This is very strange behaviour and definately looks like a bug. Unfortunately I have't got the time to look at it at the moment, but I certainly will do when I get the opportunity. It looks as if Zint isn't writing all of the data to the symbol in this particular situation (I tested using your data on my own system and got the same result), but I don't yet understand what circumstances would lead to this happening, when it works fine for all of the other messages I have tested.
I will have to look forward to finding out!
Robin.
Dear Robin.
I have noticed that the same gaps appear in ticket #62 where you added the UPNQR code type so I don't think the problem is exclusive to this data. I can not try to read the code though as the edges are hidden in that image.
I do hope you can take a look at this soon as we need this quite urgently.
Thank you for your efforts.
Primož
Turned out to be a very simple bug - I had missed the version information in the UPNQR symbol.
I will ask Harald when he can make a new binary.
Robin.
Harald has done his magic very quickly! Binary is available here:
https://sourceforge.net/projects/zint/files/zint/test/zint_2017-05-30.exe/download
Robin.
Thank you very much Robin. I have already rebuilt the dll with the latest code from the repository and seems to be correct now. I can scan the code and data is correct. I passed it on to be tested.
Thank you again for your quick response.
Thank you for getting back to us and thank you for the bug report. If there are any other problems then let us know. Closing this ticket.