Forums Forums (
-   General questions (
-   -   save2pdf function... (

pstoianov 02-24-2012 10:30 PM

save2pdf function...
Hello all,

Does anyone knows what kit should be installed to enable "Save to PDF"?

We've tried "wkhtmltopdf" but does not work. Any idea?

slava 02-24-2012 11:42 PM

wkhtmltopdf should be installed,
Can you test wkhtmltopdf installation by opening BILLmanager url such as 'wkhtmltopdf https://server/manager/billmgr' command ? Is it work?

pstoianov 02-25-2012 02:32 PM

We found that the core issue is in the wkhtmltopdf's dependencies.
The server is very clean and kept with minimum kits and need to figured out which kits makes wkhtmltopdf works.

Currently wkhtmltopdf works but the output is in squares.

slava 02-25-2012 08:06 PM


Currently wkhtmltopdf works but the output is in squares.
Install fonts to server - ttf-dejavu package for example

pstoianov 02-25-2012 11:13 PM

Thank you Slava! ;) It now works!

So, in case some other users struggle with same issue, here is the fix for CentOS:

1. Download and unzip the static binary of wkhtmltopdf and extract the archive under "/usr/local/sbin".
2. yum install dejavu*
3. Go to BILLmanager -> Global Settings -> Settings (TAB) -> "Path to the HTML2PDF converter file" -> /usr/local/sbin/wkhtmltopdf-i386

All times are GMT +2. The time now is 05:55 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2022, vBulletin Solutions, Inc.