Block Printing?

kristimcv
Community Member Posts: 6
Is there a way to add code or a variable or anything to a Lectora title that would prevent the content from being printed from a browser window? I've see some information to block web page printing, but I wondered if there is a way to apply that in my course. The course is accessed through our LMS and opens in a browser window. I don't have any control over the browser settings.
Thanks.
Kristi
Thanks.
Kristi
Comments
-
Easy. Here's the demo: https://dl.dropboxusercontent.com/u/11433463/trivantis/print-media/html/index.html
Here's the source: https://dl.dropboxusercontent.com/u/11433463/trivantis/print-media/source.zip
Explanation: You just have to include a special CSS rule that sets text style to invisible for printing using External HTML Object set to META TAGS, e.g.:<STYLE type="text/css"> @media print { #pageDIV { display:none; !important } } </STYLE>
-
Hello Kristi,
Have you tried selecting the 'Protect content' option check box on publish? We publish our courses to SCORM and this box is checked (see image) which prevents the content from being copied. -
@tdickey "Protect content" only disables copying but not printing. It would actually make sense for Trivantis to have two checkboxes there "Protect content from copying" and "Prevent printing". @jvalley4735, this is a feature request
-
Just in case someone stumbles upon this link... If the External HTML object with the CSS code is on the Title level, it will be inherited in all the pages (and therefore make all of them unprintable). Placing the object into a chapter will only affect the chapter, and of course placing it on a single page will prevent printing of just that page. More on inheritance here: http://trivantis.com/blog/working-inheritance-lectora/
-
Categories
- 35.8K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 28.9K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 22 ELB Learning Content
- 22 ELB Learning Content Discussions
- 321 CenarioVR®
- 188 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 41 Rockstar Learning Platform®
- 38 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 5 The Training Arcade®
- 5 The Training Arcade Discussions
- 934 All Things eLearning
- 36 eLearning Development
- 546 Learning Management System (LMS) Integration
- 332 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products