chenwb-m / barcode

generate a barcode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generator barcode, it is just support EAN13, Code128 now!

Install:
cd barcode_dev
mkdir build
cd build
cmake ..
make
sudo make install



Usage: usb-prn-barcode -c barcode -o outputFile [OPTIONS]
	-c <barcode> A barcode string
	-o <file> A output file name
Options:
	-t <type> The type of barcode, default is Code128
	-i <dpi> The dpi of bitmap, default is 600
Type:
	Code128 EAN13



Example:
usb-prn-barcode -c ef3c23e1e09312987685291 -o ~/barcode.bmp

About

generate a barcode


Languages

Language:C++ 79.4%Language:C 19.8%Language:CMake 0.7%