QR Code scan result does not match with the reference value

Issues related to using our fonts in Crystal Reports

QR Code scan result does not match with the reference value

Postby andre.prasetyo on Mon Sep 16, 2019 6:29 am

Dear all,

I have a crystal report that contain QR code and 2D barcode that have same reference value. but somehow the QR code shows different value when scanned. meanwhile the 2D barcode scanned value is correct.

anyone have same issue with me and have found the solutions?

anyway below is my formula:
Code: Select all
StringVar CompleteBarcodeString := "";
StringVar DataToEncode := [ValueField];
NumberVar i := 0;
NumberVar Segments :=
QRCodeEncodeSet(DataToEncode, 0, 0);
For i := 0 to Segments Do
(
    CompleteBarcodeString := CompleteBarcodeString + QRCodeEncodeGet(i);
);
CompleteBarcodeString
Last edited by andre.prasetyo on Mon Sep 16, 2019 10:00 pm, edited 1 time in total.
andre.prasetyo
 
Posts: 2
Joined: Mon Sep 16, 2019 6:18 am

Re: QR Code scan result does not match with the reference value

Postby glitch on Mon Sep 16, 2019 9:30 am

Does this happen randomly on any data string, or some particular string?

Try encode the same string with the GUI encoder and see if it is an encoding issue first.
The information above is provided "AS IS", with no warranties, and confers no rights.
User avatar
glitch
Support Engineer
 
Posts: 196
Joined: Wed May 14, 2008 2:42 pm

Re: QR Code scan result does not match with the reference value

Postby andre.prasetyo on Mon Sep 16, 2019 10:20 pm

yes happen randomly. sometime correct, sometime wrong
andre.prasetyo
 
Posts: 2
Joined: Mon Sep 16, 2019 6:18 am

Re: QR Code scan result does not match with the reference value

Postby glitch on Tue Sep 17, 2019 8:48 am

The Crystal Reports UFL does not support multi-threading. The data could get mixed when you have multiple accesses to the same report simultaneously. This is an issue in Crystal Reports. Change the work flow to isolate the access (for example running report on users workstation, export report to PDF at the server side etc.)
The information above is provided "AS IS", with no warranties, and confers no rights.
User avatar
glitch
Support Engineer
 
Posts: 196
Joined: Wed May 14, 2008 2:42 pm

Re: QR Code scan result does not match with the reference value

Postby glitch on Wed Dec 11, 2019 5:09 pm

After some hard work digging this issue, we modified the UFL code to work around the issue. The version 5.2.2 (released on Dec 11 2019) contains the workaround.
The information above is provided "AS IS", with no warranties, and confers no rights.
User avatar
glitch
Support Engineer
 
Posts: 196
Joined: Wed May 14, 2008 2:42 pm

Re: QR Code scan result does not match with the reference value

Postby SergeyK on Thu Aug 19, 2021 10:22 am

glitch wrote:After some hard work digging this issue, we modified the UFL code to work around the issue. The version 5.2.2 (released on Dec 11 2019) contains the workaround.


Hello Glitch, we purchased DataMatrix Fonts & Encoder 5 (developer version) that I understand should contain all the latest updates/fixes. But our user expiriencing the issue with incorrect barcode data after scanning - so they scan the barcode and it reference them to the wrong order number. Could you please provide the details of the workaround or send the link where this one is explained?
SergeyK
 
Posts: 2
Joined: Thu Aug 19, 2021 10:06 am

Re: QR Code scan result does not match with the reference value

Postby glitch on Thu Aug 19, 2021 10:51 am

The datamatrix UFL is thread safe after 5.2.1 (Sept 2020). You can download the most recent version from the product page http:/www.morovia.com/fonts/datamatrix/.

If you believe that this is our coding bug (the scanned result does not match data encoded), get the content of the string, as well as encoding parameters, and send to support@morovia.com.
The information above is provided "AS IS", with no warranties, and confers no rights.
User avatar
glitch
Support Engineer
 
Posts: 196
Joined: Wed May 14, 2008 2:42 pm

Re: QR Code scan result does not match with the reference value

Postby SergeyK on Thu Aug 19, 2021 11:03 am

glitch wrote:Currently QR code UFL is multithread safe. If you are using QR Code fonts & Encoder 5 you should not run into the problem.

We'll add the update to DataMatrix fonts soon.


Thank you. Can you please advise when this update is planned to be delivered and how we can get the latest version with the fix? We are using DataMatrix Fonts & Encoder 5 for a long time (but not QR Code fonts & Encoder 5) and our users randomly reproducing the issue.
SergeyK
 
Posts: 2
Joined: Thu Aug 19, 2021 10:06 am

Re: QR Code scan result does not match with the reference value

Postby glitch on Thu Aug 19, 2021 11:48 am

SergeyK wrote:
glitch wrote:Currently QR code UFL is multithread safe. If you are using QR Code fonts & Encoder 5 you should not run into the problem.

We'll add the update to DataMatrix fonts soon.


Thank you. Can you please advise when this update is planned to be delivered and how we can get the latest version with the fix? We are using DataMatrix Fonts & Encoder 5 for a long time (but not QR Code fonts & Encoder 5) and our users randomly reproducing the issue.


It is already fixed in 5.2.1. (tracking number 566, https://www.morovia.com/manuals/datamat ... enotes.pdf).
The information above is provided "AS IS", with no warranties, and confers no rights.
User avatar
glitch
Support Engineer
 
Posts: 196
Joined: Wed May 14, 2008 2:42 pm


Return to Crystal Reports

Who is online

Users browsing this forum: No registered users and 1 guest