Skip to content

Conversation

rix0rrr
Copy link
Collaborator

@rix0rrr rix0rrr commented Sep 30, 2025

This adds a page that prints all the workbooks of a single language one after the other, and a script that uses Puppeteer to visit that page and export the page to a PDF.

This makes it possible to generate a printable PDF for any workbook with little effort.

The script currently works against a local server, so you need to run a copy of the devserver on your machine before running the script.

How to test

  • Run a local copy of the server (doit run devserver)
  • In a different terminal window, run npm run print-workbook en or npm run print-workbook nl (or npm run print-workbook en nl)
  • Observe that workbook-en.pdf and workbook-nl.pdf files appear in the current directory.

This adds a page that prints all the workbooks of a single language one
after the other, and a script that uses Puppeteer to visit that page and
export the page to a PDF.

This makes it possible to generate a printable PDF for any workbook
with little effort.

The script currently works against a local server, so you need to
run a copy of the devserver on your machine before running the script.
@MarleenGilsing MarleenGilsing removed their request for review October 3, 2025 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress
Status: Review for relevance

Development

Successfully merging this pull request may close these issues.

3 participants