Qreports干不了这活!
html文档用Webbrowser来显示,打印,保存.
webbrowser打印与保存
procedure TForm1.Button1Click(Sender: TObject);//浏览
begin
webbrowser1.Navigate('http://www.163.com');
end;
procedure TForm1.Button2Click(Sender: TObject);
//打印
begin
webbrowser1.ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER);
end;
procedure TForm1.Button3Click(Sender: TObject);
//保存
begin
webbrowser1.ExecWB(OLECMDID_SAVEAS,OLECMDEXECOPT_PROMPTUSER);
end;