Skip to content

Extra 0 prepended to barcode #2

@listedegarde

Description

@listedegarde

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:

  1. cd /usr/local/bin/
  2. wget https://github.com/tavinus/cli-barcode/archive/master.tar.gz
  3. tar -zxvf master.tar.gz
  4. cd cli-barcode-master/
  5. ./barcode.php --create-bash
  6. sudo make install

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions