Read more

pdfkit/wkhtmltopdf: When a header is invisible

Henning Koch
September 30, 2014Software engineer at makandra GmbH

If you're using the :header_html option in PDFKit (or the corresponding --header-html option in wkhtmltopdf), and the header remains invisible, you need to add this to your header HTML:

<!doctype html>
Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

The same applies to footers via footer_html

I'm sorry.

Posted by Henning Koch to makandra dev (2014-09-30 12:05)