PrintJS: Print a PDF from Dolibarr with a single click, without opening it
PrintJS was released on February 19, 2025, as version 1.0.5.
The Need
Printing a document from Dolibarr requires three steps: opening the PDF, waiting for the viewer to load, and initiating the print job. Repeated fifty times a day in a department that generates packing slips or invoices, this detour ends up being costly.
What the module does
A print icon is added next to each PDF file. With a single click, the document is sent to print directly from the browser, without having to open it first.
This version extends the icon to include lists and all documents associated with an object, rather than just the attachments in the current record. This feature was added based on an external contribution.
Prerequisites
Dolibarr 11 or later, PHP 5.5 or later.
The module is released under the GPL v3.