Script preventing someone printing a page
I have readed in earlier post that you can use a Javascript to prevent a user from right clicking their mouse to save the image to their hard disk as a temporary measure although there are alternative methods to save the image.
My question is .... Is there such a script to prevent someone from printing a page as a temporary measure?
Any advise is very much appreciated as I recently had a discussion with some IT friends and this question was a hot topic with many differing answers.
This is beyond me and I need some answers and I hope members can provide a clearer picture to enlighten me.
I have always tried to help members of this board as much as I can and this time I need help and turn to members of this board and I hope those with the knowledge and experience will provide the answer(s) to my question.
Regards,
NSS
AndyB posted this at 17:06 — 5th January 2001.
They have: 344 posts
Joined: Aug 1999
No.
Tell your friends that before any page can be displayed by a user's browser, the page (and content) needs to be downloaded to the user's PC to be rendered by the user's browser. Once the html (and other components) is on the user's machine - temp internet folder/cache, the user can recall it at their leisure, in their own environment and do with it as they see fit.
Since there are keyboard shortcuts for printing the page, any code anyone could put into the html page is completely bypassed once the user steps outside the browser environment.
Does that help?
NSS posted this at 18:17 — 5th January 2001.
They have: 488 posts
Joined: Feb 2000
Thank you AndyB. Yes it really helps as I needed a second opinion to confirm and now I know that I wasn't wrong.
Thanks again.
Regards,
NSS
Mark Hensler posted this at 04:59 — 6th January 2001.
He has: 4,048 posts
Joined: Aug 2000
even if you could prevent printing from the browser, someone could use print screen....
NSS posted this at 02:56 — 7th January 2001.
They have: 488 posts
Joined: Feb 2000
Thanks Max I will remember that in case I need to support my claims when discussing with my friends.
Regards,
NSS
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.