Printing Moodle Quiz attempts with the Student Name.

Printing Moodle Quiz attempts with the Student Name.

by Jacob Scheffer -
Number of replies: 1
My students require a hard copy of the their Moodle Quiz attempt with their name. Browser printing an attempt does not display the name and creates a very long document 30 questions = 15 pages. Is there a simple way to do this? The students require the result as part of their class portfolio. The document should be no more than 3 or 4 pages.

A plugin is not a viable option. A single page sample is attached.



Jake Scheffer
ESL instructor Norquest, Edmonton.
Average of ratings: -
In reply to Jacob Scheffer

Re: Printing Moodle Quiz attempts with the Student Name.

by Dominique Bauer -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Hello Jake,

  1. Set your editor to "Plain text area". Other editors flush the style tag.
  2. Review the student attempt.
  3. Turn on "Edit mode".
  4. Add a "Text..." block.
  5. Put the script below in the Content of the block.

          <style>
          .outcome, .comment, .history, .badge {
              display: none;
          }
          .mb-3 {
              font-size: 150% !important;
          }
          .info , .formulation, select {
              font-size: 125% !important;
          }
          select, input, legend {
              font-size: 100% !important;
          }
          </style>
  6. Print to PDF witout margin.
  7. In Acrobat, print the PDF to PDF in Multiple mode with 2 pages per sheet.

You will get something like in the attached PDF.

Average of ratings: Useful (2)