I Need To Print Web Pages As They appear Onscreen
Posted on 1997-05-09
I'm currently using a program that runs on Delphi2, and this program contains an ActiveX Internet Browser tool that lets the user view web pages on the WWW. I've built a "Print" option to allow the user to print any web-page he/she likes, but at the moment all I'm getting is the source code being printed out, is there anyway I could print the web-page as it appears on the screen rather than the source code ???.... here's the procedure I'm using, any suggestion would be greatly appreciated.....
procedure TfrmWebMain.Print1Click(Sender: TObject);
if printdialog1.execute then begin
// Writeln(MyFile, DocSourceFrm.Memo1.Lines);