Re: Count pages printed
- From: "Lance Wynn" <LanceWynn@xxxxxxxxxxxxxxxx>
- Date: Mon, 31 Oct 2005 18:48:58 -0700
I did something like this years ago on NT. I don't recall the specifics, but
I think what I ended up doing was making the printer queue pause all
incoming jobs by default, then when a new print job came in, we could check
the number of pages, and then tell it to resume printing (it was used for an
outbound fax server).
This was a long time ago, and I no longer have access to the code, but it
might be a place to start. I am not 100% sure that the final solution
entailed pausing the printer, but I recall experimenting with that.
I found googled an article that has some API calls that might help you out,
it shows how to enumerate jobs, and you can check page counts, etc....
http://www.merrioncomputing.com/Programming/PrintJob.htm
I'd love to hear how you do it. When you find the solution, be sure to post
it here.
Thanks
Lance
"MrIncreible" <MrIncreible@xxxxxxxx> wrote in message
news:ETr9f.5046672$I96.11295820@xxxxxxxxxxxxxxxxxxxxxxx
Hi.
I need to count the pages printed (with any program and with any printer),
any of you have some example to share with me. I use Windows XP.
I try to do it with FindFirstPrinterChangeNotification but I can't do
anything.
Thanks.
.
- Prev by Date: Re: Count pages printed
- Next by Date: Cant find dll entry point
- Previous by thread: Re: Count pages printed
- Next by thread: Cant find dll entry point
- Index(es):
Relevant Pages
|