Last active
August 20, 2019 16:16
-
-
Save joeybab3/c70262e8d788d453eff4d0ff8524eda3 to your computer and use it in GitHub Desktop.
Creates a sscc18 barcode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'vendor/autoload.php'; | |
$number = 00002347350023848878; | |
$generator = new Picqer\Barcode\BarcodeGeneratorHTML(); | |
$code = chr(241).$number; | |
?> | |
<!DOCTYPE html> | |
<html> | |
<body> | |
<?php echo $generator->getBarcode($code, Picqer\Barcode\BarcodeGeneratorPNG::TYPE_CODE_128_C, 2, 60); ?> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment