Create PDFs with JavaFX WebView


Is it possible to create a PDF out of JavaFX Webview, with the help of a PDF library maybe?

I know that the webview supports printing but would it be possible to print to a pdf without one of the typical pdf print drivers available on the host system.

8/23/2017 11:00:45 AM

I was unable to find pure java solution to this. I prefer to use PhantomJS for non Java projects and I think it would fit nicely with WebView too (as it is also WebKit based).

9/19/2015 7:53:01 AM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow