0

How can I get default print values (default printer, paper size), BEFORE running PrintOperation.run() ?

Thanks.

Marin
  • 1,311
  • 16
  • 35

2 Answers2

0

Seems this is not possible. Only way is to set up PrintSettings and PageSetup in advance and create a new PrintOperation for each call to run, and save PrintSettings after each of them.

Marin
  • 1,311
  • 16
  • 35
-1

Is it this you are looking for ?

http://www.pygtk.org/docs/pygtk/class-gtkprintsettings.html

Louis
  • 2,854
  • 2
  • 19
  • 24