摘要:
使用PrintDialog控件,直接调用如printDialog1.ShowDialog();方法,就会出现打印对话框,列出本地的打印机了。 下面的代码是用PrinterSettings读出所有本地安装的打印机并添加到列表框printerList中: PrintDocument prtdoc = new PrintDocument(); string strDefaultPri... 阅读全文
posted @ 2011-01-04 17:31 汪日平 阅读(740) 评论(0) 推荐(0)
浙公网安备 33010602011771号