1 #ifndef DEVICES_USB_PRINTER_H
    2 #define DEVICES_USB_PRINTER_H
    3 /*
    4 **	$VER: usb_printer.h 2.0 (15.12.07)
    5 **
    6 **	usb definitions include file
    7 **
    8 **	(C) Copyright 2002-2007 Chris Hodges
    9 **	    All Rights Reserved
   10 */
   11 
   12 #if defined(__GNUC__)
   13 # pragma pack(1)
   14 #endif
   15 
   16 /* Usb Printer Requests */
   17 #define UPR_GET_DEVICE_ID     0x00
   18 #define UPR_GET_PORT_STATUS   0x01
   19 #define UPR_SOFT_RESET        0x02
   20 
   21 /* Printer protocols */
   22 #define PRT_PROTO_UNIDIR      0x01
   23 #define PRT_PROTO_BIDIR       0x02
   24 #define PRT_PROTO_IEEE1284    0x03
   25 
   26 #if defined(__GNUC__)
   27 # pragma pack()
   28 #endif
   29 
   30 #endif /* DEVICES_USB_PRINTER_H */