Creating Barcode Labels For Inventory

It seems like there should be a quick and easy way to reprint a label. What if it fell off or got damaged? I can picture a function performing this action. What did you use for a custom solution?