Re: Problem printing in Win98

2005-11-22 Thread Tim Roberts
Dale Strickland-Clark <[EMAIL PROTECTED]> wrote: > >I presume this .ps file is a preformed postscript file that should be sent >to a postscript printer without further modification? > >In this case, I think you should use copy instead of print. Something like >this: > >win32api.ShellExecute(0, "cop

Re: Problem printing in Win98

2005-11-21 Thread Dale Strickland-Clark
Maravilloso wrote: > Hi > > I'm trying to automatically send a postscript file to be printed to the > default printer in a Win98 PC, by means of using the instrucction: > > win32api.ShellExecute (0, "print", "file.ps", None, ".", 0) > > but it raises an exception with the message: > > erro

Re: Problem printing in Win98

2005-11-20 Thread Tim Roberts
"Maravilloso" <[EMAIL PROTECTED]> wrote: > >I'm trying to automatically send a postscript file to be printed to the >default printer in a Win98 PC, by means of using the instrucction: > > win32api.ShellExecute (0, "print", "file.ps", None, ".", 0) > >but it raises an exception with the message: >

Re: Problem printing in Win98

2005-11-20 Thread Roger Upole
According to MSDN, err code 31 from ShellExecute is SE_ERR_NOASSOC, meaning there's not an application registered for printing that file type. Roger "Maravilloso" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi > > I'm trying to automatically send a postscript file to be

Problem printing in Win98

2005-11-20 Thread Maravilloso
Hi I'm trying to automatically send a postscript file to be printed to the default printer in a Win98 PC, by means of using the instrucction: win32api.ShellExecute (0, "print", "file.ps", None, ".", 0) but it raises an exception with the message: error: (31, 'ShellExecute', 'A device attach