How can we stop users to print webpage using different methods?
- Disabling Right Click
- Disabling CtrlP combination of keys
- 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?
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.