[TYPO3-english] No CSS with pdf_generator2
Sebastian Fuchs
sebastian at hexerei.net
Fri Jan 8 19:22:17 CET 2010
Hi,
did you check the temporary output in "typo3temp/html2ps.html"? This is the
html that will be used for the rendering of your pdf. This is probably just
a case of (relative/absolute) css paths?
good luck,
sebastian
Redvald Hjulstad schrieb:
> I try to use pdf_generator2 to make downloadable versions of detail
> views from tt_news.
>
> I use this ts to create a download link:
>
> plugin.tt_news.genericmarkers.PDF = TEXT
> plugin.tt_news.genericmarkers.PDF.value = <br />Download ship data as PDF
> plugin.tt_news.genericmarkers.PDF.postUserFunc =
> tx_pdfgenerator2->makePdfLink
> plugin.tt_news.genericmarkers.PDF.postUserFunc.target = _blank
> #plugin.tt_news.genericmarkers.PDF.postUserFunc.include_post_vars = 1
>
> It worsk almost as I want, but the output is not fotmatted with css. As
> I understand it it should take the css from the page (screen) and use it
> in the PDF as screen is default selectet as the css to use for
> generation PDF.
>
> Any suggestions of what I can do to make the css styling into the PDF?
>
>
> - Redvald
>
More information about the TYPO3-english
mailing list