Disable printing on a page IE6, javascript

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to disable printing from file menu item or ctrl-P on specific
pages? The documents open in IE as a helper application. I don't want a group
policy as only specific pages will be restricted.

Thanks in advance,
 
There's no way to disable File...Print or CTRL+P the way you want, but you
can code the pages with CSS so that only a blank page is printed:
http://www.boutell.com/newfaq/creating/preventprinting.html
There's also commercial software such as HTML Guardian or HTML Protector
that can do what you want as well. These don't totally prevent printing of
a web page, they just make it more difficult for the average user.
 
That looks promising. I always forget CSS helps govern this activity. As a
programmer, I like tougher, hard controls over functionality. I always think
of CSS as a suggestion to a page. I think this would work. Eventuallyt
they'll all go to a .NET environment for tighter security integration.

Thank you very much.

_E
 
I started on the CSS and realized that it would never fire. The documents
opening are opened by their native editor, so there would be no HTML to
parse. They are all file links.

Good try though
 
Back
Top