|
-
Jun 30th, 2006, 02:23 PM
#1
Thread Starter
PowerPoster
[RESOLVED] Disallow Printing
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.
-
Jun 30th, 2006, 07:57 PM
#2
Re: Disallow Printing
Would you like to prevent screenshots as well? 
In other words, it's not at all possible.
-
Jun 30th, 2006, 08:06 PM
#3
Re: Disallow Printing
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?
-
Jun 30th, 2006, 08:45 PM
#4
Thread Starter
PowerPoster
Re: Disallow Printing
 Originally Posted by penagate
Would you like to prevent screenshots as well?
In other words, it's not at all possible.
of course
-
Jul 1st, 2006, 12:56 AM
#5
Re: Disallow Printing
 Originally Posted by BrailleSchool
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
-
Jul 1st, 2006, 02:27 AM
#6
Thread Starter
PowerPoster
Re: Disallow Printing
oh well. i thought this was the case, was looking for verification.
-
Jul 1st, 2006, 07:15 AM
#7
Re: [RESOLVED] Disallow Printing
In your stylesheet,
Code:
@media print {
BODY {
display:none;
}
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|