Skip to main content

Printing multiple documents with java print api or similar

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2013-07-26

I have been trying to print documents from within java using java print API to print the selected documents. A class with a set of images represents the document that is being printed. I supply the print job a book of such documents. The "book of documents" contains different instances of documents. I can see that the internal print method from java calls my print method in the document class. Yet I would have thought that the print method being called would reset the page index to 0 for every new document that gets called. Somehow this is not the case. I don't know why. I would like to know if there is a way to call the print method with a bunch of documents, whereby the page index is also taken into account!?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2013-09-21

I am also doing the same but still fail to do it not getting the exact reason behind it.