473,326 Members | 2,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Count printed pages

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
2 2701
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Alexander Skorkin | last post by:
Hi everyone, How can I count the pages I sent to the printer using FW? TIA.
2
by: Wolfgang | last post by:
Hi, I need to timestamp printed records with the printing date. According to the customer's requests the report must be opened in preview-mode and the user clicks on the printer button if he...
0
by: Eduard | last post by:
Hello there, I've an issue with Vb.Net printing. I have to print some product code but i only get one or two pages printed instead of all pages. If i print to an Adobe PDF printer all works...
4
by: Jofio | last post by:
I am developing a picture gallery - pictures of landscapes and various other subjects. My site has a left panel consisting of thumbnails of pictures which when clicked displays the corresponding...
3
by: Bart Van der Donck | last post by:
Hello, I'm having a hard time trying to configure printed output that consists of multiple pages. The idea is the following: <div style=" border: 1px solid blue; position: absolute; top:...
3
by: Kristijan Marin | last post by:
Hi, I need to print a report like document. So in report there are many articles and what I need when I get to the end, is to update page numbers on the second page where the Table of Content...
2
by: thvferrari | last post by:
Hey guys, Does anyone of you know how to count the number of pages that a doc, xls and ppt would print? My objective is to count this number of pages and charge the user per number of pages...
1
by: prince via DotNetMonster.com | last post by:
hi! i used the following code to print files like pdf and .doc: Dim x As New ProcessStartInfo x.UseShellExecute = True x.Verb = "print" x.WindowStyle = ProcessWindowStyle.Hidden x.FileName =...
6
by: prakashwadhwani | last post by:
While making Vouchers in a form, I have a POST button which validates & posts the transaction to the main Accounts File. I also have a PRINT button which provides the user with a preview of the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.