Page 1 of 1

Printing from Java using OO remote connection

Posted: Mon Mar 23, 2009 10:41 pm
by developer-si
Hello everyone!

I'm working on a application that already displays documents from a database. It is using a connection to a remote OpenOffice instance to convert documents to PDF. Also I would like to be able to print a displaying document. Is it possible with a connection to OpenOffice instance to achive this? So the Java Application holds a file in memory in byte[] form. The user must be able to choose one of installed printer in a print dialog and fire printing a document.

I would be thankfoul for any help.

Regards

Re: Printing from Java using OO remote connection

Posted: Thu Aug 20, 2009 10:41 pm
by hol.sten
developer-si wrote:Also I would like to be able to print a displaying document. Is it possible with a connection to OpenOffice instance to achive this? So the Java Application holds a file in memory in byte[] form. The user must be able to choose one of installed printer in a print dialog and fire printing a document.
I don't think that you can reach the printer you want to reach. I think that it is possible to print a document on a remotely running OOo. Your only problem is, that your file gets printed only on a printer on the remotely running server but not on your client where your Java application is running.