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 > unknown printer-name, OO will switch to the default printer. I suggest > setting a document to the desired printer manually and then use > XPrintable::getPrinter to get the correct desired name of the printer. > 2.) Use XPrintable::getPrinter in your code to get an array of > property-values and then set the same of the printer in this array. Give > this array back to XPrintable::setPrinter. although I am not working today I know the answer. I tried already to get the default printer. And the property Value says: "Generic Printer". I use a Debian Linux System and have a cupsys-client installed. I use OO2 with native cups support. But it seems as if UNO does not have the native cups support... Greetings, Tobias --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]