Thanks, actually I am able to print ok in Qt4, but what I wanted is to display a window similar to the one i get within Qt3.ret = myprinter.setup();
Thanks, actually I am able to print ok in Qt4, but what I wanted is to display a window similar to the one i get within Qt3.ret = myprinter.setup();
Then try QPageSetupDialog.Originally Posted by impeteperry
Thanks. I am new to this and am is the learning process and am totally confused.. I would appreciate it if, using the code snippit in my original post, you wold show the code to do what thedid in Qt3.ret = myprinter.setup();
Thanks
pete
It's something like:Originally Posted by impeteperry
Qt Code:
#include <QPageSetupDialog> ... QPrinter myprinter; myprinter.setFullPage ( true ); ... }To copy to clipboard, switch view to plain text mode
impeteperry (5th May 2006)
Thanks a whole lot. You gave me the clue I was lookng for. I forgot the "#include"
What I had wasbut not the #Include.Qt Code:
To copy to clipboard, switch view to plain text mode
This gives me the "dialog" I was looing for.
Life is simple when you know what you are doing. Now I can go away happy.
Thanks again.
Last edited by impeteperry; 5th May 2006 at 12:51.
Bookmarks