[LON-CAPA-users] Restricting resource printing

Mills, Douglas G dmills at illinois.edu
Wed Oct 12 17:15:07 EDT 2011

We were having problems with students printing quizzes from Lon-Capa and
looking for help on them from our tutors, so we added this line of code to
the top of the problems:

<style type="text/css">@media print { body { display:none } } </style>

When you go to print, the document is blank.  For what it's worth, along
with that for our purposes we have also added:

<style type="text/css">body
lect: none;-khtml-user-select: none;-moz-user-select: none;-o-user-select:
none;user-select: none;}</style>

This adds a faint "Quiz" into the background of the page to alert tutors in
our learning center if a student is asking for help directly on the computer
or if the student takes a screenshot to print and ask for help from. It also
prevents selecting text -- we had some students copying and pasting the
contents of a quiz into a Word document to print and ask for help...

the quiz.gif referenced above is only published to the domain, but if you'd
like a copy of it or just to view it you can see it at



On 10/12/11 3:33 PM, "Joseph Topich" <jtopich at vcu.edu> wrote:

> Is there a setting in LON CAPA to limit or restrict the printing of a
> particular resource?
> Joe Topich
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users


Douglas Mills
Director of Instructional Technologies
Department of Chemistry
University of Illinois
dmills at illinois.edu
(217) 244-5739 

More information about the LON-CAPA-users mailing list