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
Printing from Java using OO remote connection
-
developer-si
- Posts: 3
- Joined: Mon Mar 23, 2009 10:23 pm
Printing from Java using OO remote connection
OOo 3.0.X on MS Windows Vista + Linux Ubuntu
Re: Printing from Java using OO remote connection
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.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.
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP