Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
7023 Visualizações

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
Cancelar
Autor Melhor resposta

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
Cancelar
Melhor resposta

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

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
dez. 20
3386
1
mar. 15
3652
2
mar. 15
9544
0
nov. 21
2172
4
dez. 20
9502