I filed an issue for this: http://api.openoffice.org/issues/show_bug.cgi?id=96402
Please consider voting for it, thanks. On Wed, Nov 12, 2008 at 9:50 PM, Grover Blue <[EMAIL PROTECTED]> wrote: > Forgive my ignorance, but I thought that all print options were Open Office > defined. PrintRequestAttribute is for Java printing, not Open Office, > right? > > On Mon, Nov 10, 2008 at 1:48 PM, James <[EMAIL PROTECTED]> wrote: > >> On Mon, November 10, 2008 1:36 pm, Grover Blue wrote: >> > I'm doing some batch printing of Writer templates in Java, and I need to >> > specify duplex for some items. Is there any way to specify duplex >> > printing in the printer options for an XPrintable (or maybe it's XStyle >> > since that's what the "PrinterPaperTray" option is available to)? I >> can't >> > find anything. The printer for the template documents is set dynamiclly >> > in Java, so any kind of dulpex setting made through Printer Setting is >> > irrelevant. >> > >> > Thanks >> > >> > >> >> So you need Java: >> >> PrintRequestAttribute examples >> >> * Sides class >> o Single or two sided printing. >> o Closed enumeration >> o ONE_SIDED >> o TWO_SIDED_LONG_EDGE >> + Same as DUPLEX >> o TWO_SIDED_SHORT_EDGE >> + Same as TUMBLE >> >> http://java.sun.com/products/jfc/tsc/articles/javaOne2001/595/index.html >> >> >>
