Client-side HTML to PDF allows you to create a PDF client-side, on a mobile device (Reactive might work as well, but I have not tested this).
The module exposes the following actions:
PdfCreate allows you to create a PDF file from screen content. It has the following input parameters:
It has a single output parameter:
PdfPageAdd adds a page to a PDF in memory created with PdfCreate. It has the following input parameters:
PdfPagesAdd adds multiple pages to a PDF in memory create with PdfCreate, from a List widget. It has the following input parameters:
PdfBinaryGet retrieves the PDF's binary, for subsequent handling (e.g. storing in the database, sending to an external service, downloading on the mobile device etc.). To actually download the PDF (browser only!), use PdfBinaryDownload. It has the following input parameter:
It also has a single output parameter:
PdfBinaryDownload retrieves the PDF's binary and downloads it (as "example.com"). Note this action only works in the browser (so for testing), not on an actual mobile device (you'll need a plugin on a mobile device).
It has the following input parameter:
The following paper size are supported: