Re: Dispatcher: \".uno:Print\" wait for print job to finishlocalhost/
Mathias Bauer <[email protected]> Mon, 02 May 2011 13:10:18 +0200
| Newsgroups | gmane.comp.openoffice.devel.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Darwin, On 01.03.2011 22:55, Darwin Whaley wrote: > Hello, Mathias! > > I saw your response for this issue > (http://www.mail-archive.com/[email protected]/msg11443.html) while > investigating new behavior in OpenOffice.org 3.3. This URL indicates > that the "uno:print" call is no longer synchronous: > > http://www.oooforum.org/forum/viewtopic.phtml?t=115035 > > I hoped that passing "Asynchron" and Boolean.FALSE in the properties > object might solve this problem, but it does not. There has been no > response to the developer in the above URL. Are you aware of this new > behavior, and how applications using the OpenOffice.org API are now > supposed to determine if a print job is successful? The new asynchronicity is not introduced by the dispatcher but by the printing process itself. The same could happen to you even before, depending non the operating system and the printer. The only way to find out about the successfull of a printing process is using a PrintJobEventListener. Regards, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Oracle: 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 send email to [email protected] For additional commands send email to [email protected] with Subject: help