Prince kinda sucks on the first tests. <div><br></div><div>PhantomJS looks interesting - I'll give it a try and see what I can do with it.</div><div><br></div><div>S<br><br><div class="gmail_quote">On Wed, Nov 2, 2011 at 4:46 PM, Jon Leighton <span dir="ltr"><<a href="mailto:j@jonathanleighton.com">j@jonathanleighton.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">PhantomJS also does PDF output. No idea how good it is, but it's open<br>
source at least.<br>
<div><div></div><div class="h5"><br>
On Wed, 2011-11-02 at 16:43 +0000, Stephen Bartholomew wrote:<br>
> I did mention this in my post - but I shyed away due to needing to<br>
> purchase before testing - however your reply made me look again and<br>
> they do have a non-commercial version for download now. This will at<br>
> least allow me to test before getting a commercial license.<br>
><br>
><br>
> I'll give that a go and let you know how I get on :)<br>
><br>
><br>
> S<br>
><br>
> On Wed, Nov 2, 2011 at 4:38 PM, Matthew Ford <<a href="mailto:matt@bitzesty.com">matt@bitzesty.com</a>><br>
> wrote:<br>
> Have you tried PrinceXML? The new version has some JS<br>
> support.<br>
><br>
> --<br>
> Matthew Ford<br>
><br>
> Director of Bit Zesty<br>
><br>
> T: <a href="tel:%2B44%20%280%292071250160" value="+442071250160">+44 (0)2071250160</a><br>
><br>
><br>
><br>
><br>
> This message contains confidential information and is intended<br>
> only for the individual named. If you are not the named<br>
> addressee you should not disseminate, distribute or copy this<br>
> e-mail. Please notify Bit Zesty immediately by e-mail if you<br>
> have received this e-mail by mistake and delete this e-mail<br>
> from your system. E-mail transmission cannot be guaranteed to<br>
> be secure or error-free as information could be intercepted,<br>
> corrupted, lost, destroyed, arrive late or incomplete, or<br>
> contain viruses. Bit Zesty does not accept liability for any<br>
> errors or omissions in the contents of this message, which<br>
> arise as a result of e-mail transmission. Opinions expressed<br>
> in this email are those of Matthew Ford, and do not<br>
> necessarily reflect those of Bit Zesty.<br>
><br>
> Bit Zesty Ltd, a company incorporated in England with<br>
> registered company number 06883289.<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> On 2 November 2011 16:08, Stephen Bartholomew<br>
> <<a href="mailto:steve@curve21.com">steve@curve21.com</a>> wrote:<br>
><br>
><br>
> Hey all,<br>
><br>
><br>
> On the subject of PDF generation, has anyone had<br>
> success converting JS-heavy pages to PDF?<br>
><br>
><br>
> The page in question is an Open Layers based map with<br>
> vector layers. There's an example of the map<br>
> here: <a href="http://communities4renewables.co.uk/open/maps/5cdbb6b2-33ed-4e7f-ad59-a24327006711" target="_blank">http://communities4renewables.co.uk/open/maps/5cdbb6b2-33ed-4e7f-ad59-a24327006711</a><br>
><br>
><br>
> I've tried using wkhtmltopdf which somewhat works but<br>
> renders different layers inconsistantly depending on<br>
> the configuration. I've tried timeouts and all the<br>
> advice I can find online. I know there are paid<br>
> solutions like prince etc but I'm reluctant to invest<br>
> in that without an idea of the success.<br>
><br>
><br>
> Any help/experience would appreciated!<br>
><br>
><br>
> Cheers,<br>
><br>
><br>
> Steve<br>
><br>
><br>
> --<br>
> Stephen Bartholomew<br>
><br>
> Curve21<br>
><br>
> <a href="http://www.curve21.com" target="_blank">www.curve21.com</a><br>
> 07729 60 60 79<br>
> <a href="mailto:steve@curve21.com">steve@curve21.com</a><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Chat mailing list<br>
> <a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
> <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Chat mailing list<br>
> <a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
> <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
><br>
><br>
><br>
><br>
><br>
> --<br>
> Stephen Bartholomew<br>
><br>
> Curve21<br>
><br>
> <a href="http://www.curve21.com" target="_blank">www.curve21.com</a><br>
> 07729 60 60 79<br>
> <a href="mailto:steve@curve21.com">steve@curve21.com</a><br>
><br>
><br>
> _______________________________________________<br>
> Chat mailing list<br>
> <a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
> <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br>
--<br>
</div></div><a href="http://jonathanleighton.com/" target="_blank">http://jonathanleighton.com/</a><br>
<br>_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Stephen Bartholomew<br><br>Curve21<br><br><a href="http://www.curve21.com">www.curve21.com</a><br>07729 60 60 79<br><a href="mailto:steve@curve21.com">steve@curve21.com</a><br>
<br>
</div>