Printer Class in C#.NET 2.0

K

Kuldeep

Framework: Visual Studio 2005
Technology: ASP.NET 2.0
Language: C#.NET 2.0

Hi All,

Could you please tell me which class needs to be used in C#.NET 2.0 when we
are directly dealing with the Sytem Printer.
I am looking for some information on checking the properties of the Pages
which are pending to be "Printed".

Is there a way to programmtically check the status of the Page (to be
printed) which would say something like "PENDING", "SUCCESSFULLY PRINTED"
and so on...

Any leads on this would be very helpful.

Thanks in advance,
Kuldeep
 
N

news.microsoft.com

You could check the size of the "C:\WINDOWS\system32\spool\PRINTERS\"
folder. If it is 0 bytes then there is no printing in process, otherwise it
is printing.


BR,
Mystique
 
K

Kuldeep

Thanks for the response.
But I would like to know about any class which is available under the
Framework Library which would help us deal with the System Printer directly.

Kuldeep
 

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

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top