Giter Club home page Giter Club logo

Comments (3)

micjahn avatar micjahn commented on June 21, 2024

I'm not sure if it's true or, at least, it is commonly implemented/interpreted in that way.
I looked into the GS1 DataMatrix Guideline (https://www.gs1.org/docs/barcodes/GS1_DataMatrix_Guideline.pdf) which says at page 15 that the codeword 232 is used as start character and as field separator.
The GS1 General Specification (https://www.gs1.org/sites/default/files/docs/barcodes/GS1_General_Specifications.pdf) says at page 292 the following:

Use of FNC1 or the control character (ASCII value 29 (decimal), 1D (hexadecimal)) as a separator character following non-predefined length element strings.

It seems to me that the two symbols are alternatives.
You say that the 232-Datamatrix codes still passes verification. So I don't see a reason why it should be changed. But I don't have the Datamatrix specification document to read the full specs.

from zxing.net.

Adam-Olmec avatar Adam-Olmec commented on June 21, 2024

I agree that the GS1 DataMatrix Guideline does make it sound like 232 is the only use of FNC1, but in my opinion the ISO document is more trustworthy.
Here are the relevant sections
2017-09-20 10_10_08-16022_2066 pdf - adobe acrobat reader dc
2017-09-20 10_09_43-16022_2066 pdf - adobe acrobat reader dc

I also verified the 2D shown in the GS1 standard on page 221 and can confirm that their examples use 29 and not 232. Verification done using one of these.
2017-09-20 10_13_31-lvs-95xx iso_iec static verifier 4 0 0j operatorid_admin app_gs1 general

I'm personally not comfortable producing a barcode that differs from the standard, from examples by the GS1 standard and from the firmware in commercial printers so I've forked the repo to add the change. I'd much prefer to just use your repo though.

from zxing.net.

micjahn avatar micjahn commented on June 21, 2024

changed the behaviour so that the codeword 232 is only added the first time when the GS character is found. any further occurence is added as 0x001d.

from zxing.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.