Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3433 Weergaven

Here is the error I'm getting when I try to print an report. But in my Ubuntu server I have installed "wkhtmltopdf".

Wkhtmltopdf failed (error code: -6). Message: The switch --header-spacing, is not support using unpatched qt, and will be ignored.The switch --header-html, is not support using unpatched qt, and will be ignored.The switch --footer-html, is not support using unpatched qt, and will be ignored.QXcbConnection: Could not connect to display

Avatar
Annuleer
Beste antwoord

Hello Naveen,

I solved this by download .deb package:

wget http://mirror.openminds.be/downloads.wkhtmltopdf.org/0.12/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb

and Install the package with dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb

then confirm with wkhtmltopdf -V that it says "with patched qt"

Regards, please upvote my answer for karma ...


Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
apr. 25
867
1
jul. 24
1351
1
mei 24
2542
1
mrt. 20
8466
0
feb. 19
2839