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, copy, file.ps
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:
error: (31,
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 attached to
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
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:
error: (31,