-
Notifications
You must be signed in to change notification settings - Fork 0
Wkhtmltopdf
Martin Trigaux edited this page Apr 26, 2016
·
12 revisions
The version of wkhtmltopdf available in Debian/Ubuntu repositories does not support headers and footers (requires patched QT version), so it must be downloaded from the project's page. Moreover, as there is no official release of 0.12.1 for Debian Jessie in the official downloads page, we've built one here.
-
0.12.0[.*]
: not recommended, minimal supported version as of Odoo 8.- Several known issues fixed in 0.12.1.
-
0.12.1[.*]
: recommended version - In production on Odoo Online (.deb for Debian jessie).
Known problems:- Some rare crashes during layout of multi-page tables (workaround: play with margins and/or dpi settings: 96, 100, 110dpi). Appears to be fixed in 0.12.2, but this version has worse problems.
- Known exponential memory usage and file descriptors usage when rendering documents with many pages (500+). Workaround: increase fd limit with
ulimit
, remove header/footers (internal layout). Experimental horrible patch: split the long table in smaller chunks and usepyPdf
to merge the pages.
-
0.12.2[.*]
: not recommended.
Known problems:-
--dpi
parameter broken, causes ugly/broken layout (usingzoom
could be a partial workaround but requires complex ratio computations on win32 due to default dpi) - fails to execute external JS file in header/footer (Supposedly fixed in 0.12.3)
-
-
0.12.3[.*]
: not recommended. Known problems:-
--dpi
parameter still broken, see 0.12.2
-
Website | Online Demo | Community | Documentation | Help
Boost Sales: CRM | Point of Sale | Quote Builder | Mass Mailing | Survey | Events
Build Websites: CMS | eCommerce | Blogs | Forum | Get a Free Website
Run Operations: Projects | Billing | Accounting | Inventory | Manufacturing | Procurements
Delight Employees: Employees | Enterprise Social Network | Recruit | Expenses | Appraisals | Fleet