|
-
August 16th, 2004, 04:54 PM
#1
Printer Status Out of paper/paper jam
I want to be able to get the infromationf from the printer when its out of paper and if possible even when there is a paper jam.
I have used enumjobs to get al the jobs, and then used job infor 2 and its number of pages variable to know how many pages are there.
But I also want to know when the print er is just stuck as its out of paper or if there is a paper jam.
My application is just monitoring the printer by the way, I might not be starting the prints every time.
Any suggestions, links are very much appreciated, and any sample code would be heavenly...
Thanks!
Pauli
Pauli
-
August 17th, 2004, 01:22 PM
#2
...
Anybody!
Please help.
Pauli
-
August 17th, 2004, 01:53 PM
#3
EnumPrinters(...)
PRINTER_INFO_2 contains a status.
You can also look at
FindFirstPrinterChangeNotification(...)
For notification of status changes PRINTER_NOTIFY_INFO_DATA should be able to also key off status.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|