ok, i ended up configuring a second printer with a default setting of
duplex.  The problem with this solution is that when a document queues to
another print spool, the order of printing is not guaranteed.


For instance, if I print the following documents through the API in the
below order:

Document01 - Printer_Simplex
Document02 - Printer_Simplex
Document03 - Printer_Simplex
Document04 - Printer_Simplex
Document05 - Printer_Duplex
Document06 - Printer_Simplex
Document07 - Printer_Simplex

then that's the order I need them to print on the physical device.

However, they end up printing this way:
Document01 - Printer_Simplex
Document02 - Printer_Simplex
Document03 - Printer_Simplex
Document04 - Printer_Simplex
Document06 - Printer_Simplex
Document07 - Printer_Simplex
Document05 - Printer_Duplex


Which is wrong.  Dead wrong.


Is there a way to poll submitted print requests (via open office) in order
to pause processing until the duplexed item has printed?

Perhaps there is a spool setting available in windows where the network
printers are defined.



On Tue, Nov 25, 2008 at 2:34 PM, Grover Blue <[EMAIL PROTECTED]> wrote:

> 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
>>>
>>>
>>>
>


-- 
"If the American people ever allow private banks to control the issue of
their currency, first by inflation, then by deflation, the banks...will
deprive the people of all property until their children wake-up homeless on
the continent their fathers conquered... The issuing power should be taken
from the banks and restored to the people, to whom it properly belongs."
-- Thomas Jefferson

"Government big enough to supply everything...is big enough to take
everything you have. The course of history shows that as a government grows,
liberty decreases" --- Thomas Jefferson

www.CampaignForLiberty.org

Reply via email to