跳至内容
菜单
此问题已终结
2 回复
7238 查看

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...

 

形象
丢弃
编写者 最佳答案

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

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
1
12月 20
3515
1
3月 15
3811
2
3月 15
9770
0
11月 21
2373
4
12月 20
9795