2015-10-11 234 views

回答

-1

您可以嘗試此設置默認打印機。

using System.Configuration; 

System.Drawing.Printing.PrinterSettings pagina = new System.Drawing.Printing.PrinterSettings(); 
      pagina.PrinterName=ConfigurationSettings.AppSettings["textBox_ImpNOMBRE"];//default printer name 
//ADD OTHER CONFIGURATIONS SETTINGS 
     reportViewer1.PrinterSettings = pagina; 
相關問題