How to print barcode on the page or pdf document?
-
Hi
There are many barcode formats
so which one do you need ?Some are easy to generate "manually"
https://www.codeproject.com/Articles/2434/Drawing-Barcodes-in-Windows-Part-1-Code-39Anyway, i personally like
https://github.com/zint/zint -
Hi
Well you can build lib with cmake.
there should be cmake project file somewhere.
its a c api so its a bit "raw"
http://www.zint.org.uk/Manual.aspx?type=p&page=5 -
@Mucip The examples are right there: http://www.zint.org.uk/Manual.aspx?type=p&page=5
They do not use Qt, but it is just C++.
If you think Qt should support bardcodes you can file a change request or even submit a patch. -
Hi,
I think I can do it with Zint CLIhttp://www.zint.org.uk/Manual.aspx?type=p&page=4
It creates the barcode png of the requested data very easilly.
By the way there is qt GUI version too. But I couldn't run it anyway. :)http://www.zint.org.uk/Manual.aspx?type=p&page=3
Now issue is as SOLVED for me...
Regards,
Mucip:) -
@Mucip said in How to print barcode on the page or pdf document?:
" -o c:\sil\kod.png -d 'CSI0070-1200'
This is wrong. Each parameter needs to be a string, not all in one string...