Zebra CPCL Specifications Page 423

  • Download
  • Add to my manuals
  • Print
  • Page
    / 497
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 422
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
Page view 422
1 2 ... 418 419 420 421 422 423 424 425 426 427 428 ... 496 497

Comments to this Manuals

No comments