That's odd, it created four PDF pages instead of one, and put the text on the fourth page and the logo on the first....all I did was set the scale to 100...when I use the % sign, it bombed. The funny thing is the size of the PDF pages are now the correct size, but the text and image get moved all over the place...so strange.
Thanks for the feedback M!ke. Matt ----- Original Message ----- From: "Dawson, Michael" <[EMAIL PROTECTED]> To: "CF-Talk" <[email protected]> Sent: Sunday, July 31, 2005 3:55 PM Subject: SPAM-LOW: RE: CFDOCUMENT and pageheight + pagewidth issues... > Try setting the cfdocument scale to 100%. I'm not sure if "scale" is > the actual attribute, but you should be able to find it easily. > > M!ke > > -----Original Message----- > From: Matthew Blatchley [mailto:[EMAIL PROTECTED] > Sent: Saturday, July 30, 2005 10:29 PM > To: CF-Talk > Subject: CFDOCUMENT and pageheight + pagewidth issues... > > I'm trying to create a business card using very simple HTML and getting > some very unsual results. When I create the PDF, the table is the exact > height and width, but the document is much larger? It's like it's > ignoring the height and width. > > <cfdocument format="pdf" filename="#order_PDF_filename#.pdf" > pageType="Custom" pageheight="2" pageWidth="3.5" marginbottom="0" > margintop="0" marginleft="0" marginright="0"> <HTML> > <HEAD> > <TITLE></TITLE> > </HEAD> > <BODY LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0"> > <TABLE WIDTH="336" BORDER="0" CELLPADDING="0" CELLSPACING="0"> > <TR> > <TD COLSPAN="2"><IMG SRC="bcard.gif" WIDTH="216" HEIGHT="102" > BORDER="0"></TD> > </TR> > <TR> > <TD HEIGHT="80" VALIGN="BOTTOM" ALIGN="RIGHT" WIDTH="320"><FONT > STYLE="font-family: Eurostile; font-size: 8pt; color: > ##000000"><cfif #orderFromStreet1# neq "">#orderFromStreet1#</cfif> > <cfif #orderFromStreet2# neq > "">#orderFromStreet2#<BR></cfif>#orderFromCity#, #orderFromState# > #orderFromZip#<BR>Office: #orderFromPhone# &##149; Fax: &##149; Email: > #orderFromEmail#</FONT></TD> > <TD HEIGHT="80" WIDTH="16"> </TD> > </TR> > <TR> > <TD COLSPAN="2" HEIGHT="10"></TD> > </TR> > </TABLE> </BODY> > </HTML> > </cfdocument> > > Are there any restrictions to using 2 inches by 3.5 inches? Does the > tag even read in item past the decimal point? I've been using this tag > and have found it to work for the most part so far, but everywhere I > look there are un-answered questions....is anyone else running into > problems with this. > > I've done this successfully with envelope sizes, notecard sizes, and > letterheads. I've also seen simple html tables blow out and cause an > additional page to be appended to the PDF until I changed the pageheight > and pagewidth. What's the deal? Should I use inches or centimeters? > > Any help would be greatly appreciated. > > Matt > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213357 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

