Re: [api-dev] Selecting Printer always uses default Printer (BUG?)

2006-03-15 Thread Alex Thurgood
Tobias Krais wrote: Hi, Please tell me, is this a feature or a bug? Do you have the same problem? In case you want to test it I can send you an sample application. My guess is that this is a bug. The environment should detect CUPS settings automatically, since this is what happens in the

Re: [api-dev] Selecting Printer always uses default Printer

2006-03-03 Thread Tobias Krais
Hi Martin, When I start OpenOffice and open the print dialog is shown. Default printer is KyoFS3800. Another printer is displayed, called FS1800. But: using the code above prints always on the default printer. Why? 1.) Could it be that FS1800 is not the right printer name? If you give an

[api-dev] Selecting Printer always uses default Printer

2006-03-02 Thread Tobias Krais
Hello ML, I have one more question. I use following code for printing (I have it from the Dev-Guide): -%- XPrintable xPrintable = (XPrintable) UnoRuntime.queryInterface(XPrintable.class, xDoc); PropertyValue[] printerDesc = new PropertyValue[1];

RE: [api-dev] Selecting Printer always uses default Printer

2006-03-02 Thread Martin Thoma
Hi Tobias, When I start OpenOffice and open the print dialog is shown. Default printer is KyoFS3800. Another printer is displayed, called FS1800. But: using the code above prints always on the default printer. Why? 2 suggestions: 1.) Could it be that FS1800 is not the right printer name?

Re: [api-dev] Selecting Printer always uses default Printer

2006-03-02 Thread Tom Schindl
Tobias Krais wrote: Hello ML, I have one more question. I use following code for printing (I have it from the Dev-Guide): -%- XPrintable xPrintable = (XPrintable) UnoRuntime.queryInterface(XPrintable.class, xDoc); PropertyValue[] printerDesc = new