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.
Windows Server 2012, Lucee 184.108.40.206, PDF 220.127.116.11