How to create PDF files from HTML/URL in Total.js?
This blog post describes how to create PDF files from HTML in Total.js web applications.

How to create PDF files from HTML/URL in Total.js?
- install PhantomJS
$ apt-get install phantomjs
or download it directy from http://phantomjs.org/download.html wkhtmltopdf
doesn't work correctly
Create an operation
E.g. /definitions/operations.js
:
Usage
You can execute the code below everywhere in your Total.js application:
Other posts from Total.js Platform
- 2025-05-01April report 2025
- 2025-04-24j-Box - Total.js UI component
- 2025-04-14Beekeeping - recording damage caused by a brown bear
- 2025-04-11j-Importer - Total.js
- 2025-04-10The Thurzo House Museum
- 2025-04-02March report 2025
- 2025-03-28j-DataGrid - Total.js UI component part 2
- 2025-03-20j-DataGrid - Total.js part 1
- 2025-03-13j-Directory - jComponent
- 2025-03-05j-Input UI component part 2