Hello,

I am trying to print my gui, however I am having trouble. I have a button with a signal as clicked and slot as printd(which is my function that I am calling QPrintDialog. In printd, I have this code:

Qt Code:
  1. def printd(self):
  2. pd = QtGui.QPrintDialog(self)
  3. pd.exec_()
To copy to clipboard, switch view to plain text mode 

Which successfully opens the popup window for printing items. However, when i click print, nothing ends up printing. I'm not sure what I am doing wrong here. Any suggestions? Thank you in advance.

NOTE: this is for help in PyQt4.