how to print to printer ?

Neil Hodgson nhodgson at bigpond.net.au
Fri Apr 12 21:49:42 EDT 2002


Uwe Schmitt:

> oops. i forgot to tell you that I'm using windows...
> and i really want to print "raw" data and not pdf et al...

   PythonWin handles printing of source code in its CScintillaView.OnPrint
method in the Pythonwin\pywin\scintilla\view.py. This code relies on being
embedded in the MFC framework used by PythonWin. You may be able to use the
Windows API more directly through the win32all extensions including the
win32print and win32ui modules.

   Or did you want to send commands directly to the printer?

   Neil






More information about the Python-list mailing list