تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
7047 أدوات العرض

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
ديسمبر 20
3396
1
مارس 15
3679
2
مارس 15
9589
0
نوفمبر 21
2196
4
ديسمبر 20
9514