I was able to get this to work..


<cfset vendor="ABC">
<cfset address1="123 Main">
<cfset address2="Suite A">
<cfset phone="(949)862-6231">
<cfset email="[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ">
<cfset web="www.asdf.com <http://www.asdf.com> ">

<CFOBJECT ACTION="">     TYPE="COM"
    CLASS=APToolkit.Object
    NAME="TK">


<CFSET pdfpath = ExpandPath("test2.pdf")>


<CFSET r = TK.OpenOutputFile(#pdfpath#)>


<CFSET r = TK.OpenInputFile(ExpandPath("test.pdf"))>


<CFSET TK.SetFormFieldData("vendor",#vendor#,-998)>
<CFSET TK.SetFormFieldData("address1",#address1#,-998)>
<CFSET TK.SetFormFieldData("address2",#address2#,-998)>
<CFSET TK.SetFormFieldData("phone",#phone#,-998)>
<CFSET TK.SetFormFieldData("email",#email#,-998)>
<CFSET TK.SetFormFieldData("web",#web#,-998)>


<CFSET r = TK.CopyForm(0,0)>
<CFSET TK.CloseOutputFile()>


<CFOUTPUT>
<HTML>
<BODY TOPMARGIN=0 LEFTMARGIN=0 SCROLL=no>
<iframe height="550" width="100%" src=""> <http://indev/CFExamples/test2.pdf> " align="top"></iframe>
</BODY>
</HTML>
</CFOUTPUT>

-----Original Message-----
From: Chris Tilley [mailto:[EMAIL PROTECTED]
Sent: Monday, September 13, 2004 8:50 AM
To: CF-Talk
Subject: Re: Form Filling w/ activePDF Toolkit

Robert,

I am in the midst of doing this same thing for EPA.  Could you also
send me the sample code using Coldfusion?

Thanks much,
Chris

----- Original Message -----
From: Yexley Robert D Contr AFRL/PROE <[EMAIL PROTECTED]>
Date: Thu, 9 Sep 2004 15:09:52 -0400
Subject: RE: Form Filling w/ activePDF Toolkit
To: CF-Talk <[EMAIL PROTECTED]>

I have some samples of some code that I've used successfully with it.
I don't think I can include attachments to messages to the list, so
I'll send it to you directly.

<.YEX.>

-----Original Message-----
From: Tim Do [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 2:53 PM
To: CF-Talk
Subject: Form Filling w/ activePDF Toolkit

Does anybody have some sample code on how to do form filling using cf & sql?
I tried to email them but they said the only had asp samples.

Thanks,
Tim
  _____________________________________
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to