118
Views
0
Comments
[PDF Header and Footer] Updating PDF Header and Footer files - SOLVED
Question
pdf-header-and-footer
Web icon
Forge asset by Fábio Fantato
Sometimes PDF Header and Footer dosen't work properly like it should.
Strange things happens and sometimes you don't know what happened or why.

In my case it happened when we changed Outystems version (today i'M using 9.1.301.0).

I've done it into my Outystems account, after my employee account (where I work we have 2 licences of Outsystems).
Please first test in your web account before update your server.

This where the steps that I've used to fix the problems and worked fine.

1 - Download the last version of wkhtmltopdf in https://wkhtmltopdf.org/downloads.html
    (Windows lat version is 0.12.3.2) - https://download.gna.org/wkhtmltopdf/0.12/0.12.3.2/wkhtmltox-0.12.3.2_msvc2013-win64.exe
2 - Install the file wkhtmltox-0.12.3.2_msvc2013-win64.exe

3 - In my computer I´ve installed it into C:\Program Files\wkhtmltopdf

4 - Start Outsystems
4.1 - Choose HtmlToPdfConverter aplication
4.1.1 - Choose HtmlToPdfConverter (module) inside HtmlToPdfConverter
4.1.2 - Press F5
4.1.3 - In the browser it will show
    HTML to PDF Converter
    Administration Screen
    
Click in administration link

This screen runs into your server

delete Additional Binaries - PDF Generator and Image Generator
delete all Additional Binaries

upload the new PDF Generator and Image Generator from C:\Program Files\wkhtmltopdf (remember where you have installed it)
upload the new Additional Binaries file (there is only this file wkhtmltox.dll)

5 - Close the browser
6 - Manage dependences of all projects
7 - You have finished!

I hope had helped
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.