Close enough. I think this works, but am not sure:
config.set(gnomeprint.KEY_PAPER_SIZE, "my-paper-size")
Because KEY_PAPER_SIZE = 'Settings.Output.Media.PhysicalSize'
But I'm not sure about which are the valid paper size strings. Perhaps "US-Letter" works, or perhaps it's just "letter", I don't know. But judging from this,
------
[GPAOptions] [GPAKeys]
PhysicalSize=A4,A5,USLetter,USLegal PhysicalSize = A4
LogicalOrientation=R0,R90,R180,R270 LogicalOrientation = R90
------
the paper size string should be USLetter.
Gustavo,
Thanks again. Actually, 'Letter' works just fine.
Alex
-- Alexander Roitman http://ebner.neuroscience.umn.edu/people/alex.html Dept. of Neuroscience, Lions Research Building 2001 6th Street SE, Minneapolis, MN 55455 Tel (612) 625-7566 FAX (612) 626-9201
pgp00000.pgp
Description: PGP signature
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
