Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Binary Read an FDF

Status
Not open for further replies.

GIGN

Programmer
Oct 6, 2000
1,082
NZ
I have a pdf form which submits to ASP.

I want to be able to take an entire fdf submission, and save as a file.

This way I do not have to do any form parsing, this is good because there is 12 pages of form fields. The client can then come along - download the fdfs and open them in Acrobat Reader.

I am using ADOStream to write the Binary Stream, the only problem am running into is getting the Binary data from the fdf formatted submission.

any ideas?

<bb/>
 
I managed to work out a solution, it goes as follows:

1. Write the Binary data straight to ADODB.Stream object
2. Use saveToFile to save the fdf file to server.

It turned out I could jsut take the data straight from the form, no parsing out of additional data is required. The resulting fdf file when opened with the original pdf, has all the data fields filled in.

<bb/>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top