News for hackers. Stuff that matters.
Re:Headless mode in Firefox by TimTheTinker on Wednesday August 30, 2017 @10:43AM (#15132482)
If you need professional typesetting from HTML+CSS, Prince XML is still king, I'm pretty sure. It can be invoked & run heedlessly.

It also supports page-oriented CSS declarations and variables, like headers, footers, page numbers, etc.

Re:Headless mode in Firefox by cakeface on Wednesday August 30, 2017 @02:06PM (#15134478)
What are the features that make Prince XML better than headless chrome? Prince XML is not open source or cheap.
Re:Headless mode in Firefox by trynewideas on Wednesday August 30, 2017 @04:26PM (#15135693)
Simply put, it's designed to make PDF output and provides a lot of quality-of-life tooling around that. Better support for CSS paged media and non-HTML XML input, better handling of page-spanning tables, shims for things missing from paged media (like hyphenation and ligature controls, PDF-specific objects to modify output with Javascript, Javascript embeds into PDF output), better out-of-the-box styles, better documentation and support, and more predictable output and better debugging tools.

Browsers are catching up on paged media options, but they're not all the way there yet. The rest of the stuff Prince does is not (and arguably shouldn't be) in the scope of headless Chrome.

There was a brief moment where headless Chrome supported flexbox in print before Prince did, but that was fixed a month or so ago in Prince dev and should land in production soon if it hasn't already.

Re:Headless mode in Firefox by ux-app on Wednesday August 30, 2017 @08:37PM (#15137271)
PrinceXML is in a league of it's own. Very, very light weight. Very fast and it has outstanding output. The price tag is steep for sure, but if your business relies on PDF output then nothing comes close.
Re:Headless mode in Firefox by _pmf_ on Thursday August 31, 2017 @05:47AM (#15139215)
Do you use it in the context of technical documentation? Does it make using Docbook a bearable experience?
Re:Headless mode in Firefox by ux-app on Thursday August 31, 2017 @10:14PM (#15145630)
It has unmatched print CSS support, so it'll take anything you throw at it.

Also it blisteringly fast. You'll process 10 documents before headless Chrome has even finished starting up.

There's a free trial which prints a watermark so you can give it a spin. very easy to get up and running, even has a GUI so that you can throw some test docs at it without any effort at all.

Re:Headless mode in Firefox by TimTheTinker on Wednesday August 30, 2017 @09:19PM (#15137433)
You should check out their samples: http://www.princexml.com/samples/

Stuff looks like it was created with QuarkXPress or Adobe InDesign.