Generate barcode, then make a pdf display include the code for print.
Enjoy it.