Quote Originally Posted by jpn View Post
Just curious, what's the file name?

QPrinter::setOutputFileName():
Aaha, That was the problem... the filename is "file.ps" so accroding to comments, fileFormat is taken as PDF.

Thanks a lot.