PrintJobSettings printJobSettings; PrintJobSettings printJobSettings2; Boolean ok; container packPrintInfo; ; printJobSettings = new printJobSettings(); ok = printJobSettings.printerSettings(formstr(SysPrintForm), null,null,0); //显示打印设定对话框 if( ok) { packPrintInfo = printJobSettings.packPrinterSettings(); printJobSettings2 = new PrintJobSettings( packPrintInfo,true); }
效果如图示
posted on 2016-08-19 14:45 阅读( ...) 评论( ...)