To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=67583 Issue #|67583 Summary|remote printer setup with JAVA/UNO fails Component|Word processor Version|OOo 2.0.3 Platform|PC URL| OS/Version|Windows 2000 Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|printing Assigned to|mru Reported by|mvincent
------- Additional comments from [EMAIL PROTECTED] Wed Jul 19 10:50:52 -0700 2006 ------- I use the following code to affect a printer to a writer doc loaded from a file located on the same computer as the OO writer: XPrintable xPrintable = (XPrintable) UnoRuntime.queryInterface(XPrintable.class, xDoc); PropertyValue[] printerDesc = new PropertyValue[1]; printerDesc[0] = new PropertyValue(); printerDesc[0].Name = "Name"; printerDesc[0].Value = "myPrinterName"; xPrintable.setPrinter(printerDesc); xPrintable.print(printOpts); I have tested three cases: - this java code is executed on the same computer as the OO writer using Java/UNO. I can choose any printer declared on the machine without any problem. - this java code is executed on another computer using Java/UNO. Only the default printer of the computer where OO writer is localized is available (I mean the document always print on the default printer although I specify another printer name). - this java code is executed on the same computer as the OO writer through a RMI call from another computer. Again, only the default printer of the computer where OO writer is localized is used. Computers are PC Windows 2000, and printers are available on the network through Windows Active Directory. As it works when Java program and OO writer are co-localized means that printers'URL are correct. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- 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]