Click here to Skip to main content
14,641,852 members
Rate this:
Please Sign up or sign in to vote.
See more:
I want to recongnise the no of pages, username, password from a (word, pdf, ppt)document send by the client computer for printing purpose to printer on server.. How would i achieved this.I am new to c# and i Have searched it on Google it respond me to use Directory Services. Can you please guide me that how to recognize print request event and get information about document and UserName , Password.
Posted

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

What on earth makes you think that you can get the password for a file from the print request data?
Ignoring that the printing application can use text, images, or both to print data (and it will vary from driver to driver and the print properties the user selected what is actually sent) do you really think it is likely that any application will broadcast it's passwords in such a way.

The only reason I can see for this requirement is a (poor) attempt to listen in on requests in the hope that you can get information illicitly.
In this case, you will not find many (if any) people willing to help you here.
   
Comments
Owais Kath 24-Oct-12 7:08am
   
I want to develop an application for school that restrict user to print more than 10 pages a day
fjdiewornncalwe 24-Oct-12 14:01pm
   
+5. Well said.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100