Is it possible to merge multiple pdf pages to one sheet of pdf and print in java?

北战南征 提交于 2020-02-06 18:02:22

问题


I am trying to create Java program, which can read multiple pdf files and merge them into a single pdf file. Then print the PDF but while printing i need to merge multiple pdf pages in a single page and print. Even if it is a new pdf created, that is fine for me. I need some open source java pdf manipulation library to handle this. I know one solution is while printing, select multiple printing option for muliple pages to one sheet. But the printer i can access doesn't have such capabilities. Can anybody suggest some solution for this or is it possible in any other programming language?


回答1:


You can use Itext pdf library to get this job done.



来源:https://stackoverflow.com/questions/58422720/is-it-possible-to-merge-multiple-pdf-pages-to-one-sheet-of-pdf-and-print-in-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!