Click to See Complete Forum and Search --> : Printer Status


nok
December 1st, 1999, 02:58 PM
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.

smalig
December 10th, 1999, 08:20 AM
If you want check status of printer (when the printer will terminate a job) you can check follow sample.

http://vbcode.webhostme.com/en/code.asp?id=70



smalig@hotmail.com
http://vbcode.webhostme.com/