Skip to content
Martin Lercher edited this page Jul 4, 2022 · 33 revisions

This Fork

See branch 1.9lercher and as a newbe mistake also the 1.9 branch.

The primary goal was to be able to get hold of the text that is actually rendered to a specific page number in a PDF document. This fork adds some windows specific features to the 1.9 branch of PhantomJS

  • Codepage 437 support for proper cmd.exe console logs
  • fs API extension: formatDateTime() to use Qt's date and time formatting options to JavaScript
  • fs API extension: createTempFile() to get a path to a unique local temp file
  • fs API extension: msmqSendUtf8StringTransactional() and msmqSendUtf8String() to send strings to a (non)transactional message queue (MSMQ). Strings are encoded as UTF-8 byte arrays (VT_UI1|VT_ARRAY).
  • webpage API extension: paperSize.onPage adds a JavaScript callback to capture all the strings that were output to a specific pageNumber when rendering PDF
  • resource loads (images, stylesheets, iframes) for headers and footers for PDF rendering.

Get Started

Learn

Get Help

Something does not work?

Explore

Contribute