Printing a course

Printing a course

by Robert Reed -
Number of replies: 3

In the past, I was able to print a PDF of the main course page, which allowed me to see the broad outline of the course so far. When I tried it recently, I only got 3 pages--the first, a blank page, and the last page. I am using Moodle 3.3.9, because that is what my host supports. Did something change,, or what am I doing wrong?

Robert

Average of ratings: -
In reply to Robert Reed

Re: Printing a course

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Did you try with the Chrome browser, > Print... > Save as PDF?
In reply to Visvanath Ratnaweera

Re: Printing a course

by Robert Reed -
Thank you. I guess something broke in Firefox. I appreciate it very much. Robert
In reply to Robert Reed

Re: Printing a course

by Dominique Palumbo -
Picture of Particularly helpful Moodlers Picture of Plugin developers
Hi,

you're right. It work better in the past in Firefox but now it's no more the case.
The good news it's that the page break work in all browser now.
To make it work again in Firefox you've to adapt the CSS.

Before I print in PDF in Firefox, I execute that in the console. (just copy paste and return).
Maybee it's linked with the theme we use.

$(".region-main").css("width", "100%");
$(".region-main").css("max-width", "100%");
$("nav").css("display", "none");
$("footer").css("display", "none");
$(".columnright").css("display", "none");
$(".columnleft").css("display", "none");

$("#region-main-box").removeAttr("class");
$("#page").removeAttr("id");
$("#page-wrapper").removeAttr("id");
$("#page-content").removeAttr("id");
$(".row").removeClass("row");
$(".headerbkg").css("display", "none");