I've been able to get some basic printing figured out, but there's one thing that doesn't seem obvious to me. The client needs to print onto tractor-fed labels that are 8-1/8" wide and 4-5/8" tall. I don't see any option for setting the paper size directly; the only thing that's close is the wx.PrintData.SetPaperId() method, and that only takes one of several pre-defined constants.
Is there a way to set this programmatically?
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
I should add that I tried:
sud = self.GetPageSetupData()
sud.SetPaperSize((206.375, 117.475))
...but that had no effect.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
···
On Jun 8, 2007, at 1:22 PM, Ed Leafe wrote:
I've been able to get some basic printing figured out, but there's one thing that doesn't seem obvious to me. The client needs to print onto tractor-fed labels that are 8-1/8" wide and 4-5/8" tall. I don't see any option for setting the paper size directly; the only thing that's close is the wx.PrintData.SetPaperId() method, and that only takes one of several pre-defined constants.
Is there a way to set this programmatically?