U
Uwe Schmitt
Hi,
I am trying to print raw postscript data on windows.
win32print should do the work like this:
h=win32print.OpenPrinter(name)
win32print.StartDocPrinter(h, 1, ("", "", "RAW"))
win32print.WritePrinter(h, file("p.ps").read())
win32print.EndDocPrinter(h)
win32print.ClosePrinter(h)
This works for some printers, but not for all. The
problem is, that no error messages or exceptions
occur.
Is there any other way to print raw data ? I am using
wx, but wx does not seem to provide this functionality.
Greetings, Uwe
I am trying to print raw postscript data on windows.
win32print should do the work like this:
h=win32print.OpenPrinter(name)
win32print.StartDocPrinter(h, 1, ("", "", "RAW"))
win32print.WritePrinter(h, file("p.ps").read())
win32print.EndDocPrinter(h)
win32print.ClosePrinter(h)
This works for some printers, but not for all. The
problem is, that no error messages or exceptions
occur.
Is there any other way to print raw data ? I am using
wx, but wx does not seem to provide this functionality.
Greetings, Uwe