Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
7034 Visualizzazioni

im tring to print pdf but i got this webkit error

The command 'wkhtmltopdf' failed with error code = 1. Message: The following diagnosis message was provided:
The switch --header-html, is not support using unpatched qt, and will be ignored.Invalid argument(s) parsed to --margin-top

Name:
wkhtmltopdf 0.9.9

Synopsis:
wkhtmltopdf [OPTIONS]... <input file> [More input files] <output file>

Description:
Converts one or more HTML pages into a PDF document, *not* using wkhtmltopdf
patched qt.

General Options:
--collate Collate when printing multiple copies

if u know please suggest the valuable answers...

 

Avatar
Abbandona
Autore Risposta migliore

no i didnt try the latest one problem is i dont know how to install wkhtmltopdf version 0.13 if u lnow please let me know???

i tried "sudo apt-get install wkhtmltopdf" but its installed 0.9.9-4 version and i got the same error

Avatar
Abbandona
Risposta migliore

Have you tried a newer version of wkhtmltopdf? The recommended version is 0.13 I believe.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
dic 20
3389
1
mar 15
3665
2
mar 15
9555
0
nov 21
2181
4
dic 20
9503