PC Review


Reply
Thread Tools Rate Thread

Count printed pages

 
 
tolkien
Guest
Posts: n/a
 
      26th Jun 2008
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!!!!
 
Reply With Quote
 
 
 
 
Ignacio Machin ( .NET/ C# MVP )
Guest
Posts: n/a
 
      26th Jun 2008
On Jun 26, 8:41*am, tolkien <gvo...@gmail.com> wrote:
> 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?
 
Reply With Quote
 
tolkien
Guest
Posts: n/a
 
      26th Jun 2008
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!!


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count number of pages printed. Chris Microsoft Word Document Management 1 29th Jul 2008 04:00 PM
count printed reports JACK GUNAWAN via AccessMonster.com Microsoft Access Reports 7 10th Apr 2006 10:52 AM
Count printed pages on the local printer Alexander Skorkin Microsoft Dot NET 0 23rd Aug 2005 03:15 PM
How to count the num of printed pages =?Utf-8?B?U3RlZmZlbg==?= Microsoft Windows 2000 Printing 8 16th Sep 2004 11:02 AM
Recording the of number of pages printed (continual count-up) keith.gould@poole.gov.uk Microsoft Word Document Management 2 31st Oct 2003 11:59 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:32 PM.