display of a bar-code for a device