A barcode printer (or bar code printer) is a computer peripheral for printing barcode labels or tags that can be attached to physical objects. Barcode printers are commonly used to label cartons before shipment, or to label retail items with UPCs or EANs.