8

Question: Are there alternatives to wkhtmltopdf?

Why: wkhtmltopdf is converting my css wrong, do not show the background property of a div

  • 1
    Can you give more details about the background property that is not shown in the PDF? You should get everything shown in the html unless you have a "display:none" in a print.css I would try to solve the wkhtmltopdf before trying other more complex solutions. – user290546 Jun 8 '14 at 7:44
  • 1
    The question is almost 2 years old, could you find a decent replacement? – e2-e4 Mar 23 '16 at 4:06
  • 2
    @ringo no, I could not – Brettetete Mar 23 '16 at 5:09
0

php-dompdf

It is available only in Trusty

Can be installed with:

sudo apt-get install php-dompdf fonts-dejavu php-font-lib php5 sdop
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.