I am trying to extract printer status in a 5.0 app on windows 95. the printer does not have a dll or external communication functionality. i am using the api EnumPrinters into a Printer_Info_2 structure (cut and pasting the example found on the internet) -- unsuccessfully. pPrinterName, pPortName and other string values of printer_info_2 are returned ok, but Status = 0, whether the printer is on or off, paper or no paper.

what am i missing ? is there another example or source i can go to ? is there an api function called getprinter ? help?!

thanks.