Such a machine might have an optical character reader and might put on a barcode.
An optical character reader might be on such a machine.