The below code loads a string containing HTML into a tRichEdit, from whence it could be printed (or, using the tRichEdit.lines property, could be stripped into plain text). Haven't tried it, but looks pretty straightforward and since it has all source code, can be user-modified:
http://www.swissdelphicenter.ch/torry/showcode.php?id=1823 At 03:13 AM 4/17/2008, [EMAIL PROTECTED] wrote: >Hello list, > >Some time ago I wrote a help-desk application that was entirely >web/email based. Now a new manager is on board, and wants "hard copy" >as physical evidence that jobs are being completed. (apparently an >over-stuffed ring binder is more satisfying than tidy electronic >records, meh). > >Heres my problem, in order to get a neat printout of the thousands of >html comments, I have written a little app that displays the comment in >a tWebBrowser, then scrapes the text into a Quick Report Memo. This >means that I need a web server to run the query on. > >So, can one of you gurus tell me: >Is there any way I can read a file directly into a tWebBrowser? >OR >Is there a way to parse html into plain text (simple & cheap*) > >*free :o) > >Regards - Chris > >_______________________________________________ >Delphi mailing list -> [email protected] >http://lists.elists.org/cgi-bin/mailman/listinfo/delphi Regards, Sid Gudes PIA Systems Corporation [EMAIL PROTECTED] _______________________________________________ Delphi mailing list -> [email protected] http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

