Tobias Krais wrote:

> Hi together,
> 
> I wrote a little program and wonder about its behaviour. This java
> programm first sets the printer, then the printer tray and prints
> afterwards the pages I want. Printing is started with:
> xPrintable.print(printOpts)
> 
> Then my programm continues to set another printer tray, the same printer
> and prints some other pages with:
> xPrintable.print(printOpts)
> 
> Now something interesting happens: the second print request is just
> ignored! I can solve this problem by telling my programm to sleep for
> about 2 seconds after the first print is started and then continue with
> the second print.
> 
> Is this a bug or a feature?

I assume that you can call it a feature; to my knowledge we are not able
to queue printer requests. Instead of waiting for a fixed time you could
register a print listener to get notified when printing is done.

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to