gpt4 book ai didi

java - 通过 javax.print 打印时指定出纸盒/托盘

转载 作者:行者123 更新时间:2023-11-29 09:25:34 30 4
gpt4 key购买 nike

有没有办法选择在 Java 中打印时使用哪个出纸盒/托盘?有一个属性 MediaTray 允许您选择输入托盘,但我找不到允许您选择输出的属性。

最佳答案

除了MediaTray , 有一个 Destination打印服务 API 中的属性:

The Destination attribute allows you to redirect your print data to a file rather than sending it to a printer device.

希望对你有帮助。

关于java - 通过 javax.print 打印时指定出纸盒/托盘,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2401313/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com