User guide
Quick Start Guide
Dashboard
Overviews
Case detail (Caseoverview)
Case - event
Tasks
Case notes
Documents
User settings
Favorites
Table component
FAQ
Administrator Guide
Platform guide
Administration
Crons
Authentication and Synchronization
Mobile App Setup for Your Environment
Scheme
Dynamic tables
Archiving
Scripts
Service console
Scheduled Tasks
HR Agenda
Sequences
CSP Headers
Logs
Access Token Settings & Session Expiration
Template
Roles
Planning
Users
Organizational structure
Events
Translations
AXIOS API
Calculations & Functions
Integrations
TAS Forms
TAS Forms
Activating the module on the environment
TAS Forms - secret creation guide for Docker Swarm
Advanced Features & Tips
Partners
Product
Business Changelog
Technical Changelog
Version Upgrade Guide
Upgrading to 5.9
Upgrading to 5.3
Dynamic conditions migration
PDF printing adjustment
Editing Task Description vs Task Instructions
Transpiling forEach to a for loop
Rendering HTML on Caseoverview
Upgrading to 5.7
Lodash upgrade v4.17.x (>v5.5)
Main changes and deprecated features (v5.3 > v5.7)
Using validation functions
Differences between TAS4 and TAS5 - a complete overview
Best Practices for Upgrading from v4 to v5
Technical details
News / Important information
- All Categories /
- Product
- Version Upgrade Guide
- Upgrading to 5.3 /
- PDF printing adjustment
PDF printing adjustment
Fix pdf printing if it doesn't print correctly (printToFantomPdf)
If the PDF you are printing does not look as it should, but there are some problems (e.g. an external image is not added), then you need to set the third parameter to true in the lib.printToFantomPdf() function.
//Původní zápis
lib.printToFantomPdf(POform, "Purchase Order " + vars['POnumber'].getValue() + ' (' + lang + ')' + ".pdf");
//Nový zápis
lib.printToFantomPdf(POform, "Purchase Order " + vars['POnumber'].getValue() + ' (' + lang + ')' + ".pdf", true);
Check of print templates
Some templates may be formatted differently due to newer versions of libraries. It is recommended to review all print templates.
Updated
by Anna Gernát