在不同的打印机托盘上打印多页PDF [英] Print multipage PDF on different printer-trays

查看:115
本文介绍了在不同的打印机托盘上打印多页PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用FPDF通过PHP生成PDF.这很好.

I am generating a PDF by PHP with FPDF. This works well.

现在我想要什么:
在多页PDF中,所有页面都希望最后一页必须使用纸盘1中的纸张和纸盘2中的最后一页进行打印.

Now what I want:
From a multipage PDF all pages expect the last one have to print with paper from tray1 and the last page from tray2.

现在是问题:
这怎么可能?这是Acrobat Reader问题吗?可以使用JavaScript in PDF来完成吗?

Now the Question:
How is this possible? Is this a Acrobat Reader issue? Can it be done with JavaScript in PDF?

推荐答案

这是不可能的,因为PDF在打印机托盘上不包含任何信息或其他信息.实际上,它是通过客户端的打印机驱动程序在打印机说明中设置的,客户端驱动程序必须将此信息提供给客户端程序.如果您需要此功能进行批处理,则必须离开PHP并进入客户端,例如通过Acrobat SDK,您可以在其中提供此信息,例如通过 SetPageDevice-function

It is not possible, as PDFs do not contain any information on the printer trays or other information. It is actually set in the printer instructions through the client's printer driver, who has to provide this information to the client program. If you need this functionality for batch processing, you'd have to leave PHP and get on the client side, e.g. through the Acrobat SDK, in which you can give this information, e.g. on a PostScript printer via the SetPageDevice-function

这篇关于在不同的打印机托盘上打印多页PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆