what if you enable the whitespace removal in the admin ? On Fri, Sep 21, 2012 at 6:29 PM, Don L <[email protected]> wrote:
> > Hi, > > For CF9 or Railo 3.x, the following code generates extra white space like > half a page at both the top and the bottom for a generated PDF doc when > dynamic content exceeds one page, I wonder if we have a way to trim all > these necessary white spaces. It would be extremely desirable to have the > ability to set dynamic height for the PDF doc. > > <cfdocument filename="myDoc.pdf" format="pdf" orientation="landscape" > fontEmbed="yes" overwrite="yes"> > <cfprocessingdirective suppressWhiteSpace = "true"> > html dynamic content here... > </cfprocessingdirective> > </cfdocument> > > Thanks in advance. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352702 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

