tags:

views:

250

answers:

4

I want to write some String data to a pdf file programmatically, i want to know what are the C libraries that i have to use and how to use them

+4  A: 

The Haru library, on sourceforge. We have had good experience with it.

radim
+5  A: 

There's libHaru and PDFlib.

Laurent Parenteau
Oops, didn't see that the Haru library was already suggested!
Laurent Parenteau
Good that you provided the link. Other people also seem to like libHaru.
sventech
A: 

PoDoFo is a good option. Here is a discussion listing libraries for C/C++ languages.

sventech
Unfortunately, PoDoFo is C++. The question was for a C library
Laurent Parenteau
A: 

Yes, you can use C++ or C or any text processing language to create PDF files. The preferred method is to go to Adobe PDF Website and get a book or the specification for the latest version of PDF. They own the language, so they are the official starting place.

Thomas Matthews
They do not own the PDF specification, it is an ISO standard, and anyone and everyone is allowed to use it.
Rowan