Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
64
rated 0 times [  68] [ 4]  / answers: 1 / hits: 31960  / 13 Years ago, mon, july 11, 2011, 12:00:00

How can we stop users to print webpage using different methods?




  1. Disabling Right Click

  2. Disabling CtrlP combination of keys

  3. Right click -> print



Is there any way to stop printing webpages?



Can we handle these 3 events using javascript.
Or we can say . if user will do any of these events. then i want to run my other code .Is this possible?


More From » jquery

 Answers
84

A webpage on a user's machine is out of your control. A user can do whatever he or she wants to do, however you can serve a PDF and disable printing that PDF. Still, if I have to print some thing I will find a way to print it.


[#91257] Friday, July 8, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
dayana

Total Points: 302
Total Questions: 102
Total Answers: 100

Location: Cayman Islands
Member since Fri, Mar 4, 2022
2 Years ago
;