How do i print to a printer using python?

Steve Holden sholden at holdenweb.com
Wed Sep 11 00:27:55 CEST 2002


"Uwe Schmitt" <uwe.schmitt at procoders.net> wrote in message
news:allofr$lgscc$2 at hades.rz.uni-sb.de...
> Naveed Iqbal <iqbal at colorado.edu> wrote:
> > Thank you all for your help. I am really a novice when it comes to
> > python. Will someone tell me how to install the win32ui module in
> > windows?
> > thanka
> > naveed
>
> I suceeded without win32all: I generated a postscript file
> and copied it to the 'file' "prn:" using shutil.copyfile().
>
Disk Operating System Rules OK!

As a pythonista of somewhat longer standing I found PythonWin a delight. I
don't overstress it, and it works.

Naveed: while you are likely to stay more up-to-date by installing an
updated base Python and installing updated Win32 extensions, there's no real
reason for a "novice" to need (or even want :-) to be so close to the
(b)leading edge. I haven't heard anything to suggest the ActiveState
distribution isn't a perfectly practical solution to everyday needs.

Uwe: you'll clearly do well with such lateral thinking abilities. What
software did you use to generate the PS?

nostalgical-ly y'rs  - ste ve
-----------------------------------------------------------------------
Steve Holden                                  http://www.holdenweb.com/
Python Web Programming                 http://pydish.holdenweb.com/pwp/
Previous .sig file retired to                    www.homeforoldsigs.com
-----------------------------------------------------------------------







More information about the Python-list mailing list