Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need a code to create PDF's from a .txt files, but without using any 3rd party tool or dll.
Posted

Then self-start it: there is a free version of PDF ISO standard, see http://www.adobe.com/devnet/pdf/pdf_reference.html[^]. (Unfortunately, ISO provides the standard for a fee: http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51502[^].)

I would say, everything else should be considered as 3rd-party... ;-)

—SA
 
Share this answer
 
v2
If you are trying to create PDF generator, then it is a different thing. Otherwise do yourself a big favor. Don't Reinvent the Wheel. There are excellent 3rd party (for fee) as well as FREE PDF Generators out there. The time, the effort that will take you to come up on your own is not worth it.

If you change your mind let us know and we will recommend excellent PDF Generators.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 4-Feb-11 23:22pm    
You're right Yusuf, my 5.
By the way, do you know any good open source PDF library (I don't but I never needed any) to recommend?
I "pushed" to re-invent the wheel more to joke around the notion of the "3rd-party".
(Of course, there are more appropriate examples of the cases when re-inventing the wheel is good, for example, when available wheels are bad... PDF is not so appropriate one, for example, because the task looks soooo boring... :-)
--SA
Yusuf 5-Feb-11 8:32am    
I read about iTextSharp. It seems very good. I did look at it briefly few months back for a project I was doing, but it did not have all what I need and I end up going for 3rd party library. I used Syncfusion's PDF library to do my task.

We'd had very interesting customer requests and I ended solving it using PDF Forms, XML document and User Data. I though of writing an article about it, but I used 3rd party tool. If I get time, I am try to recreate it using iTextSharp, even though I know it has short coming.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900