Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
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

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.
 
Share this answer
 
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, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900