How to convert a barcode to a pdf file

Searching the forum is always a good start...