|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
stopping someone from printing a page?
I have a project coming up where we'll be putting an entire book on a website. We want people to be able to read it, but we don't want them to be able to print it or download it. Are there any techniques for doing this?
Thanks much. |
|
#2
|
||||
|
||||
|
No.
The've already downloaded it when they read it, and you can't stop anyone printing local files... Basically if they can see it, then they can do what they want with it ![]()
__________________
Online Designer Baby Clothes Store FiftyFifty Web Page, advertising space, with 50% profit share Free web development scripts! Tattoo Blog Free graphical wedding tickers |
|
#3
|
|||
|
|||
|
What if its flash? I don't know how printing flash would work...
|
|
#4
|
|||
|
|||
|
a whole book in flash? That'll be an awful lot of work. You can still import it and try and print each frame.
Trying saving each page as a picture (make sure the background is not white), so if they try to print the whole book they'll run out of ink > ![]() |
|
#5
|
||||
|
||||
|
This method isn't foolproof, but it works for me.
If the page is an HTML page: define two stylesheets in the <head> section. In the first: <link media="screen"...> make this your normal one... In the second: <link media="print"...> and this will be the one that is used when the page is printed. You can include a watermark or even a font-color: #FFFFFF; to make the text the same color as the background, so when they print it, it won't show up. |
|
#6
|
|||
|
|||
|
Um, no. Browsers can be set to NOT print the background.
__________________
FSBO (For Sale By Owner) Realty |
|
#7
|
||||
|
||||
|
Or better yet, surround the entire page in a <div> with a unique id, perhaps <div id="page"> then
In screen.css #page { visibility: visible; } In print.css #page { visibility: hidden; } Then <link rel="stylesheet" media="screen" type="text/css" href="screen.css"> <link rel="stylesheet" media="print" type="text/css" href="print.css"> The printer will use print.css in any browser that supports HTML 2.0+ (when <link media=""> was implemented) |
|
#8
|
||||
|
||||
|
Quote:
If you're referring to my post, I mentioned that it wasn't foolproof, and if you use font-color: #FFFFFF; like I mentioned.. on a white background, regardless of if they choose to print the bg or not, it will still be white text on a white bg. If you're not referring to my post, what are you referring to? |
|
#9
|
||||
|
||||
|
Set up your CSS'd pages and I think you'll find that browsers, mozilla especially, aren't dumb enough to print white text on a white background. Mozilla prints it as gray.
|
|
#10
|
|||
|
|||
|
PDF files are your best bet which alow for no printing which is rather affective, however you will most likey see the book all over kaaza the next day.but hey thats marketing for ya.
Or, You could just make it impossible for user's to be bothered to print it out as you can see here |
|
#11
|
|||
|
|||
|
Haha, good idea Cybord, i could make every page in the book a new HTML page. No one would want to go through all that and print each page. Then again, it would make it more of a hassle for viewers to read and scan through.
The print.css ideas are also good ideas and they would take care of printing it directly from the browser, but whats to stop them from copy/pasting all the text into word and printing it from there? ...which brings me to the next problem. Having the viewers save this on their computer is just as bad, or worse than them printing it out. I think this rules out a PDF file. My idea with flash would work like this. I wouldn't actually have the text in the flash file. It would all be in an external text file that flash would then read in and display. I think you can make it so you can't select the text and the scrolling would be done in flash itself so even if it did print, it would only print where the user was currently looking. This idea would be a lot more clumsy and would introduce a whole new set of problems, but I think it would solve the biggest problem of printing and saving text. Am I correct in this? ----------------------------------------------------------------------------------- We actually already have a PDF file. We want the viewers to register with us and answer a few questions, join our mailing list, etc and then we let them download the .pdf file. And I'm not worried about kazaa hehe. This is a book not many people would be interested in. |
|
#12
|
||||
|
||||
|
If you do the text file feed, make sure the file isn't in a folder that can be accessed by the web else they could just type in the url and get the text file.
Also, two minor glitches with the css formatting is that 1) browsers can override your css with thier own and 2) they can save the page and hack it all they want. |
|
#13
|
|||
|
|||
|
you can never stop someone from taking images or content on the web, thanks to the magic button known as "PRINT SCREEN"
If I really wanted to I can print screen and paste into Word or Photoshop.
__________________
~jim~ |
|
#14
|
|||
|
|||
|
sure, but we're talking about an entire book here. You can't printscreen an entire book. I know this is true for images.
|
|
#15
|
||||
|
||||
|
Patient people can printscreen an entire book.
Where this conversation is going- if you give something to a user that they can view on thier computer, they can copy it and print it. End of discussion. All you can do is make it a pain in the *** to use for everyone, which still won't shut out the determined pirates. Notice how every option brought up was shot down by something that would take a very moderate amount of technical ability? |
![]() |
| Viewing: Dev Shed Forums > Other > Dev Shed Lounge > stopping someone from printing a page? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |