Giter Club home page Giter Club logo

Comments (5)

Tagliatti avatar Tagliatti commented on July 28, 2024 1

Hi, there really is a bug in Code128's algorithm with this string. In my tests I couldn't even read the barcode. But you can use Code39E which is working correctly for your example until it is fixed.
Thank you very much for reporting the bug.

var barcode = new Barcode("G7G95FTU", NetBarcode.Type.Code39E, true);

from netbarcode.

Tagliatti avatar Tagliatti commented on July 28, 2024 1

@hosamre94 @DevTown Bug fixed in version 1.4.3

from netbarcode.

DevTown avatar DevTown commented on July 28, 2024

Is the bug in all 128 barcodes or only in the base ?

from netbarcode.

Tagliatti avatar Tagliatti commented on July 28, 2024

@DevTown Thank you very much for asking, I did some tests now and found out that the problem is in Code128's automatic mode switching. If you force Code128A, the example works.

// Not work
var barcode = new Barcode("G7G95FTU", NetBarcode.Type.Code128, true);
// Work
var barcode = new Barcode("G7G95FTU", NetBarcode.Type.Code128A, true);
// Work
var barcode = new Barcode("G7G95FTU", NetBarcode.Type.Code128B, true);
// Work
var barcode = new Barcode("Test", NetBarcode.Type.Code128, true);

from netbarcode.

DevTown avatar DevTown commented on July 28, 2024

Thanks for the fast answer . Will check my code for this tomorrow.

from netbarcode.

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.