[Pro] Preventing pages from printing

Right off, I know this question is not truly about using Freeway, but I hope the helpful community here might have some thoughts!

My client at http://patrickmcguiresculptor.com/port/portfoliosculpture.html wants to “prevent printing the web page from the print menu.” I haven’t the heart to tell him about all the ways his images could be printed or otherwise stolen. Perhaps some day I’ll work up the resolve to have that long conversation.

In the meantime, I’m googling for some basic CSS code to prevent printing. Does anyone have any suggestions for methods of adding CSS code withing Freeway to just basically block printing of the page, or is there a KnowledgeBase article I haven’t found? Any help would be greatly appreciated.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I think you are wasting your time doing this.

I am sure it can be done with CSS but there are so many ways round it that it is not worth the bother.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Dave is right, it’s trivial to work around, but here’s a quick way to
do this. Use the External Stylesheets Action to attach a Print
stylesheet. This is a plain text document containing the following code:

#PageDiv, #PageDiv * { display:none; }

Save this file as print.css and use the External Stylesheets (page)
Action to attach it to your page. Make sure you select Print in the
Media picker, otherwise you will have the world’s most boring site.

You’ll need to do this on each page in your site, or do it to the
Master page (and make sure you check to see if it “took” – there’s
lots of fussiness in Freeway around Actions and Master Pages, although
there was lots of repair done in this area in 5.5).

Walter

On Mar 30, 2011, at 9:43 AM, Bucky Edgett wrote:

Right off, I know this question is not truly about using Freeway,
but I hope the helpful community here might have some thoughts!

My client at http://patrickmcguiresculptor.com/port/portfoliosculpture.html
wants to “prevent printing the web page from the print menu.” I
haven’t the heart to tell him about all the ways his images could be
printed or otherwise stolen. Perhaps some day I’ll work up the
resolve to have that long conversation.

In the meantime, I’m googling for some basic CSS code to prevent
printing. Does anyone have any suggestions for methods of adding CSS
code withing Freeway to just basically block printing of the page,
or is there a KnowledgeBase article I haven’t found? Any help would
be greatly appreciated.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thank you both. Yes, I know it’s futile. But my client has requested it, and I need to be able to tell him something like, “Yes, I can prevent using the Print function from the File Menu, but…”

The Freeway community is great!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options