如何使用Word 2007打印双面部分(How to printing duplex sections with Word 2007)

编程入门 行业动态 更新时间:2024-10-14 16:24:06
如何使用Word 2007打印双面部分(How to printing duplex sections with Word 2007)

我有一个包含许多部分的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.

最满意答案

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

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

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

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

由于遗留要求,PCL5仍将在某个时间内得到支持。 我们的无数客户已将PCL5嵌入到大批量打印的中档应用中。 我的建议......坚持使用PCL5,只需找到支持它的设备。 在生产方面,它通常在单独的甚至是第三方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.

更多推荐

本文发布于:2023-08-01 21:23:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1365860.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何使用   Word   sections   duplex   printing

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!