General plugins (Local): Lesson PDF Export

Maintained by Picture of Adam King Adam King
This plugin allows lesson modules to be exported to PDF documents with optional protection.
234 sites
37 fans

This plugin visually displays the option to output lesson modules as PDF documents.

There are many settings that come with the PDF export plugin including custom font, footer texts, document protection, cover colours, password protection, strict exporting and more. 

Document pages are ordered the same as each lesson and question pages are also supported, although some answers are not shown (such as short answer questions).

This plugin was developed for use on the SHEilds eLearning platform. If this plugin does not match your use-case, please open a ticket on Github detailing what you require for this to become a useful addition to your Moodle plugins.


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3


Picture of Adam King
Adam King (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Adam King
    Tue, Jul 11, 2017, 9:46 PM
    Custom fonts are now able to be uploaded for use in the plugin (with TCPDF). TCPDF can only convert .ttf and .otf files at the moment, I believe. There is a new version of TCPDF, called tc-lib-pdf, which has the ability to convert fonts on-the-fly, but that's on Moodle to adopt it or not. The new project for TCPDF can be located here if you want to look into it at all.
  • Picture of Adam King
    Wed, Jul 12, 2017, 11:08 PM
    I've updated the plugin to use AMD modules for 3.0+ support, all changes made can be seen here
  • Picture of Arno Wilhelm-Weidner
    Thu, Oct 12, 2017, 5:42 PM
    Hi, is there a possibility to use the plugin with the MathJax-Filter so formulas are displayed correctly?
  • Picture of Kathryn Becker
    Tue, Nov 28, 2017, 8:26 PM
    This works for us (THANK YOU!) except the client wants the PDFs to export unsecured. I'm using the most recent version as of September 2017. Am I missing a step in setup?
  • Picture of Adam King
    Wed, Nov 29, 2017, 1:26 AM
    Hey kathryn, glad to hear it's still useful! If you don't want any security on your PDF documents then do not set a password for the documents on the settings page and apply your permissions appropriately; the checkboxes are tick-to-give permissions. Given that some people require security off the bat I thought it unwise to leave them unsecured by default.
  • Picture of Michael Milette
    Sat, Feb 17, 2018, 4:29 PM
    Any chance of a version for Moodle 3.4 in the near future? If so, when? smile
  • Ricardo Caiado
    Sun, Mar 18, 2018, 4:38 AM
    Any updates do Moodle 3.4?

  • Picture of Ivan Gorbachev
    Fri, Jul 6, 2018, 5:04 PM
    Hi everybody! Thank you for you plugin!
    Can you help me =)
    I can't find magic button 'Export as PDF' =)
    Where it should be ? Can you show a prints creeen =))
  • Picture of Roman Barba
    Thu, Aug 30, 2018, 2:05 AM
    Hello Adam.
    Thank you for the useful plugin.
    Do you have any information regarding the launch of the 3.5 version?
    Thank you for your update.
  • Picture of Devon R
    Tue, Nov 20, 2018, 11:40 PM
    Hi Adam,

    I love the idea behind this plug in. I'd like to request a 3.6 version, if possible, after 3.4 and 3.5? Found this from while looking for ways to improve accessibility and interactivity. I hope your plug in development (on this one and others!) is going smoothly.
  • Picture of man span
    Fri, Jan 25, 2019, 5:44 PM
    Could you please explain how to use the plugin?
    I've installed version 3.0+ (Build: 2017071201) on a Moodle server ver 3.5.3 (Build: 20181112)
  • Picture of Thinh Truong
    Fri, Feb 15, 2019, 8:54 PM
    Hello creator of this plugin,
    Do you have an updated version for Moodle 3.5.2+ please ? This plugin interests me a lot but currently i cannot add it to my Moodle 3.5.2+
    Thank you a lot for your help.
  • Picture of Sourav Singh
    Wed, Apr 17, 2019, 12:31 AM
    good article
  • Picture of Dinis Medeiros
    Wed, Apr 17, 2019, 10:53 PM
    After update i can't find this Site Administration->Plugins->Lesson Export to configure/edit plugin configurations? Is it only me?
  • Picture of Puja Sinha
    Thu, Apr 18, 2019, 2:06 PM
    its really helpful plugin
1 2 3 4
Please login to post comments