Quote Originally Posted by surwassu View Post
I want to convert pdf to postscript file in QT only....
It's easiest to use an external tool such as pdf2ps.
What do you think about setouputFormat() function? will it print in PS format?
It will but how will you read a pdf file first? You could do that using poppler but that will probably just give you a bitmap.

Is there any way to use Ghostscript in Qt.?
Sure, use QProcess.