i have done the same thing, the problem is that you can not save the file with the dynamic data in the form fields unless you have the full version of acrobat, otherwise that method works fine.
--- Tom Nunamaker <[EMAIL PROTECTED]> wrote: > I was looking at the code ( I wrote this several > years ago ) and I was > creating the FDF file and redirecting the user to > it. It wasn't a PDF I > was creating.. sorry.. problem of getting older.. > the RAM goes.. :) > > The basic plan was save the FDF file from Acrobat > Pro and use CFFILE to > create a new one with the form fields filled in. > > Tom > > ========================================= > > <cffile > action="WRITE" > file="#tempfilename#" > output="%FDF-1.2 > %���� > 1 0 obj > << > /FDF << /Fields [ << /T (2ndAlternate)/V > (#getdetails.alternate2nd#)>> > << /T (Addressees)/V (#variables.addressees#)>> > << /T (AircraftHomeStation)/V > (#getdetails.aircrafthomestation#)>> << /T > (AircraftIdentification)/V > (#getdetails.AircraftIdentification#)>> << /T > (AircraftSerialNum1)/V > (#getdetails.AircraftSerialNum1#)>> > << /T (AircraftSerialNumber2)/V > (#getdetails.aircraftserialnum1#)>> << > /T (AltnAerodrome)/V (#getdetails.AltnAerodrome#)>> > << /T (Comm1)/V (#variables.comm1#)>> << /T > (Comm2)/V > (#variables.comm2#)>> << /T (Comm3)/V > (#variables.comm3#)>> > << /T (Comm4)/V (#variables.comm4#)>> << /T > (Cover1)/V > (#variables.cover1#)>> << /T (CrewListLocation)/V > (X)>> > << /T (CrewListLocationDesc)/V > (#getdetails.CrewListLocationDesc#)>> << > /T (CrusingSpeed)/V (#variables.cruisingspeed#)>> > << /T (DepartureAerodrome)/V > (#getdetails.DepartureAerodrome#)>> << /T > (Desert)/V (#variables.Desert#)>> > << /T (DestinationAerodrome)/V > (#getdetails.DestinationAerodrome#)>> << > /T (EquipB)/V (#getdetails.EquipB#)>> << /T > (Equipment1)/V > (#getdetails.Equipment1#)>> > << /T (filingtime)/V (#variables.filingdatetime#)>> > << /T > (FlightRules)/V (#getdetails.FlightRules#)>> << /T > (Flourescent)/V > (#variables.Flourescent#)>> > << /T (Fuel)/V (#getdetails.Fuel#)>> << /T > (Global)/V > (#variables.Global#)>> << /T (Jackets)/V > (#variables.Jackets#)>> > << /T (Jungle)/V (#variables.Jungle#)>> << /T > (Level)/V > (#getdetails.flightlevel#)>> << /T (Light)/V > (#variables.Light#)>> > << /T (Maritime)/V (#variables.Maritime#)>> << /T > (MyNumber)/V > (#getdetails.FORMATIONNUM#)>> << /T (Originator)/V > (E H X X U S A F)>> > << /T (OtherLine1)/V (#variables.OtherLine1#)>> << > /T (OtherLine2)/V > (#variables.OtherLine2#)>> << /T (OtherLine3)/V > (#variables.OtherLine3#)>> > << /T (OtherLine4)/V (#variables.OtherLine4#)>> << > /T (OtherLine5)/V > (#variables.OtherLine5#)>> > << /T (OtherLine6)/V (#variables.OtherLine6#)>> << > /T (OtherLine7)/V > (#variables.OtherLine7#)>> > << /T (OtherLine8)/V (#variables.OtherLine8#)>> << > /T (PAXList)/V (X)>> > << /T (PAXListLocationDesc)/V > (#getdetails.PAXListLocationDesc#)>> > << /T (PIC)/V (#getdetails.PIC#)>> << /T (POB)/V > (#getdetails.POB#)>> << > /T (Polar)/V (#variables.Polar#)>> > << /T (RadioFrequency)/V (#getdetails.ljradio#)>> << > /T (Remarks)/V > (#getdetails.rmks2#)>> > << /T (RMKs)/V (#getdetails.rmks3#)>> << /T > (RouteLine1)/V > (#variables.RouteLine1#)>> << /T (RouteLine2)/V > (#variables.RouteLine2#)>> > << /T (RouteLine3)/V (#variables.RouteLine3#)>> << > /T (RouteLine4)/V > (#variables.RouteLine4#)>> > << /T (RouteLine5)/V (#variables.RouteLine5#)>> << > /T (RouteLine6)/V > (#variables.RouteLine6#)>> << /T (RouteLine7)/V > (#variables.RouteLine7#)>> > << /T (Time)/V > (#TimeFormat(getdetails.departureeobt,'HHmm')#)>> << > /T > (TotalEET)/V (#getdetails.TotalEET#)>> << /T > (TypeOfAircraft)/V > (#getdetails.TypeOfAircraft#)>> > << /T (TypeOfFlight)/V (#getdetails.TypeOfFlight#)>> > << /T > (WakeTurbulence)/V (#getdetails.WakeTurbulence#)>> ] > > /F (http://#webdomain#/ic/dd1801.pdf)/ID [ > (eJ?\336\016\333\363U\017\036\004\375\234\025\337\240)(\210D\335\201'\23 > 5\bM\355\201\007\204\250t\004\351) > ] >> > >> > endobj > trailer > << > /Root 1 0 R > > >> > %%EOF"> > <cflocation url="#tempwebpagename#"> > > ===== Anthony C. Frey 214-529-1507 [EMAIL PROTECTED] __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com ---------------------------------------------------------- To post, send email to [EMAIL PROTECTED] To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm
