Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
7033 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ธ.ค. 20
3389
1
มี.ค. 15
3665
2
มี.ค. 15
9554
0
พ.ย. 21
2181
4
ธ.ค. 20
9503