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-04-02NEWMarch 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
- 2025-03-01February report 2025
- 2025-02-03January report 2025
- 2025-01-01December report 2024
- 2024-12-22Merry Christmas and a Happy New Year 2025!
- 2024-12-10Total.js UI Builder: How to upload files?