Unigui

1,证件相关中加入员工证打印

2,利用FR导出功能,导出报表到服务器pdf/jpg,然后在浏览器进行加载!

3,功能预览地址http://ehr.kopsoft.cn?url=TUniFrame_hr_user_sgz

 

免费人力资源管理软件,免费Mes系统,免费仓库管理软件WMS 

frxDBDataset1.DataSet:=t_q;

 

frxPDFExport1.FileName:=UniServerModule.NewCacheFileUrl(False, \'pdf\', \'\', \'\', AUrlPdf, True);

 

frxJPEGExport1.Resolution:=200;
frxJPEGExport1.SeparateFiles:=False;
frxJPEGExport1.FileName:=UniServerModule.NewCacheFileUrl(False, \'jpg\', \'\', \'\', AUrlJpg, True);

frxrprt1.PrepareReport;
frxrprt1.Export(frxPDFExport1);
frxrprt1.Export(frxJPEGExport1);

AppMainForm.ReportFileUrl_Jpg:=AUrlJpg;
AppMainForm.ReportFileUrl_Pdf:=AUrlPdf;

AppMainForm.OpenForm(\'TUniFrame_App_Print\',\' 打 印 \');

 

 

 


procedure TUniFrame_App_Print.UniFrameCreate(Sender: TObject);
begin
UniPDFFrame1.PdfURL:=AppMainForm.ReportFileUrl_Pdf;
UniURLFrame1.URL:=AppMainForm.ReportFileUrl_Pdf;
UniURLFrame_Jpg.URL:=AppMainForm.ReportFileUrl_Jpg;
unpgcntrl1.ActivePageIndex:=0;
end;

分类:

技术点:

相关文章:

  • 2022-02-01
  • 2021-08-21
  • 2021-08-23
  • 2021-12-28
  • 2021-11-27
  • 2021-10-23
  • 2021-05-25
猜你喜欢
  • 2022-02-19
  • 2021-12-03
  • 2021-08-14
  • 2021-08-18
  • 2021-12-10
  • 2021-09-25
  • 2022-02-12
相关资源
相似解决方案