批量打印 Adobe Illustrator
我的任务是打印一批插画文件。
有 8 个 AI 文档和 1 个 CSV 文件。在 CSV 文件中,我需要在打印之前在 AI 文档中更改一些信息。
实际上,我是通过使用 Visual Studio 中的 AI 参考并使用 doc.printOut() 来做到这一点,我的问题是它每个 printOut() 发送 1 个文件到打印机,而且速度不是那么快,我拥有的打印机越多,在打印机之间发送文档有更多延迟。
我想知道是否可以使用另一个库来打印它或使用该库中的另一个函数。甚至可能在 illustrator 中使用一些批处理操作,但我想这不会对性能产生太大影响,好吧,我不知道。
正在阅读此处的一些线程,发现 AI 文件几乎与 PDF 文件相同,也许在 C# 中加载 adobe PDF 参考中的文档将有助于打印速度更快?
有什么建议吗?
I have a task to print a batch of illustrator files.
There are 8 AI documents and 1 CSV file. In the CSV file there are info that I need to change in the AI document before printing.
Actually I am doing this by using the AI reference in Visual Studio and using doc.printOut(), my problem is that it sends 1 file per printOut() to the printer and it is not that fast, the more printers I have, the more delay to send the document between the printers.
I was wondering if I could use another library to print this or use another function from this library. Maybe even using some batch actions inside illustrator, but I guess that wouldn't change much in performance, Well, I don't know.
Was reading some threads here and saw that the AI file is nearly identical to a PDF file, maybe load the documents within a adobe PDF reference in C# would help to print faster?
Any tips please?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看 VBScript 参考对于
printOut()
我猜测 Illustrator 在启动给定的打印作业之前做了很多工作(PrintOptions
对象是一个选项集合,每个选项都有一个十几个不同的设置需要调整...不,谢谢)。我建议您将文件
SaveAs()
保存为 PDF,然后打印。 PDFSaveOptions 本身有一堆垃圾选项,但看起来(几乎?)所有这些选项都是可选的。Looking at the VBScript reference for
printOut()
I'm guessing that Illustrator does a lot of work before firing off a given print job (thePrintOptions
object is a collection of options each of which has a dozen or so different settings to twiddle... no thank you).I suggest you
SaveAs()
your file to PDF, and print that instead. PDFSaveOptions has a crap-load of options itself, but it looks like (almost?) all of them are optional.