What I want to do is detect a certain model of printer, but currently the only way of seeing what printer it is that I know of is using the DEVMODE struct which contains the device name. The problem with that of course is you can name your printer whatever you want, so using the name to identify it is not a great method.
However, even if you change its name Windows can still identify the model correctly, so obviously it is possible.
I have been looking at the GetPrinterDriver functions on MSDN and the DRIVER_INFO structs, but don't know if this is the right way to go about it. (That, and the fact that I can't really figure out how to implement them)
Any hints/tips/suggestions are appreciated.