1 /* 2 ** USB_printer.h 3 ** 4 ** Copyright 1999, Be Incorporated. All Rights Reserved. 5 ** 6 */ 7 8 #ifndef _USB_PRINTER_H 9 #define _USB_PRINTER_H 10 11 #include <Drivers.h> 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 16 17 /* ioctl() opcodes for usb_printer driver */ 18 19 enum 20 { 21 USB_PRINTER_GET_DEVICE_ID = B_DEVICE_OP_CODES_END+1 22 }; 23 24 25 /* Maximum length of the DEVICE_ID. User MUST allocate this size 26 when calling USB_PRINTER_GET_DEVICE_ID ioctl() */ 27 28 #define USB_PRINTER_DEVICE_ID_LENGTH 256 29 30 31 32 #ifdef __cplusplus 33 } 34 #endif 35 36 #endif 37