Exemplo n.º 1
0
 /// <summary>
 /// The PrintJob_Failed
 /// </summary>
 /// <param name="sender">The sender<see cref="object"/></param>
 /// <param name="e">The e<see cref="PrintJobFailedEventArgs"/></param>
 private void PrintJob_Failed(object sender, PrintJobFailedEventArgs e)
 {
     Console.WriteLine("Failed");
 }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void PrintJob_Failed(object sender, PrintJobFailedEventArgs e)
 {
     Console.WriteLine("PrintJob_Failed");
     isPrintSuccess = false;
     waitHandle.Set();
 }
Exemplo n.º 3
0
 static void printer_PrintJobFalied(object obj, PrintJobFailedEventArgs e)
 {
     Console.WriteLine("Print Failed : JobId = " + e.PrintJob.JobId + " Exception.Message = " + e.Exception.Message);
 }