[PDF Header and Footer] Updating PDF Header and Footer files - SOLVED

Forge Component
Published on 2016-05-18 by Fábio Fantato
5 votes
Published on 2016-05-18 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 http://wkhtmltopdf.org/downloads.html
    (Windows lat version is - http://download.gna.org/wkhtmltopdf/0.12/
2 - Install the file wkhtmltox-

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