PrintDialog.PrinterSettings.Copies = 4;
DialogResult result = PrintDialog.ShowDialog();
但副本显示仍然是1.我该怎么办?
1 个答案:
答案 0 :(得分:2)
通过将PrintSettings分配给PrintDialog的实例来执行此操作。
using (var printDialog = new PrintDialog())
{
var printSettings = new PrinterSettings {Copies = 4};
printDialog.PrinterSettings = printSettings;
printDialog.ShowDialog();
}