Printing from remote machine returns incorrect page numbers

T

Thomas Wopienka

Hello!

I hope this is the correct newsgroup for this question - I couldn't find any
developers newsgroup for this topic.

I wrote a program using API to monitor a printer queue on a Windows 2000
Server. It monitors all printjobs that are being printed and stores
important information like the number of pages printed,... in a database.
Monitoring printjobs that are being printed locally is no problem - all the
fields are filled with the correct information. If a user prints a document
from a Windows 2000 client machine using Word2000 or Notepad I also get all
information (but there is a problem in one specific case).

Windows 2000 Server local printjob (OK)
Word document has 1 page - I print 100 copies
Result is: Pages Printed: 1 - Total pages: 1 - Copies: 100 (In this case
I can at least calculate the number of pages printed)

Windows 2000 Client using shared printer from Windows 2000 Server
(PROBLEM!!!)
Word document has 1 page - I print 100 copies
Result is: Pages Printed: 1 - Total pages: 1 - Copies 1 (????)

and even more confusing

Windows 2000 Client using shared printer from Windows 2000 Server (OK)
Word document has 2 pages (more than 1 is enough) - I print 100 copies
Result is: Pages Printed: 200 - Total pages: 1 - Copies 1 (This is also OK
for me since I just want to know the number of pages printed)


Both server and client are running Windows 2000 SP4
Office verison is 2000 with all SPs but this shouldn't matter since it also
happens using notepad,...

Also when watching the printer queue in Windows you can see the same
information that I explained above.

Why does Windows tell that there is just one page printed even if I print
100 copies from a client machine using the shared printer?
Is this a bug - and is there a hotfix or some sort of workaround for this?

Thank you for your help!


Thomas
 
C

Cherry Qian

Hi Tomas,

Thank you for the posting. As you indicated you wrote a program using API
to monitor a printer queue on a Windows 2000 Server but it does not get the
information correctly on remote printing.

We have checked the problem description carefully. It appears that this is
a development-related request that would best be best addressed in the
developer newsgroups. The developer newsgroups are located at:
http://msdn.microsoft.com/newsgroups/default.asp

You are recommended to post your question there to get the suggestion from
the developer team.

Thank you for your understanding and cooperation on this. If anything is
unclear or if there is anything further we can help you with from our side,
please let me know.

Sincerely,

Cherry Qian
MCSE2000, MCSA2000, MCDBA2000
Microsoft Partner Online Support


Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please Reply to Group via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided AS IS with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top