I'm trying to enumerate printer models for a given manufacturer. Windows 'Add Printer' is somehow able to do that - i.e. when a manufacturer is selected in the left list a list of printer models is displayed on the right side.
I'm familiar with EnumPrinters and EnumPrinterDrivers API but neither of the related structures (PRINTER_INFO* and DRIVER_INFO*) contain printer models. DRIVER_INFO* does contain manufacturer's name but I'm not sure where to find printer models that a corresponding driver supports.
Any suggestions and pointers to on-line docs will be appreciated. Thanks.