Bewerken

Delen via


usbprint.h header

This header is used by print. For more information, see:

usbprint.h contains the following programming interfaces:

IOCTLs

 
IOCTL_USBPRINT_GET_1284_ID

The IOCTL_USBPRINT_GET_1284_ID control code allows upper-layer software (such as a language monitor), to request and obtain the printer's IEEE 1284 device ID string.
IOCTL_USBPRINT_GET_INTERFACE_TYPE

Get the protocol capabilities of the USB printer interface.
IOCTL_USBPRINT_GET_LPT_STATUS

The IOCTL_USBPRINT_GET_LPT_STATUS request allows upper-layer software (such as a language monitor), to request and obtain the printer status byte from a USB printer.
IOCTL_USBPRINT_GET_PROTOCOL

Retrieve the current printer protocol code of the USB printer interface.
IOCTL_USBPRINT_SET_PROTOCOL

Set the current printer protocol code of the USB printer interface.
IOCTL_USBPRINT_SOFT_RESET

The IOCTL_USBPRINT_SOFT_RESET request allows upper-layer software (such as a language monitor), to issue a class-specific soft reset command to the printer.
IOCTL_USBPRINT_VENDOR_GET_COMMAND

The IOCTL_USBPRINT_VENDOR_GET_COMMAND request allows upper-layer software (such as a language monitor), to issue a vendor-specific GET command to the target device.
IOCTL_USBPRINT_VENDOR_SET_COMMAND

The IOCTL_USBPRINT_VENDOR_SET_COMMAND request allows upper-layer software (such as a language monitor) to issue a vendor-specific SET command to the target device.