usb.device.serial_string
usb.device.serial_string

usb.device.serial_string

This command returns the manufacturer-assigned serial number for a particular USB product.

Getvar

To return the printer’s serial number:
! U1 getvar "usb.device.serial_string"
Example
! U1 getvar "usb.device.serial_string" "ABC1234567890"