Giter VIP home page Giter VIP logo

Comments (5)

casperbakker avatar casperbakker commented on July 3, 2024

I don't think the tone of your message is helpful.

But anyway, the file is not part of the barcode generation library. It is only to generate the examples for the tests and for the documentation, like the name suggests... The generator script is if we add new formats or change the output, we can quickly recreate all examples.

The generated examples can be seen here: https://github.com/picqer/php-barcode-generator/blob/main/examples.md

The library in this project does not use anything, apart from GD or Imagick for JPG/PNG. As you can see in the composer.json.

from php-barcode-generator.

marksch avatar marksch commented on July 3, 2024

I didn't intend to use a specific tone.

Your reply doesn't explain why the script doesn't work. The following should generate a barcode, but it doesn't. Why not?

<html>
<head>
<script src="https://unpkg.com/jsbarcode@latest/dist/JsBarcode.all.min.js"></script>
</head>
<body>
<svg id="barcode"
  jsbarcode-format="upc"
  jsbarcode-value="123456789012"
  jsbarcode-textmargin="0"
  jsbarcode-fontoptions="bold">
</svg><script>
  JsBarcode("#barcode");
</script>
</body>
</html>

from php-barcode-generator.

casperbakker avatar casperbakker commented on July 3, 2024

That JS code has nothing to do with this package.

If you use this PHP library, you don't need the generate-examples.php. How it does work is explained in https://github.com/picqer/php-barcode-generator/blob/main/Readme.md

from php-barcode-generator.

marksch avatar marksch commented on July 3, 2024

I suggest you make that clear in the description of your project.
I have downloaded JSBarcode from somewhere else and now it works perfectly.

from php-barcode-generator.

casperbakker avatar casperbakker commented on July 3, 2024

I suggest you read the docs already there. I also suggest you don't run arbitrary code on your machine without knowing what you run or how it works.

from php-barcode-generator.

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.