seems to be same problem as here: https://github.com/electron/electron/issues/4906

It happens on windows 10 with electron version 1.6.1.
When I downgrade to 1.4.15 it works.
chromium_src/chrome/browser/printing/print_view_manager_base.cc
bool result = RenderAllMissingPagesNow();
  
  if (print_job_.get() &&
      print_job_->document() &&
      !print_job_->document()->IsComplete()) {
    DCHECK(!result);
    
    TerminatePrintJob(true);
  } else {
    
    ReleasePrintJob();
  }
#if !defined(OS_MACOSX)
  expecting_first_page_ = true;
#endif  
}
void PrintViewManagerBase::PrintingDone(bool success) {
  if (!print_job_.get())
    return;
  Send(new PrintMsg_PrintingDone(routing_id(), success));
}
void PrintViewManagerBase::TerminatePrintJob(bool cancel) {