![]() ![]() ![]() The first line guarantees a rank-0 hardware ID match if the printer is installed on a USB bus. The following example shows the entries in an INF Manufacturer section that can be used to install a USB or other bus-type printer driver. The following figure shows the driver stack for a printer connected over a USB port. (For more information, see USBPRINT Interface.) It creates a physical device object (PDO) whose devnode is under Enum\USBPRINT, and with two hardware IDs in the following form: USBPRINT\Company_NameModelNam1234 Usbprint.sys queries the Plug and Play printer to get the 1284 string, and generates a hardware ID that is compatible with the parallel bus enumerator. %USBPRINT.DeviceDesc% = USBPRINT_Inst,USB\Class_07,GENERIC_USB_PRINTER The entry from usbprint.inf that is used to load usbprint.sys for any USB printer device is: Plug and Play loads usbprint.sys using a compatible ID match on Class_7 from usbprint.inf. Class_7 and identifies a printer device connected over a USB port. The devnode for this is created under Enum\USB\. When a Universal Serial Bus (USB) printer is connected over a USB port, the USB bus driver creates a physical device object (PDO) with a hardware ID of the form VIDvvPIDpp, and compatible ID Class_7. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |