> Is it possible to format pdf EXACTLY as you have formatted it in the
> html/cd tag? As the code loops, the images/text don't align evenly in each
> row. I am trying to format pdf for Avery business card paper.
>
> Here is my code:
>
> <CF_HTML2PDF3 myHTMLDOC="D:\Program Files\HTMLDOC\htmldoc.exe"
> myOPTIONS="--portrait --fontsize 11pt --bodyfont typeface Arial --top
> 0.20in --left .5in --right .5in --bottom 0.00in --size 8.5x11in --footer
> ..." mySTATPATH="d:\users\tdlabs\tdlabs.com\beta\nta\pdf"
> mySTATFILE="static.html"
> myPDFPath="d:\users\tdlabs\tdlabs.com\beta\nta\pdf">
> <TABLE width="100%" border="0">
> <cfset newrow = true>
> <cfloop index="getcode" from="1" to="#form.number#" step="1">
> <cfset firstcodeid = #variables.newcodeid# + #getcode#>
> <cfset codeid =
> "NTA#variables.firstcodeid##cookie.ntauser#"><cfoutput>#getcode#</cfoutput>
> <cfif #variables.newrow# IS "true"><tr><TD height="187" valign="bottom"
> align="left"><cfelse>
> <TD height="187" valign="bottom" align="right"></cfif><TABLE width="330"
> height="182" border="0" cellpadding="1" cellspacing="0"><TR><TD
> align="center" valign="middle"><TABLE cellpadding="0" cellspacing="0"
> border=0><TR><TD valign="bottom"><cfoutput><img
> src=""> > align="left" valign="bottom">http://www.tacticaldesignlabs.com<BR>
> <cfoutput>#form.name#</cfoutput><BR>
> Discount Code: <cfoutput>#variables.codeid#</cfoutput><BR></TD>
> </TR></TABLE></TD></TR></TABLE></TD><cfif #getcode# MOD 2 EQ 0></tr><cfset
> variables.newrow = true><cfelse> <cfset variables.newrow =
> false></cfif>
>
> </cfloop>
> </TABLE></TD></TR></TABLE></CF_HTML2PDF3>
>
>
> Thanks,
> Kelly
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

