------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=77847 faure kde org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tibirna kde org ------- Additional Comments From faure kde org 2005-11-30 21:28 ------- OK I tried to create a koffice filter for exporting to PDF. Almost works except that kdeprint doesn't notice that I'm asking for a pseudo-printer, it asks cups for the printer "Print to File (PDF)" (!). We know already the output filename, in the filter, so I can't use autoConfigure(). Instead the code looks like: KPrinter printer( false ); printer.setDocName( title.isEmpty() ? in : title ); printer.setDocFileName( out ); printer.setDocDirectory( document->url().directory() ); printer.setPrinterName( i18n( "Print to File (PDF)" ) ); view->setupPrinter( printer ); view->print( printer ); where out is the path to the output file. I get: cupsdoprint -P 'Print to File (PDF)' -J '' -H 'localhost:631' -U 'dfaure' -o ' orientation-requested=3' '/tmp/kde-dfaure/kdeprint_hCJGuREw' : execution failed with message: client-error-not-found Michael/Cristian, can kdeprint be fixed to recognize pseudo printers in setPrinterName? Or do you see a better solution? ____________________________________ koffice mailing list koffice@kde.org To unsubscribe please visit: https://mail.kde.org/mailman/listinfo/koffice