ariya / phantomjs

Scriptable Headless Browser
http://phantomjs.org
BSD 3-Clause "New" or "Revised" License
29.46k stars 5.76k forks source link

Support for paged media #10268

Closed ariya closed 4 years ago

ariya commented 12 years ago

joern.h...@gmail.com commented:

Discussion: https://groups.google.com/group/phantomjs/browse_thread/thread/b16c8799e68b1843

A great way to use PhantomJS is IMHO to use it for printable documents from HTML pages, e.g. using a XSLT transformation to generate a printable HTML document which will be rendered as PDF (e.g. instead of Jasperreports). I used XHTMLRenderer (http://code.google.com/p/flying-saucer/) for that but it's HTML/CSS features are very limited. But it supports a subset of a feature that is needed to greater documents: Paged Media (http://www.w3.org/TR/CSS2/page.html).

So, it would be nice if PhantomJS would support this. I think that current webkit implementations do not support it yet.

Disclaimer: This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #268. :star2:   9 people had starred this issue at the time of migration.

ariya commented 12 years ago

b.mouch...@gmail.com commented:

I'm very interested in this feature too

mzerdin commented 10 years ago

I would very much like to see this happen as well.

subyraman commented 10 years ago

Any progress or thoughts on this? PrinceXML supports CSS3 Paged media, was hoping that PhantomJS would have support for it as well.

okrad commented 10 years ago

I'm really interested in this feature too!

itajaja commented 9 years ago

:+1: This would be awesome to automate pdf generation!

stale[bot] commented 4 years ago

Due to our very limited maintenance capacity (see #14541 for more details), we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed. In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!