PDA

Click to See Complete Forum and Search --> : [RESOLVED] Disallow Printing


BrailleSchool
Jun 30th, 2006, 02:23 PM
I am using PHP in my site for the majority of my pages. I would like to know if there is a way to not allow printing of the pages either using CTRL+P or going into the File menu of a Web browser (including saving of the pages to disk). Please advise if this is at all possible. Thanks in advance.

penagate
Jun 30th, 2006, 07:57 PM
Would you like to prevent screenshots as well? :)

In other words, it's not at all possible.

Kasracer
Jun 30th, 2006, 08:06 PM
Not possible. How do you except to control a user's computer with a web page? Seriously, even if there was a way to do this, I'd hate everyone who did it.

There is no point it not allowing printing. It's not benefiting you and it certianly isn't benifiting the user.

Why would you want to do this?

BrailleSchool
Jun 30th, 2006, 08:45 PM
Would you like to prevent screenshots as well? :)

In other words, it's not at all possible.
of course :)

visualAd
Jul 1st, 2006, 12:56 AM
I am using PHP in my site for the majority of my pages. I would like to know if there is a way to not allow printing of the pages either using CTRL+P or going into the File menu of a Web browser (including saving of the pages to disk). Please advise if this is at all possible. Thanks in advance.
The easiest way to prevent printing is to not sendthem the page ;)

BrailleSchool
Jul 1st, 2006, 02:27 AM
oh well. i thought this was the case, was looking for verification.

mendhak
Jul 1st, 2006, 07:15 AM
In your stylesheet,

@media print {
BODY {
display:none;
}
}