That puts it into a local variable anyway... if you can then pass that to htmldoc you're on your way. Not sure how this might affect any paths to CSS/images for HTMLDOC though.
That puts it into a local variable anyway... if you can then pass that
to htmldoc you're on your way. Not sure how this might affect any
paths to CSS/images for HTMLDOC though.
Thanks. CSS is "no problem" with HTMLDOC - it doesn't support it
Maybe, I need to find some alternative for HTMLDOC. My problem is, that
I have a table with variable number of columns.
That puts it into a local variable anyway... if you can then pass that
to htmldoc you're on your way. Not sure how this might affect any
paths to CSS/images for HTMLDOC though.
Thanks. CSS is "no problem" with HTMLDOC - it doesn't support it
Maybe, I need to find some alternative for HTMLDOC. My problem is, that
I have a table with variable number of columns.
wkhtmltopdf is free. prince will cost you. prince has better css
print-related implementation coverage at this time, but wkhtmltopdf
can be a very good alternative depending on the needs of your project.
Since I started using tools (like prince/wkhtmltopdf) to generate pdfs
from html/css for web app projects that need to gen pdfs, I've never
gone back to using low-level pdf-gen'ing libs/tools (like prawn).
Just requires so much less work.
By the way, you may also want to look into using PDFtk - The PDF Toolkit
in combination with wkhtmltopdf(/prince) in case you need to do any
post-processing of your gen'd pdfs (adding additional watermarks,
splitting out pdf pages, combining pdfs, ....).