分配NumberOfCopies属性,以告诉IronPrint在一次打印作业中应生成多少份相同的文件。 这消除了在循环中调用 print 方法的必要,并让打印机驱动程序能够高效地处理排序。
请注意,在某些平台上,驱动程序可能无法满足请求的打印份数,并将默认打印一份。 请务必在目标环境中进行测试,以确认对多副本的支持。 在大量打印的场景下(例如打印会议资料或仓库拣货单),此功能可显著简化工作流程。
查看 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)分配NumberOfCopies属性,以告诉IronPrint在一次打印作业中应生成多少份相同的文件。 这消除了在循环中调用 print 方法的必要,并让打印机驱动程序能够高效地处理排序。
请注意,在某些平台上,驱动程序可能无法满足请求的打印份数,并将默认打印一份。 请务必在目标环境中进行测试,以确认对多副本的支持。 在大量打印的场景下(例如打印会议资料或仓库拣货单),此功能可显著简化工作流程。
查看 IronPrint 的《副本数量操作指南》Nuget Downloads 46,090|版本:2026.9刚刚发布