Skip to main content
Participant
December 9, 2009
Question

CF8 Document PDF cutting off text

  • December 9, 2009
  • 4 replies
  • 3949 views

I am facing text cut-off during CFDocument PDF page breaks.

I am using CF 8.

Anyone can help Plz ?

Thanks,

-SKS

This topic has been closed for replies.

4 replies

Participant
October 14, 2010

We are experiencing the same problem, nearly a year after this original post.  All hot fixes applied and the problem persists.  Our data is not really a report exactly, we aren't looping through queries we are building dyanmic content based on some forms.  So we can't use any of the work around methods like counting the number of rows and such, at least not without some major recoding of approx 50 included files.  Documentation says that cfdocument supports the CSS style page-break-inside, but it appears to ignore it.  The problem is also not corrected in CF9 because we have tested it there as well.  No matter what we try to do the CFDocument tag will break in the middle of a table row / text if it happens to fall at the page length where cf wants to break the page.

This is highly annoying and a large problem as the print outs are for medical data, and the doctors need to be able to read the text, not only have half of it show up on one page and the other half on another page.

Participant
October 19, 2010

Well adobe support is no help on the matter.  Emailed them over a week ago about this problem and got an auto reply and nothing else in a week.  Pathetic.

January 27, 2011
Participant
October 7, 2010

fwiw, we're running CF8 updated to chf8010004.jar, and this issue still persists. I've got a report containing a load of tabular data; i.e, an HTML Table with a load of table rows. When CFDOCUMENT breaks the page, you might get text clipping, and you might not. It is as if the entire report was printed out on a long dot matrix printout with no breaks, and CFDOCUMENT is moving a paper cutout window over it. Depending on luck, it might clip some of the top or bottom, or it might not. Being an old Poscript hack from way-back-when, I'm thinking CFDOCUMENT is doing some sort of boundingBox operation, but not checking to see if this is resulting in any clipping.

But yeah, even with the latest update for CF8, it's still clipping CFDOCUMENT output on page breaks.

Participating Frequently
February 23, 2010

I'm not sure how complex your reports are but where I work we've resorted to using iText istead of cfdocument.  We load the necessary java objects, made CF custom tags for making tables, tr, td, along with tons of other options like making header rows only repeat in certain scenarios, etc...  If you find cfdocument tag becoming limiting look into it... http://itextpdf.com/book/

Inspiring
December 9, 2009

SKS,

Try applying this hot fix,

http://kb2.adobe.com/cps/402/kb402584.html