• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 744
  • Last Modified:

coldfusion 8 cfdocument legal scales content differently based on document size

coldfusion 8 on win 2k3 server. if created pdf is 2-300 pages layout is ok. if created pdf is 8-900 pages layout is scaled smaller. Using cfdocument , pdf, legal, landscape. No style sheets. Added CF8 hotfix 3 which is supposed to have a scaletofit function in cfdocument but I get an error that says this is not a supported parameter in cfdocument.
0
jsgould
Asked:
jsgould
  • 2
  • 2
2 Solutions
 
MauseCommented:
there is no cfdocument attribute 'scaletofit' only a scale property

"scale: Scale factor as a percentage. Use this option to reduce the size of the HTML output so that it fits on that paper. Specify a number less than 100."

see adobe documetation on cfdocument:
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_d-e_05.html#3765835

0
 
jsgouldAuthor Commented:
scaletofit was supposedly added with the latest update to CF8. Doesn't matter though since what I want to do is STOP the scaling. Don't understand why the number of pages has anything to do with it.
0
 
MauseCommented:
Don't you have any content that is wider than the page width? CF will automaticly scale this content.
0
 
jsgouldAuthor Commented:
Tried that and it does scale the larger documents However this causes the smaller documents to wrap lines. It seems that the number of pages in the document is key to the issue
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now