Solved

Free PDF Component in CodeGear Delphi 2009

Posted on 2009-05-04
7
2,006 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

770 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