Issues
PDF created in Lucee does not show content below <th> when physically printed.
Description
Environment
Windows Server 2012, Lucee 5.1.3.18, PDF 1.0.0.66
Details
Assignee
Michael OffnerMichael OffnerReporter
Prasanth Kumar SPrasanth Kumar SPriority
MajorNew Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Details
Details
Assignee
Reporter
Priority
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Activity
Yogesh Mathur17 April 2019 at 06:10
I was not able to resolve this issue so I have changed my code to use wkhtm2pdf instead.
Yogesh Mathur13 April 2019 at 10:30
@Zac Spitzer this is the error I am getting with PDF Extension version 1.0.0.72
"success": false,
"results": {
"status": "-100",
"msg": "Error has occurred while trying to get data. Error has been logged and reported - org.xhtmlrenderer.render.AnonymousBlockBox cannot be cast to org.xhtmlrenderer.newtable.TableCellBox"
}
Yogesh Mathur13 April 2019 at 09:44
@Prasanth Kumar S I tried with Lucee 5.2.7.63 and PDF 1.0.0.68, still same issue. Thanks for the Input though.
Yogesh Mathur12 April 2019 at 14:20
I am trying different things with it, I will share more info once I have. Thanks
Zac Spitzer12 April 2019 at 14:07
@Yogesh Mathur it's always useful to include the error message,
I found a strange issue with the PDF generated in Lucee with <cfdocument> tag. The document spans multiple pages and I used <th> inside <thead> so that the content of <th> displays over the table in all the pages. The PDF was successfully created and rendered in the browser correctly. On every page I can see the content in the <th> displayed above the table content.
Then, if I try to use the Print button in the rendered PDF in the browser (the button in the top right section along with download button) to physically print the document, the first page prints correctly. But subsequent pages just display the content inside the <th> only and the rest of the body will be blank. The header and footer displays just fine.