Hi Tobias, We have tried exactly what you laid out and it does not work for us, OpenOffice hangs regularly. This is why I want to take the most out possible. What are the minimum objects I need to enable printing and how to I interface with them?
Daniel > -----Original Message----- > From: Tobias Krais [mailto:[email protected]] > Sent: February 18, 2009 3:25 PM > To: [email protected] > Subject: Re: [api-dev] Xprintable getPrinter returns a zero > length sequence > > Hi Daniel, > > > The reason I am trying to do it this way is that we need to > print or > > convert thousands of documents each month and when I create a Model > > Frame and Controller, OpenOffice inevitablly hangs after a short > > while, probably something to do with threading in > OpenOffice and maybe finalizers in java. > > I have the same problem. This is how I solved it: > 1. I bootstrap OpenOffice.org, > 2. open a document and convert it and > 3. close the document. > 4. Next I open the next document and convert it... > > The important thing is not to close OpenOffice.org. In case > you always start a new Java process for each conversion, you > can open a socket or something like this. > > Greetings, Tobias > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
