P14-62 Mobile Printer CPCLProgramming Manual
usb.device.product_string
type: getvar
This parameter refers to the manufacturer assigned
string describing a particular USB product.
getvar result Returns the Product String stored in the USB
library.
Example Description This example retrieves the device’s
vendor ID.
Syntax ! U1 GETVAR
“usb.device.product_string”
Result “QL420”
usb.device.serial_string
type: getvar
This parameter refers to the manufacturer assigned serial
number string describing a particular USB product. This
string should be unique to a particular device.
getvar result Returns the Serial Number String stored in the
USB library.
Example Description This example retrieves the device’s
serial number string.
Syntax ! U1 GETVAR
“usb.device.serial_string”
Result “1234567890”