Afraid I just had nothing useful to add... maybe you asked a question which no one knew the answer to?
 
David.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Myles Penlington
Sent: Thursday, 17 June 2004 1:00 PM
To: 'NZ Borland Developers Group - Delphi List'
Subject: RE: [DUG] PDF's and form filling.

I noticed there was no replies ... Has everybody left this list for the dotnet lists instead?
 
I just the last hour I have found this site -   http://www.sedtech.com/isedquickpdf/
 
which appears to be exactly what I need - actually found it through http://forum.planetpdf.com/wb/default.asp
which has lots of useful info on PDF's.
 
Myles
-----Original Message-----
From: Paul A Norman [mailto:[EMAIL PROTECTED]
Sent: Thursday, 17 June 2004 12:26
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] PDF's and form filling.

Well as nothing else seems to have surfaced so far ..
 
Not so sure on genreally blindly reediting an existing PDF unmonitored, on the fly, unless you could be very very sure of field data lengths, page shapes could change drasitically etc .. or if you truncated data lengths you might end up with nonsensical additions.
 
I have been looking at these components
PDF N MORE for  for COM
 AND
PDF N MORE for .NET  is a .NET
 
library for generating digital documents on the fly from any .NET application. You can use PDF N MORE for .NET  to create virtually any document in Adobe Portable Document Format (PDF), Extensible Markup Language(XML), Hypertext Markup Language (HTML), Microsoft Word Format (Doc), Microsoft Excel Format (XLS), BMP, JPEG, PNG, GIF, TIFF, EMF, WMF or Exif, complete with fonts and graphics. Other users can view your work on Microsoft� Windows, Mac� OS, LINUX, and UNIX� platforms.
PDF N MORE for .NET  does not require any additional software other than the .NET runtime. PDF N MORE for .NET  follows the GDI+ model, thus reducing the learning time and increasing productivity. PDF N MORE for .NET  can be used both from WinForms and WebForms (ASP.NET) applications without any restrictions.
Using PDF N MORE for .NET  you can now give Save As option in your application to create digital documents in PDF, XML, HTML, Doc, Excel, BMP, JPEG, PNG, GIF, TIFF, EMF, EMF or Exif format.
PDF N MORE for .NET source code is available at extra cost.

Also
 
http://www.gnostice.com/edoc_engine_x.asp say that they support ASp and .net asp Pdf generation.

And

http://www.pdftron.com/net/

PDFNet is a high-quality, industry-strength PDF library meeting requirements of the most demanding and diverse applications. Using PDFNet you can write stand-alone, cross-platform and reliable commercial applications that can read, write, and edit PDF documents.

PDFNet is offered on a wide range of platforms (e.g. Windows, Mac, Linux) and programming environments (C/C++, C#, VB, J#, and other .Net languages).


I've seen a few more USA based components for sale but they seemed a bit expensive.
 
In PhP you could use a php template (by it's self would generate your original PDF), the template holds the general nature of the final PDF and then you would actually as you describe it "mail merge' it back to the client.
 
Any kind of simplistic string replacement you could come unstuck with the PDF's internals and any internal reference / byte counting mechanisms in the PDF especially ifyou cause page bleed.
 
If nothing else turns up ... 

 
Freebie with sources (may need to customise or add a feature or two for pdf)  written by T.K.Cham who did a lot of stuff on PDF and Delphi early 2000 and in 1999.
 
He uses an HTML like script that then converts to PDF, could well lend itself to server applications. It would mean designing your template PDF in Chams script like HTML with database markers where you want the varible text in, and using simple substitution procedures perhaps prior to  converting to PDF.
 
A virtual mail merge if you like.

PowerPdf
"The PowerPdf is a VCL to create PDF docment visually. Like QuickReport, you can design PDF document easily on Delphi IDE."

Apparently there is a non-visual unit which will even work with Kylix. That might lend itself to ASP development.

Po w e r P d f Version 0.9 (beta) 1999-2001 Copyright (c) by Takeshi
Kanno states that it is a

"free software based on LGPL. You can use or
modify it under the
GNU Library general Public License."

It's source code might be useful if nedeing to follow the idea up.

http://www.est.hi-ho.ne.jp/takeshi_kanno/powerpdf/

 

----- Original Message -----
Sent: Wednesday, 16 June 2004 4:25 p.m.
Subject: [DUG] PDF's and form filling.

Hi,
We need to be able to mail merge a PDF document. Anybody know of components to do this?
 
Ie we have a PDF document and we need to merge data, and produce another PDF document to send back to the users web page.
 
All suggestions welcome.
 
This is actually a web server app (ASP).
 
Myles.
 
 


_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi


_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to