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

Programming Manual - Page 424

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-198
continued
usb.device.device_unique_id
type: getvar. setvar
This parameter sets or gets the USB Unique Device Id setting. The identifier that makes any printer
unique is set by the parameter “usb.device.serial_string” which is reported to the USB driver. By default
usb.device.serial_string” reports the printers serial number, which will prompt the user to specify the
driver he desires to use each time he plugs in a new device.
By setting “usb.device_unique_id” parameter to “off” the printer will report the usb.device.serial_string
parameter as its product family (e.g. RW 420, QL 320, MZ 320, etc). That makes each printer within the
same product family transparent to the USB device driver, allowing the user to plug in printers within that
product family without the USB driver prompt each time he does so.
getvar result
Returns the current USB Unique Device Id setting stored in the printer
Example
Description
This example retrieves the device’s USB Unique
Device Id setting
Syntax ! U1 GETVAR “usb.device.device_unique_id
Result “on”
setvar choices
on-enable, off-disable
Default: “on”
Example
Description
This example sets the device’s USB Unique Device Id
status to “disable
Syntax ! U1 SETVAR “usb.device.device_unique_id” “off
Result “off
usb.device.vendor_id
type: getvar
This parameter refers to the Vendor Identification number that the USB organization has assigned to a
particular group. This number, along with the Product ID, allows a USB host to distinguish one device from
another.
getvar result Returns the Vendor ID stored in the USB library. Format is hexadecimal
Example
Description This example retrieves the devices vendor ID
Syntax ! U1 GETVAR “usb.device.vendor_id
Result “0a5f
Loading ...
Loading ...
Loading ...