2.9.5.3 usb_printer.h

File Name

usb_Printer.h

Description

USB Printer class definitions

This file describes the Printer class specific definitions. This file is included by usb_device_Printer.h and usb_host_Printer.h header files. The application can include this file if it needs to use any USB Printer Class definitions.

Enumerations

Name Description
USB_PRINTER_COMMAND Identified the USB Printer Commands used by the stack.

Macros

Name Description
USB_PRINTER_INTERFACE_CLASS_CODE Base class for printers Do not modify this value
USB_PRINTER_INTERFACE_PROTOCOL Printer Interface Type
  • 0x01 - Unidirectional interface
  • 0x02 - Bi-directional interface
  • 0x03 - 1284.4 compatible bi-directional interface

USB_PRINTER_INTERFACE_SUBCLASS_CODE Subclass codes for Printer devices Do not modify this value
USB_PRINTER_REQUEST_CLASS_SPECIFIC bmRequestType for Printer class specific request