By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,565 Members | 1,679 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,565 IT Pros & Developers. It's quick & easy.

Count printed pages

P: n/a
Hello!!!
I need your help one more time!!!
I have a database with some users and the number of pages they can
print.
Every time a page is printed i substruct one from that number.
How do i know when a page is printed?Is there a namespace i can use?
Thanks!!!!
Jun 27 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Jun 26, 8:41*am, tolkien <gvo...@gmail.comwrote:
Hello!!!
I need your help one more time!!!
I have a database with some users and the number of pages they can
print.
Every time a page is printed i substruct one from that number.
How do i know when a page is printed?Is there a namespace i can use?
Thanks!!!!
who print the pages?

and what happens for example if the print did not get out well? (like
if the printer ran out of ink)
what do you do in this case?
Jun 27 '08 #2

P: n/a
Thanks for your reply!!!
who print the pages?
I will have a form where a user will give his username and password.
if the login is successful we will be able to print some
file(pdf,word,txt,...).There is a maximum number of pages he can
print.
and what happens for example if the print did not get out well? (like
if the printer ran out of ink)
what do you do in this case?
I don't care about this for now. :)

I found somewhere this:

Process printJob = new Process();
printJob.StartInfo.FileName = "name";
printJob.StartInfo.UseShellExecute = true;
printJob.StartInfo.Verb = "print";
printJob.Start();

is any event raised when a page is printed so i can decrease the
number of pages he has left to print?

I also read something about the PrintDocument class.
Any suggestion what should i use?

Thank you again for your time!!
Jun 27 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.