Click here to Skip to main content
15,883,796 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
I am using xslt to show a report and opening the print option at the same time. I wants to update some data if the user clicks on print. That's why i wants to track if user clicked on print or cancel.
Posted
Updated 3-Jan-16 18:32pm
v2
Comments
Sergey Alexandrovich Kryukov 4-Jan-16 0:43am    
Not sure if it's possible, may be not; and I can explain why. When the user prints some data, the data cannot be considered "preserved" or "saved". That's why, no behavior should depend on this fact.
—SA

1 solution

If your printer provides an API through which you can read the documents being printed, you will be able to track a printed doc.
For example, here is an Embedded Capture Solution from HP - HP Embedded Capture Solution | HP® Official Site[^].
 
Share this answer
 

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