0

I have found this code demonstrating printing with win32print. There is a call of

time.sleep(5) .

How can I better determine when the printer is printing and when printing has finished, to notify the user about it?

xralf
  • 3,312
  • 45
  • 129
  • 200
  • 1
    https://stackoverflow.com/a/18030622/3694381 From here it says that shellexecute doesn't give any info about the process. Maybe you can use StartDocPrinter and then GetJob api of win32print – ranka47 Feb 26 '20 at 18:43
  • 1
    Zero prospects of making this work. The entire approach is wrong. You'll need to do the printing from your process. – David Heffernan Feb 26 '20 at 18:47

0 Answers0