I have an MCF51JE256CLK that I made a printer device. It enumerates as a printing device and loads the standard kernal mode driver for printing on windows. USBPrint.sys. I can print to it by using the "Add Printer" Wizard for windows and open a USB001 port. But my device still lives in the unspecified category in "Devices and Printers".
What I would like to do is use an existing .dll user mode driver with a custom .inf and .GPD file. To my understanding, windows checks all the .inf files when a device is plugged in and finds the one with the best "rank". Would I be able to write an .inf file that makes windows pick my .inf file as the best one, and have the file point to an existing printer .dll and a custom .GPD? For example the generic text only driver or some PCL6 driver
My other question is: The PC never asks for my Device ID string that describes my printers capabilities such as manufacturer and PCL. When is the PC supposed to ask for this?
Thanks