Get a line with barcode and text onto pdfs Written in python, you need reportlab and pyPdf.
Usage:
pdfbarcode.py -i input-pdf-filename -t "barcode text" # writes to stdout
or:
pdfbarcode.py -i input-pdf-filename -o output-pdf-filename -t "barcode text"
First steps stolen from https://github.com/glokem/barcodepdf.
Todos:
- more parameterization for positions and sizes
- checking for boundaries, text length
- multipage numbering if wanted
- python3 compatibility
- build a standalone, eg. freeze or cython