"collated" printing with OpenJDK on Linux/CUPS

Marc Logemann ml at logemann.org
Wed Dec 16 04:37:48 PST 2009


Hi,

recently we ported our product to linux and used OpenJDK for our tests. We encountered a strange problem with printing document with multiple copies.
When printing a document with 2 pages and 2 copies (A and B), we get A1, B1, A2, B2. So, we get a uncollated order.

On Windows with SUN JDK, it was enough to write:

printRequestAttributeSet.add(SheetCollate.COLLATED);

now with OpenJDK on Linux/CUPS we also placed:

printRequestAttributeSet.add(MultipleDocumentHandling.SEPARATE_DOCUMENTS_COLLATED_COPIES);

to our print job without any difference. It just stays uncollated.

Does anyone have an idea whats going on there? if there is a different subproject maillist for this kind of topic, please tell me. I ve not found anything.

thx

---
regards
Marc Logemann
http://www.logemann.org
http://www.logentis.de






More information about the jdk6-dev mailing list