1 #define USBPRINT_IOCTL_INDEX 0x0000 2 3 #define IOCTL_USBPRINT_GET_LPT_STATUS \ 4 CTL_CODE(FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+12, METHOD_BUFFERED, FILE_ANY_ACCESS) 5 6 #define IOCTL_USBPRINT_GET_1284_ID \ 7 CTL_CODE(FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+13, METHOD_BUFFERED, FILE_ANY_ACCESS) 8 9 #define IOCTL_USBPRINT_VENDOR_SET_COMMAND \ 10 CTL_CODE(FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+14, METHOD_BUFFERED, FILE_ANY_ACCESS) 11 12 #define IOCTL_USBPRINT_VENDOR_GET_COMMAND \ 13 CTL_CODE(FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+15, METHOD_BUFFERED, FILE_ANY_ACCESS) 14 15 #define IOCTL_USBPRINT_SOFT_RESET \ 16 CTL_CODE(FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+16, METHOD_BUFFERED, FILE_ANY_ACCESS) 17