[pygtk] gtk.PrintOperation config

Gebhard Dirks gdirks at nuclearfree.de
Mon Jul 28 05:46:36 WST 2008

Hi Eduardo,

thanks for your config, it helped me a lot to start my print-dialog
running. Maybe you have already solved the mentioned problem with the
print-out of "PRINT OUT THIS!!!!!!". I have found the solution in the

"The wrap style (pango.Layout.set_wrap) is in effect if a width is set
on the layout with the pango.Layout.set_width(). To turn off wrapping,
set the width to -1."

I have set the width to -1 and it worked great for me, give it a try...


Gebhard Dirks

More information about the pygtk mailing list