EnumPrinters()

Using Win32 API ONLY...

I'm trying to get a list of all the installed local printers. When I call EnumPrinters() it gives me only one of the priters out of 8 that I have installed. It tells me that I have 8, but it only returns the first name, which is not even my default printer. Of course, I can use GetDefaultPrinter() to get the default, but I need to know how to get a list of all 8 installed printers.

I am thinking that EnumPrinters() is the way to do this, but I don't know how?

Does anybody?
Nevermind, I figured it out. I just needed to access the array.
Topic archived. No new replies allowed.