Hide Content for Printing

Posted by ltang on Server Fault See other posts from Server Fault or by ltang
Published on 2010-03-30T18:02:16Z Indexed on 2010/03/30 18:03 UTC
Read the original article Hit count: 340

Filed under:
|
|
|
|

Current, our users can view SCORM contents using frames. We would like to disable print or hide the content for printing.

So far, we have tried: @media print { body { display:none } frameset {display:none} }

The above line worked very inconsistently. For example, using IE8, the print preview does not show the content but when printing without preview it shows the content.

Ideally we would like to disable printing altogether when our users launch any contents. If this can't be done, we would like to hide the print content so the users will print a blank page. Additionally, we would also like to disable the print screen option if possible.

Please help!!!

© Server Fault or respective owner

Related posts about printing

Related posts about css