Converting learning modules to a PDF

When inside unit content, if you try to Print to PDF (CTRL/CMD + P) normally in a window, it will only export what is visible on the page, for example:

To convert an entire module to a PDF, open the content in a new tab by right-clicking on the View button for the module and selecting "Open link in a new tab" (CTRL/CMD + click):

Then, when you open a module in the new tab and select Print (CTRL/CMD + P), all the content from that module will be available: