ZEBRA MZ 320 3" 4mb Direct Mobile Thermal Receipt Printer With Bluetooth

Programming Manual - Page 423

For MZ 320.

PDF File Manual, 497 pages, Read Online | Download pdf file

MZ 320 photo
Loading ...
Loading ...
Loading ...
Mobile Printing Systems
CPCL Programming Manual
Section 14
Configuration/
Control
Commands
pg. 14-197
continued
usb.device.product_id
type: getvar
This parameter refers to the Product Identification number that a manufacturer has assigned to a
particular product. This number, along with the Vendor ID, allows a USB host to distinguish one device
from another.
getvar result Returns the Product ID stored in the USB library. Format is hexadecimal
Example
Description This example retrieves the device’s product ID
Syntax
! U1 GETVAR “usb.device.product_id
Result “003D
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
Loading ...
Loading ...
Loading ...