Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Creates a sscc18 barcode
<?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
You can’t perform that action at this time.