Printer Class in C#.NET 2.0

  • Thread starter Thread starter Kuldeep
  • Start date Start date
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
 
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
 
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
 
Back
Top