spl = windll.LoadLibrary('winspool.drv')
printer_name = 'KONICA MINOLTA PS Color Laser Class Driver'
hPrinter = HANDLE()
if printer_name:
    spl.OpenPrinterA(c_char_p(printer_name), byref(hPrinter), None)
else:
    spl.OpenPrinterA(None, byref(hPrinter), None)
print(hPrinter)
hjob = spl.FindFirstPrinterChangeNotification(hPrinter, 256, 0, None)
while True:
    windll.kernel32.WaitForSingleObject(hjob, -1)
add_job_callback()
spl.FindNextPrinterChangeNotification(hjob, None, None, None)
Received Print Job Python