Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prevent printing

Status
Not open for further replies.

maharg

Technical User
Mar 21, 2002
184
Hi,

Does anyone know of any JS code I can use to prevent a page from being printable?

I want it to only be visible on screen and NOT for visitors to make a hard copy.

Thanks folks !
 
Cannot be done, this was discussed many times.
If you see the page it means that it is already placed in browser cache.

In the worst case I'll click PrintScreen button, make a snapshop of your page and then feed it to any OCR program to get editable text file.

It's useless waste of time to try doing something like that.

good luck
 
Thank you Starway, yet again! I di a wordsearch thru the forum and din't find anything, but you confirmed my suspicion, and saved me wasting more time!

Thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top