IRONSOFTWAREHOME
设置副本数量
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)
NuGet Download
PM > Install-Package IronPrint
设置副本数量

设置副本数量

分配NumberOfCopies属性,以告诉IronPrint在一次打印作业中应生成多少份相同的文件。 这消除了在循环中调用 print 方法的必要,并让打印机驱动程序能够高效地处理排序。

请注意,在某些平台上,驱动程序可能无法满足请求的打印份数,并将默认打印一份。 请务必在目标环境中进行测试,以确认对多副本的支持。 在大量打印的场景下(例如打印会议资料或仓库拣货单),此功能可显著简化工作流程。

查看 IronPrint 的《副本数量操作指南》

准备开始了吗?

Nuget Downloads 46,090版本:2026.9刚刚发布

Key in blue circle

立即获取免费的 30 天试用版密钥

Your trial license will be sent to your email address

无任何限制。100% 解锁。无需信用卡。

bullet_checked无需信用卡或创建账户无任何限制。100% 解锁。无需信用卡。
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
预约您的免费现场演示
Booking Badge

深受全球数百万工程师信赖

Iron Software 的客户徽标
获取您的无义务咨询
填写下面的表格或通过sales@ironsoftware.com
您的资料将始终保密。
深受全球数百万工程师信赖
Iron Software 的客户徽标
立即获取您的免费30 天试用密钥
无需信用卡或创建账户