Menu

#45 Datamatrix generation introduces curly bracket character

v1.0 (example)
open
nobody
datamatrix (2)
3
2020-05-08
2014-05-30
Stefan
No

Hi,

in datamatrix barcode generation the code "DD_DDD;DD;DDDDDDDDDDDDDDDDDDDDDDDDD51" yields a QR-Code which reader resolve as "DD_DDD;DD;DDDDDDDDDDDDDDDDDDDDDDDDD{51" (note the new curly bracket at the third last position)
When removing/replacing the "_" or ";" in the message's beginning, the curly bracket disappears.

I tested that with the Barcode Scanner App and ScanMe-Barcodescanner App (on different devices). In advance I of course took care of enough space around the QR-Code, an adequate height/width...etc.

Thanks for your help,
Stefan

PS: The QR-code generated here looks pretty different by the way and can be read correctly by my reader apps: http://datamatrix.kaywa.com/img.php?s=8&d=DD_DDD%3BDD%3BDDDDDDDDDDDDDDDDDDDDDDDDD51

Discussion

  • Jan Prill

    Jan Prill - 2015-02-23

    Hi,

    I second this. Generation seems to fail on specific Strings which have in common, that there are two numbers in the end. Here are two for which the generation includes a curly bracket on third last position while it's not in the source string:

    -- WE-KB_FF-NF-TOP-P0{49
    -- WE-KN_FF-NF-FSH-51{31

    Any help is appreciated.

    Best, Jan

     
  • Tillmann Seidel

    Tillmann Seidel - 2020-05-08

    Hi,

    I can also reproduce this. However I cannot confirm @jan-prill's observation that there must be two numbers in the end. It's also reproducible with aaa++PC-UD1k, coming out as aaa++PC-UD1{k.

    Is there any chance for another barcode4j release containing a fix for this?

    Best regards
    Tillmann

     

Log in to post a comment.