Michael Galvin wrote:
> I am trying to use Python to send to the printer a calender filled
> with a mix of text and simple graphics. I want to draw on the printed
> page something like a table with 6 rows and 7 columns to represent a
> calendar. I want to place text precisely within those boxes o
One option is to create your page as an image file using PIL (which can
handle your text and drawing requirements, as well as any
pictures/graphics), then print it to a windows printer using my
ImagePrintWin module.
ImagePrintWin can print to any normal windows printer, and includes an
optional GU
Steve Holden wrote:
> Michael Galvin wrote:
> > To see an example of what I am trying to accomplish, look at this page
> > on my personal website:
> >
> > http://mysite.verizon.net/michaelgalvin/jan06call.html
> >
> > I now realize my attachement could not be posted on this usenet group.
> >
> I su
Pywin32 wraps most of the GDI functions used to draw
lines and text directly on a printer device context.
Many of them are only implemented as methods of
MFC objects rather than exposed directly.
See \win32\Demos\print_desktop.py for some examples
of working directly with a printer DC.
hth
Michael Galvin ha scritto:
> I am trying to use Python to send to the printer a calender filled
> with a mix of text and simple graphics. I want to draw on the printed
> page something like a table with 6 rows and 7 columns to represent a
> calendar. I want to place text precisely within those bo
Michael Galvin wrote:
> To see an example of what I am trying to accomplish, look at this page
> on my personal website:
>
> http://mysite.verizon.net/michaelgalvin/jan06call.html
>
> I now realize my attachement could not be posted on this usenet group.
>
I suspect your best option would be to
To see an example of what I am trying to accomplish, look at this page
on my personal website:
http://mysite.verizon.net/michaelgalvin/jan06call.html
I now realize my attachement could not be posted on this usenet group.
On Thu, 12 Jan 2006 12:16:02 -0500, Michael Galvin
<[EMAIL PROTECTED]> wrot
I am trying to use Python to send to the printer a calender filled
with a mix of text and simple graphics. I want to draw on the printed
page something like a table with 6 rows and 7 columns to represent a
calendar. I want to place text precisely within those boxes on the
printed page. I am using