如何使用 Word 2007 打印双面部分

发布于 2024-09-06 09:47:25 字数 230 浏览 6 评论 0原文

我有一个包含许多部分的 Word 2007 文档。每个部分都使用该部分第 1 页标题中的 PCL5 转义码来启用/禁用双工。

PCL5 打印机越来越少,尤其是大容量/容量的打印机。

是否有等效的通用代码可以用来代替打印机特定代码?

或者有您知道的 PCL6 代码吗?

或者是否有适用于 Word 2007 的 Postscript 解决方案?

任何帮助将不胜感激。

I have a Word 2007 document with many sections. Each section enables / disables duplex using a PCL5 escape code in the header on page 1 of the section.

PCL5 printers are getting rarer, especially high volume / capacity ones.

Is there an equivalent generic code that could be used instead of a printer specific code?

Or is there a PCL6 code that you know of?

Or is there a postscript solution that would work with Word 2007?

Any assistance would be gratefully appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

洋洋洒洒 2024-09-13 09:47:25

PCL5 打印机仍然无处不在,甚至在生产方面也是如此(有时您需要购买一个选项)。 PCL6 有一个编译流,因此您不能仅添加代码。至于 Postscript,您也许可以,但它是将在打印机上执行的应用程序的源代码,因为这种结构和插入调用的位置有时很重要。

这是PCL5的好处之一,您可以随时随地轻松插入命令。

有了 Postscript,您也许能够;但是,它可能会作为“要打印的文本”的一部分插入并简单地显示在页面上。有些设备有自己的双工代码,因此您需要“打印到文件”来确认您的设备使用情况,但它可能看起来像这样:“<< /Duplex true >> setpagedevice”

我必须这样做过去在 Postscript 中有类似的东西,我所做的就是在每个页面上输入一些独特的文本,需要插入专门的命令。然后,我使用 Redrun 通过 Redmon 进行打印,以执行我编写的命令行工具,该工具解析该字符串并将命令插入到正确的位置。 Redmon 有点旧,但我们那里有类似的工具,包括简单的打印到文件并在之后手动执行该工具。这样做使我能够控制在文件中插入 Postscript 命令的位置。

由于遗留要求,PCL5 仍将在一段时间内受到支持。我们的无数客户已将 PCL5 嵌入到其大批量打印的中端应用程序中。我的建议...坚持使用 PCL5 并简单地找到支持它的设备。在制作方面,无论如何,它通常是在单独的甚至是第 3 方 RIP 中完成的,其中大部分应该在输入上支持 PCL。

另一种选择可能是插入您现在使用的相同打印命令,并编写一个在该部分中插入空白页的宏,以补偿您想要打印单面的情况。纸张仍会在打印机内翻转,从而降低性能,但可能会产生相同的结果。

PCL5 printers are still everywhere, even on the production side (sometimes an option you need to buy though). PCL6 has a compiled stream so you can't just add in a code. As for Postscript, you might be able to but it's source code for an application that will be executed on the printer, as such structure and where calls are inserted is sometimes important.

This is one of the benefits of PCL5, that you can simply insert commands with ease at anytime, at any place.

With Postscript, you might be able to; however, it might be inserted as part of the 'text to print' and simply show up on the page. Some devices have their own codes for duplex so you'll want to 'print to file' to confirm your device usage but it might look something like this: "<< /Duplex true >> setpagedevice"

I had to do something similar in Postscript in the past and what I did was enter some unique text on each page that needed a specialized command inserted. I then printed through Redmon using Redrun to execute a command line tool I wrote that parsed the string and inserted the command at the proper location. Redmon is a little old but there are similar tools our there including a simple print to file and execute the tool manually after. Doing this allowed me to control where in the file I inserted the Postscript commands.

PCL5 will still be supported for sometime due to legacy requirements. Countless clients of ours have embedded PCL5 in their mid-range applications printing large volumes. My recommendation...stick with PCL5 and simply find devices that support it. On the production side its usually done in a separate or even 3rd party RIP anyways, the bulk of which should support PCL on the input.

Another option might be to insert the same print command you are using now and write a macro that inserted blank pages within that section to compensate for your want to print simplex. The paper would still flip inside the printer slowing your performance but could produce the same result.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文