Comments (2)
Hi, it believe is because 4780000000000
is not valid EAN13 - the exception says it all InvalidCheckDigitException
Your 4780000000000
is not valid, check digit is 7, therefore 4780000000007
is valid EAN13.
You can calculate online for example on https://www.gs1.org/services/check-digit-calculator or use some formulas that can be found on internet.
from php-barcode-generator.
Yep, JanMikes is right. It is not a valid EAN13 number. You can create a Code128 barcode if you really want 4780000000000 in the barcode. But it is not valid if you want EAN13.
from php-barcode-generator.
Related Issues (20)
- Using in twig HOT 1
- Barcode output is different deppends on server HOT 6
- Not supporting PHP 8.1.3 HOT 1
- Picqer \ Barcode \ Exceptions \ BarcodeException HOT 1
- Text at the bottom of the barcode HOT 2
- Code 32 not creating checksum digit HOT 1
- Character issue in v2.4.0 HOT 2
- Fatal error: Uncaught Picqer\Barcode\Exceptions\BarcodeException: Neither gd-lib or imagick are installed! in E:\SERVER\htdocs\my_learning\php-barcode-generator-2.2.4\vendor\picqer\php-barcode-generator\src\BarcodeGeneratorPNG.php:22 Stack trace: #0 E:\SERVER\htdocs\my_learning\php-barcode-generator-2.2.4\index.php(7): Picqer\Barcode\BarcodeGeneratorPNG->__construct() #1 {main} thrown in E:\SERVER\htdocs\my_learning\php-barcode-generator-2.2.4\vendor\picqer\php-barcode-generator\src\BarcodeGeneratorPNG.php on line 22 HOT 3
- Inconsistency in $foregroundColor (string and array) HOT 2
- Inline svg HOT 1
- Not compatible with PHP 73 HOT 1
- thrown in /home/devspedi/public_html/wp-content/themes/additrans/lib/php-barcode-generator/src/BarcodeGenerator.php on line 140 HOT 1
- using FORM as array like name='data[]' HOT 1
- Barcode images not showing in Gmail, tried with PNG and HTML as base64 is not supported HOT 1
- Image not showing when used text and number, but also showing number. HOT 5
- Unable to work with php 8.2 and XAMPP on Windows x64 HOT 1
- PHP 8.2: fix E_DEPRECATED warning HOT 1
- Make $widthFactor to be float HOT 4
- Fatal error: Uncaught Error: Call to undefined function Picqer\Barcode\imagejpeg() HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-barcode-generator.