Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个使用javax.printand的应用程序icepdf。
javax.print
icepdf
当我尝试以黑白打印彩色 PDF 时,我的打印机总是以彩色打印...
我使用了这些属性:
printRequestAttributeSet.add(Chromaticity.MONOCHROME); hasDocAttributeSet.add(Chromaticity.MONOCHROME);
但是我的打印机仍然以彩色打印。
如何以黑白打印彩色pdf?