FastReport.Net使用:[1]屏蔽打印对话框

在FastReport.Net中如何设置默认的打印机,并在打印时直接调用默认打印机进行打印?避免在打印时每次弹出打印机设置对话框的烦扰。

工具/原料

  • FastReport.Net

如何设置默认打印机

  1. 1

    在FastReport设计界面找到File->Printer Setup菜单,运行该菜单显示“打印机设置”对话框。在打印机(Printer)列表中选择默认打印机,并勾上“save the printer in the report file”选项,将该打印机保存在报表文件中,下次打印时将默认选择该打印机。

    FastReport.Net使用:[1]屏蔽打印对话框
    FastReport.Net使用:[1]屏蔽打印对话框
  2. 2

    打印时,打印机将显示为设置的默认打印机。

    END

如何屏蔽打印对话框2

  1. 1

    显示Report Tree,View->Report Tree。

    在Report Tree中选中Report结点。

    FastReport.Net使用:[1]屏蔽打印对话框
  2. 2

    将Report结点的PrintSettings中ShowDialog属性设置为False。

    FastReport.Net使用:[1]屏蔽打印对话框
  3. 3

    打印时将直接调用默认打印机直接打印,而不再弹出“打印(Print)”对话框。

    FastReport.Net使用:[1]屏蔽打印对话框