USB Libraries Help > USB Device Libraries > USB Device Printer Library > Files > usb_printer.h
MPLAB Harmony USB Stack
usb_printer.h

Microchip Technology Inc.

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 
 
Identified the USB Printer Commands used by the stack. 
Macros
 
Name 
Description 
 
This is macro _USB_PRINTER_H. 
 
Base class for printers Do not modify this value 
 
Printer Interface Type
 

  • 0x01 - Unidirectional interface
  • 0x02 - Bi-directional interface
  • 0x03 - 1284.4 compatible bi-directional interface

 

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