Solved

Free PDF Component in CodeGear Delphi 2009

Posted on 2009-05-04
7
1,996 Views
Last Modified: 2012-05-06
I'm looking for a free component to create PDF-files in CodeGear Delphi 2009. I've tried with TNPDF ver. 2 made by K. Nishita, but Adobe Reader can't open the PDF-files generated by the example program, when I compile it myself. When running the precompiled exe-file instead, the PDF-files are made on opened in Adobe Reader without any problems.
0
Comment
Question by:MADOlsen
7 Comments
 
LVL 18

Accepted Solution

by:
Johnjces earned 168 total points
ID: 24296116
The only free pdf component set I have ever found was PowerPDF,

                               P o w e r P d f
                             Version 0.9 (beta)
                1999-2001 Copyright (c) takeshi kanno
                       takeshi_kanno@est.hi-ho.ne.jp
http://www.torry.net/vcl/vcltools/unitsconversion/powerpdf.zip

... and I do not know if it would compile under D9.

Even if you could get the TnPDF component to work, the colors were all way off! Some major rewriting in getting the RGB pallettes to look and function correctly.

GhostScript, an OpenSource project, creates PDFs and I have seen some some code on SourceForge, I believe, for some comps for Delphi.
http://www.ghostscript.com/
http://sourceforge.net/projects/ghostscript/
http://pages.cs.wisc.edu/~ghost/doc/gsapi.htm

Good luck!

John
0
 
LVL 26

Assisted Solution

by:EddieShipman
EddieShipman earned 166 total points
ID: 24297023
Ghostscript is the way to go, unless you want to embed a PHP interpreter and do it using the PHP PDF functions.
0
 
LVL 18

Expert Comment

by:Johnjces
ID: 24318176
Did this help you?

John
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Assisted Solution

by:Zozze
Zozze earned 166 total points
ID: 24380313
http://libharu.sourceforge.net/ This one might work out for you.
It uses a thirdparty .dll and is  free.

Hope this is what you seek.
0
 

Author Comment

by:MADOlsen
ID: 34332409
Ooops, apparently I am becoming senile, since I forgot to answer my own question... Sorry guys!
I ended up rewriting the DelphiTwain-library (made by Gustavo Daud), to make it support unicode, which it did't.  
Thanks for your help everyone!
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 34358910
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Why does formely good SQL code in Delphi 2009 not work under Windows 10? 5 87
TVirtualStringTree  search using TEdit 7 106
oracle global variables 4 63
Delphi 2 49
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now