Quote Originally Posted by Gonzalez
I store in QTextDocument some images and text , i use the function print , to print this document into a paper.

I try to make a PDF file with the new function in QPrinter , setOutputFormat(QPrinter::PdfFormat) , but it doesn't work.
Did you use
void QPrinter::setOutputFileName ( const QString & fileName ) ?

I don't know a solution for your second question.

Cheers