[TYPO3-english] PDF Generator2 error: An error has occured while trying to use this document
Sovandy Chin
sovandy at web-essentials.asia
Wed Jan 12 06:18:48 CET 2011
Dear all,
I am using PDF Generator2 to convert my web page to pdf file. I have
configured it with typoscript, but the error I got is "An error has
occured while trying to use this document".
My realurl is lik this:
'print.pdf' => array (
'keyValues' => array (
'type' => '123',
),
),
My typoscript:
pdf_generator = PAGE
pdf_generator {
typeNum = 123
config.pageGenScript = EXT:pdf_generator/gen_pdf.php
config.admPanel = 0
config.xhtml_cleaning = 0
config.USERNAME_substToken =
config.ftu = 0
config.disableCharsetHeader = 1
config.prefixLocalAnchors = 0
config.disableAllHeaderCode = 1
config.additionalHeaders = Content-type:application/pdf
50 = CONTENT
50.table = tt_content
50.select = this
}
page.36= USER_INT
page.36.userFunc = tx_pdfgenerator2->openPdfLink
page.36.userFunc.target = _blank
page.37=TEXT
page.37.value = Link to PDF
page.38=HTML
page.38.value = </a>
The header of my browser showing me like this: print.pdf(application/pdf)
I don't know what is my missing.
Please help me!
Thanks in advance!!
Sovandy
--
Web Essentials
Redefining Web Development
Sovandy Chin
Web Developer
E: sovandy at web-essentials.asia
T: +855 23 996 604
M: +855 97 792 509 6
Further Contact Information Under
www.web-essentials.asia
More information about the TYPO3-english
mailing list