On sourceforge there is a set of code that will produce a PDF and I use it to generate pretty much what you are doing, although I dont use a file, but input the text manually....but you could read each line in and do the same. Its pretty simple. I will email you the link from work tomorrow.
Jeremy -----Original Message----- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of John Bird Sent: Wednesday, 3 August 2011 20:00 To: NZ Borland Developers Group - Delphi List Subject: [DUG] Produce PDF from text file Using D2007 and Rave reports - should be easy to produce a PDF version of a text file report. The reports need to be printed using a non-proportional font, which is why I would like to use PDF rather than Notepad (which is often set to display in proportional fonts and users do not know how to change it). Anyone have sample code/examples? John _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe