L
lbt
Unregistered / Unconfirmed
GUEST, unregistred user!
各位高手,鄙人在学习时遇这如下问题,请您们帮帮忙,我将我的全部积分奉上.
打印报表A
frxReport1.LoadFromFile(extractfilepath(application.ExeName) + '单据样式/企业经营报表.fr3',true);
MyIni:=TIniFile.Create(extractfilepath(application.ExeName)+'printset.INI');
frxReport1.PrintOptions.Printer:=MyIni.ReadString('printer','xsfxprint','');
frxReport1.SelectPrinter;
frxReport1.ShowReport;
打印报表B
frxReport1.LoadFromFile(extractfilepath(application.ExeName) + '单据样式/批发单.fr3',true);
MyIni:=TIniFile.Create(extractfilepath(application.ExeName)+'printset.INI');
frxReport1.PrintOptions.Printer:=MyIni.ReadString('printer','xsfxprint','');
frxReport1.SelectPrinter;
frxReport1.ShowReport;
打印报表A后,再打印报表B,此时打印报表B时他会使用报表A的纸张页面.报表A和报表B设置的使用纸张大小是不一样的.我已经试了二天了还是没有解决掉.请各位高手一定要帮帮小弟啊.我使用的Frxreport3.0版的.
打印报表A
frxReport1.LoadFromFile(extractfilepath(application.ExeName) + '单据样式/企业经营报表.fr3',true);
MyIni:=TIniFile.Create(extractfilepath(application.ExeName)+'printset.INI');
frxReport1.PrintOptions.Printer:=MyIni.ReadString('printer','xsfxprint','');
frxReport1.SelectPrinter;
frxReport1.ShowReport;
打印报表B
frxReport1.LoadFromFile(extractfilepath(application.ExeName) + '单据样式/批发单.fr3',true);
MyIni:=TIniFile.Create(extractfilepath(application.ExeName)+'printset.INI');
frxReport1.PrintOptions.Printer:=MyIni.ReadString('printer','xsfxprint','');
frxReport1.SelectPrinter;
frxReport1.ShowReport;
打印报表A后,再打印报表B,此时打印报表B时他会使用报表A的纸张页面.报表A和报表B设置的使用纸张大小是不一样的.我已经试了二天了还是没有解决掉.请各位高手一定要帮帮小弟啊.我使用的Frxreport3.0版的.