Printing with custom page size and...?

Hi.
I want to print with a 8.5cm x 5cm page size, but I wonder
how to setup a printer (in ms windows, a dot matrix printer)
and how to do this in wxPython.

In addition, I would print a series of pages for this page size.
Would somebody give me some advises?

Thanks.

cwc wrote:

Hi.
I want to print with a 8.5cm x 5cm page size, but I wonder
how to setup a printer (in ms windows, a dot matrix printer)
and how to do this in wxPython.

I'm not sure if you can set a truly custom page size, but you *can*
select from a wide range of "standard" page sizes. Check out the docs
for wxPrintData.SetPaperId(); there's a list of possible choices, though
at a quick glance I don't see anything quite as small as what you want.

Once you set the paper ID in your wxPrintData, the printing framework
will continue to use that size of paper until you either reset it or use
a different wxPrintData. There's various other setup options on
wxPrintData as well.

Jeff Shannon
Technician/Programmer
Credit International