procedure TForm1.Button1Click(Sender: TObject); begin WebBrowser.ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER); end;