Skip to content

Instantly share code, notes, and snippets.

Jason Playne bluntelk

Block or report user

Report or block bluntelk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am bluntelk on github.
  • I am boxie ( on keybase.
  • I have a public key ASCkzla_gVSaWSI60BaYghy4I0aYTjx2XBCu2pTdxAJYTwo

To claim this, I am signing this object:

bluntelk / wkhtmltopdf.tablesplit.js
Created May 14, 2013
based on by Florin Stancu This is a reworked table split hack. I had problems with the original with the tables not being populated evenly (I would sometimes have empty tables with headers only, or a table with only a few rows) This version has support for tfoot tags. Your table should be laid out with…
View wkhtmltopdf.tablesplit.js
* WkHtmlToPdf table splitting hack.
* Script to automatically split multiple-pages-spanning HTML tables for PDF
* generation using webkit.
* To use, you must adjust pdfPage object's contents to reflect your PDF's
* page format.
* The tables you want to be automatically splitted when the page ends must
* have a class name of "splitForPrint" (can be changed).
You can’t perform that action at this time.