9

Question: Are there alternatives to wkhtmltopdf?

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

Brettetete
  • 273
  • 1
  • 6
  • 16
  • 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. –  Jun 08 '14 at 07:44
  • 1
    The question is almost 2 years old, could you find a decent replacement? – Déjà vu Mar 23 '16 at 04:06
  • 2
    @ringo no, I could not – Brettetete Mar 23 '16 at 05:09

1 Answers1

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