0

I want to detect which files the user is sending to printer and to get those file's paths. I read a little about the "PrinterSettings" class, but I haven't found the thing that I was looking for. (link: http://msdn.microsoft.com/en-us/library/system.drawing.printing.printersettings%28v=vs.100%29.aspx)

In addition, I read about "Win32_Printer" (WMI class), and I tried the code which was brought there, but I still got nothing (link: How to get Printer Info in .NET?)

How can I solve this issue?

Also, I don't want to use some external libraries.

Community
  • 1
  • 1
Aviv
  • 456
  • 1
  • 7
  • 16
  • Is this just for your application or is it system wide(*i.e. any printing done on the computer from any application*) – Mark Hall Mar 06 '14 at 15:30
  • @MarkHall - yes, I want to detect any printing done on the computer, from any application. – Aviv Mar 06 '14 at 15:35
  • 1
    then you will need to look at the question I linked to, also look at some of the links in this [Bing search](http://www.bing.com/search?q=how+to+monitor+the+print+queue+in+c%23&qs=n&form=QBLH&pq=how+to+monitor+the+print+queue+in+c%23&sc=0-31&sp=-1&sk=&cvid=71bf09b424c94cc5b48617c7df9268c4) – Mark Hall Mar 06 '14 at 15:37
  • @MarkHall - Ok, thanks ! I'll read about it and see how to work with it. – Aviv Mar 06 '14 at 15:41
  • 1
    I edited your question to remove the tag from the title and the Thanks at the end... – rene Mar 23 '14 at 20:52

0 Answers0