<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">we use XSendFile&nbsp;<div><br></div><div><br><div><div>On Jul 8, 2011, at 11:01 AM, Louis LaBrunda wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br><br>I'm playing with wkhtmltopdf that can convert html/css into a PDF file. &nbsp;If<br>anyone is interested it can be found here:<br><a href="http://code.google.com/p/wkhtmltopdf/">http://code.google.com/p/wkhtmltopdf/</a>. &nbsp;It should run on Windows and Linux<br>(I've tested it on Windows). &nbsp;It is run as a command line program. &nbsp;You<br>give it a URL or html input filename and an output pdf filename (where it<br>writes the pdf file). &nbsp;So far I like it but it would be nice if it broke<br>pages at table row and not in the middle of a row.<br><br>Now to my question. &nbsp;What is the best way to deliver the file for download?<br>I can put the file where Apache can download it. &nbsp;Or I can read it into a<br>string and serve it up from Seaside.<br><br>If I go the Apache route, how would I automatically trigger the download<br>after creating the file?<br><br>If I serve it from Seaside, how do I do that?<br><br>Many thanks in advance, Lou<br>-----------------------------------------------------------<br>Louis LaBrunda<br>Keystone Software Corp.<br>SkypeMe <a href="callto://PhotonDemon">callto://PhotonDemon</a><br><a href="mailto:Lou@Keystone-Software.com">mailto:Lou@Keystone-Software.com</a> <a href="http://www.Keystone-Software.com">http://www.Keystone-Software.com</a><br><br>_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><a href="http://about.me/sebastianconcept">sebastian</a></div><div><br></div><div>o/</div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>