[Seaside] Re: WAComponent to PDF

Paul DeBruicker pdebruic at gmail.com
Thu Oct 22 17:49:32 UTC 2015

This probably has more of what you're after:


If you're not on linux there is a was to access wkhtmltopdf via OSProcess in
there as well I think.  If not I can send you what I'm doing.  Which is
basically rendering the component to a file, having wkhtmltopdf do the
conversion, and serving the pdf as a download in a tab that opens after some
polling code posts a link to the PDF.  

HilaireFernandes wrote
> Hello,
> I would like to render WAComponents as PDF documents.
> I took at look at Artefact, but it is an important work to render again
> the data as PDF with Artefact, not to mention I feel it is a duplicated
> work. Moreover, I have quite long documents spanning over several pages,
> some of my tables are complex with some columns spanning over 2 or 3
> columns and I have about 50 different documents to turn as PDF file.
> Now I am think about rendering these components on dedicated pages, then
> using wkhtmltopdf.
> What I would do is get these components rendered at dedicated urls, then
> call wkhtmltopdf with these urls as arguments.
> Practically how will you do that? How to forge an URL for a page
> rendering the component with a dedicated decoration for PDF conversion
> (dedicated css, header, footer)?
> My initial though is REST. Is it the right direction? Or are there other
> options?
> Thanks for tips, enlightenment or thought on the matter.
> Hilaire
> -- 
> Dr. Geo
> http://drgeo.eu
> http://google.com/+DrgeoEu
> _______________________________________________
> seaside mailing list

> seaside at .squeakfoundation

> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

View this message in context: http://forum.world.st/WAComponent-to-PDF-tp4857328p4857393.html
Sent from the Seaside General mailing list archive at Nabble.com.

More information about the seaside mailing list