Solved

Free PDF Component in CodeGear Delphi 2009

Posted on 2009-05-04
7
1,981 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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

759 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

23 Experts available now in Live!

Get 1:1 Help Now