Jump to main content

##

# 2.9.4.15 USB_PRINTER_COMMAND Enumeration

## C

    typedef enum {
      USB_PRINTER_GET_DEVICE_ID = 0x0,
      USB_PRINTER_GET_PORT_STATUS = 0x1,
      USB_PRINTER_SOFT_RESET = 0x2
    } USB_PRINTER_COMMAND;

## Summary

USB Printer Command.

Identified the USB Printer Commands used by the stack.

## Members

Members | Description
USB_PRINTER_GET_DEVICE_ID = 0x0 | class-specific request returns a device ID string that is compatible with IEEE 1284
USB_PRINTER_GET_PORT_STATUS = 0x1 | class-specific request returns the printer?s current status
USB_PRINTER_SOFT_RESET = 0x2 | class-specific request flushes all buffers and resets the Bulk endpoints to their default states

## Remarks

None.