I am using this tag to create pdfs. A user enters how many "cards" they
want to print, it then goes to a page that outputs some user information
and a graphic. My problem is is that sometimes the graphic appears and
sometimes it doesn't. Very random. It seems to work if I completely close
acrobat before I attempt to create another pdf. Has anyone experienced
this before. Any advice?

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>

Also, I can't seem to align the cards. It does not print the cards evenly
spaced like I have coded. The margins in the tag don't seem to hold true.

Thanks,
Kelly
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to