[Tutor] Further help needed!

John Corry info at harrycorry.com
Thu Jan 5 10:45:14 CET 2006


Notepad opens and prints the text file.

Regards,

John.

-----Original Message-----
From: tutor-bounces at python.org [mailto:tutor-bounces at python.org]On
Behalf Of John Fouhy
Sent: 04 January 2006 21:54
To: Tutor
Subject: Re: [Tutor] Further help needed!


[resending 'cause I forgot to address to tutor..]

On 05/01/06, John Corry <john.corry at ntlword.com> wrote:
> This code works on windows XP + Windows 2000.  However it does not work on
> windows 98SE.  I have tried this code on 3 seperate machines with windows
> 98SE.  They all come up with the same error:
>
>  File
> "C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py",
> line 310, in RunScript
>     exec codeObject in __main__.__dict__
>   File "C:\test\Script1.py", line 12, in ?
>     0
> error: (31, 'ShellExecute', 'A device attached to the system is not
> functioning.')

Have you verified that the printer on your Win98 machine does work?

For example, create a text file on that computer.  In Windows
Explorer, right-click on the text file and select 'print' from the
context menu.  What happens?

--
John.
_______________________________________________
Tutor maillist  -  Tutor at python.org
http://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list