A simple project that helps generating (and printing) PDFs with a list of barcodes. Barcodes dimensions and positions are fully configurable so you can craft the generation to you needs and various paper sizes. You have an option to add some extra data (like price, image, label, extra label) around the barcode so it more useful.
Used PIL barcode generator by Erik Karulf available at GitHub.
This code generator/printer has become a part of online app and is available at labs.extensa.pl/barcode. Check it out if you are not sure that this is the thing you were looking for.