How to print barcode and align items

Mar 23 at 9:37 AM
How would I print a barcode? Is it just a font choice? And is there an option to print the associated number along with it or would I just have to do that as a seperate line?

I have no experience with this library, but I'm looking to print something like this: