分配NumberOfCopies 屬性以告訴IronPrint在單個列印作業中應該產生多少份相同的文件。 這消除了在迴圈中呼叫列印方法的必要性,並讓印表機驅動程式能高效地處理排序。
請注意,在某些平台上,驅動程式可能無法支援指定的列印份數,並會預設為一份。 請務必在目標環境中進行測試,以確認對多副本的支援。 對於高容量場景——例如打印會議講義或倉庫揀貨單——此屬性顯著簡化了工作流程。
查看 IronPrint 的《印數設定指南》using IronPrint;
// Print three copies of the document
PrintSettings printSettings = new PrintSettings();
printSettings.NumberOfCopies = 3;
Printer.Print("form-document.pdf", printSettings);
Imports IronPrint
' Print three copies of the document
Dim printSettings As New PrintSettings()
printSettings.NumberOfCopies = 3
Printer.Print("form-document.pdf", printSettings)Imports IronPrint
' Print three copies of the document
Dim printSettings As New PrintSettings()
printSettings.NumberOfCopies = 3
Printer.Print("form-document.pdf", printSettings)分配NumberOfCopies 屬性以告訴IronPrint在單個列印作業中應該產生多少份相同的文件。 這消除了在迴圈中呼叫列印方法的必要性,並讓印表機驅動程式能高效地處理排序。
請注意,在某些平台上,驅動程式可能無法支援指定的列印份數,並會預設為一份。 請務必在目標環境中進行測試,以確認對多副本的支援。 對於高容量場景——例如打印會議講義或倉庫揀貨單——此屬性顯著簡化了工作流程。
查看 IronPrint 的《印數設定指南》NuGet 下載次數 52,427|版本:2026.11剛剛發布