Link to home
Start Free TrialLog in
Avatar of Brainwashed2
Brainwashed2Flag for Germany

asked on

How to track the actual number of pages printed on a printer.

Hi Experts,
I would like to track the number of pages printed via a printer.
Ther are multiple printers installed, including pdf printer.
I need to get the number of successfully printed pages (number of copy / number of pages) from a specific printer.
Documents are printed by Fastreport . Have you any delphi example, how to realize this?
Thanks in advance, Tom
Avatar of hdhondt
hdhondt
Flag of Australia image

You can get page counts from network printers via print management software. HP Webjetadmin and Xerox CentreWare Web are free options.

I need to get the number of successfully printed pages
Only the printer can tell you that. Anything running on the PC will count any job that successfully leaves the print queue. At the printer however, jobs can be cancelled after they've left the queue, while they are still physically printing.

Apart from installing print management software, your application can query the printer for its page count. If you only print via a server, getting the current page count at the beginning of a job lets you compute the number of pages printed for the last job. The only problem is that getting the count depends on the printer's language.  Most intelligent printers support PJL, so that gives you a common method (which excludes low cost GDI printers).

Of course, for a PDF printer driver, the only way is via software. If you create the job, just check the number of pages in the job.

What printer models do you use?

And, what do you expect to achieve by getting the page counts?
Avatar of Brainwashed2

ASKER

hi hdhondt, thanks for your quick response.

let me give an answer to your last question first: i run labelprints from a Delphi app via fastreport and because there are somtimes more than 1000 labels, I would like to know, how much labels are printed and to get a clue, how long it will remain until the end.

Also, if someone is running the printjob twice and if I do not know, how much labels are already finished, it could be, that we are wasting labels, because of no hint to stop needless printing.

Printers are 3 labelprinters ans some Kyocera laserprinters. Pdf Printers are installed too, but not used for my requirement.

Shure, I can open printerdriver to monitor status of actual printing pagenumber, but it would be nice, show this info within my app.
Label printers have little intelligence and cannot tell you have many labels have been printed. Printers that do can cannot normally tell you in the middle of the job, as the communication port is busy receiving the job.
well, that might be difficult.

i know where they put a huge drier/blower next to a printer.
the printer printed the page, the blower blew the page high up into the air and thus made it vanish
then the person starting the print jon from a distant computer turns up at printer, and sees ... no paper ... !

but the printer indicates it's printed !

took a day or 3 day to find the problem was the drier/blower ...


don't put a drier/blower next to the printer,
or even an outside door
@ Geert G: You are my hero !
You ever sat beside a labelprinter with roll of self-adhesive labels?
ASKER CERTIFIED SOLUTION
Avatar of Sinisa Vuk
Sinisa Vuk
Flag of Croatia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for trying to help me. Sorry for long time until my response, I but moved to a new house and today it's my first chance to use dev-computer again.

I think, Sinisa Vuk gave the best hint and if I have a nerve again I will try it this way - or let it be.