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
DCHECK(!inside_inner_message_loop_);
  
  DisconnectFromCurrentPrintJob();
  
  if (!web_contents()->GetRenderViewHost() ||
      !web_contents()->GetRenderViewHost()->IsRenderViewLive()) {
    return false;
  }
  
  
  DCHECK(!print_job_.get());
  DCHECK(job);
  if (!job)
    return false;
  print_job_ = new PrintJob();
  print_job_->Initialize(job, this, number_pages_);
  registrar_.Add(this, chrome::NOTIFICATION_PRINT_JOB_EVENT,
                 content::Source<PrintJob>(print_job_.get()));
  printing_succeeded_ = false;
  return true;
}
void PrintViewManagerBase::DisconnectFromCurrentPrintJob() {