PrintDocument指定打印机问题?
我在用PrintDocument打印前显示一个printDialog对话框,然后取得用户所选择的打印机,再把获取的值斌给printDocument如:
PrintDocument1.DefaultPageSettings.PrinterSettings.PrinterName = PrintDialog1.PrinterSettings.PrinterName
PrintDocument1.PrinterSettings.PrinterName = PrintDialog1.PrinterSettings.PrinterName '设定打印机
为什么还是调用系统默认的打印机?
请问如何给PrintDocument指定打印机?
谢谢谢
[此贴子已经被作者于2007-1-4 17:25:35编辑过]