Giter Site home page Giter Site logo

Comments (4)

ngiger avatar ngiger commented on June 2, 2024

We started using qrcodejs and it works find most of the time. However when you press the print button in
http://ch.oddb.org/en/gcc/rezept/ean/7680516801112,7680576730063?
it fails when passing the string

http://2dmedication.org/|1.0|1b4dfc3e-fa35-6f15-88b1-ede727d4c268|ywesee GmBh|1.0|doctor-ean13|||2051|||||;7680516801112|||1||0.00-0.00-0.00-0.00|||0|7680576730063|||1||0.00-0.00-0.00-0.00|||0;14494

Using a more drugs e.g pressing print on http://ch.oddb.org/en/gcc/rezept/ean/7680516801112,7680576730063,7680193950301
works fine!

Therefore I think it an error somewhere in the code where it determines the module size and not an issue of the string itself.

from qrcodejs.

grempe avatar grempe commented on June 2, 2024

I can confirm this issue as well. Using a simple string of numbers ~191 chars long results in no QR code being output (but the dom seems to reflow to make space for it in the page). Shorten the code data and it works. Obviously this falls far short of the spec which should allow ~4000 chars of data, with less when using error correction. Sadly, this makes this library unusable for me.

from qrcodejs.

mapleeit avatar mapleeit commented on June 2, 2024

is there any suggestions for this question?

from qrcodejs.

itboos avatar itboos commented on June 2, 2024

I meet this problem as well

from qrcodejs.

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.