-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
All the codes I create are always prepended by a zero. For example, if I use the code 123456 then the scanned code is 0123456. Here is the exact code I am using to generate the barcode:
<?php exec('barcode -h 90 -e CODE_128 -f PNG "123456" bcode.png'); ?>
Here is the code I used to install:
- cd /usr/local/bin/
- wget https://github.com/tavinus/cli-barcode/archive/master.tar.gz
- tar -zxvf master.tar.gz
- cd cli-barcode-master/
- ./barcode.php --create-bash
- sudo make install