c#网站直接在c#上将文件打印到网络打印机/共享打印机/本地打印机/:
错误:访问打印机'printername'的设置无效c#
printDoc.PrinterSettings.PrinterName = @"http://192.168.1.2:9100/HP Ink Tank Wireless 410 series PCL-3";
//printDoc.PrinterSettings.PrinterName = "HP42309E (HP Ink Tank Wireless 410 series)";
printDoc.PrintPage += new PrintPageEventHandler(PrintPage);
m_currentPageIndex = 0;
printDoc.Print();