コード例 #1
0
 /// <summary>
 /// 发送到镜像打印端口
 /// </summary>
 /// <returns>操作是否成功</returns>
 public bool SendToPrinter()
 {
     return(PrinterInformation.ControlJob(this, PrintJobControlCommand.SENT_TO_PRINTER, false));
 }
コード例 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <returns>操作是否成功</returns>
 public bool LastPageEjected()
 {
     return(PrinterInformation.ControlJob(this, PrintJobControlCommand.LAST_PAGE_EJECTED, false));
 }
コード例 #3
0
 /// <summary>
 /// 删除任务
 /// </summary>
 /// <returns>操作是否成功</returns>
 public bool Delete()
 {
     return(PrinterInformation.ControlJob(this, PrintJobControlCommand.DELETE, false));
 }
コード例 #4
0
 /// <summary>
 /// 恢复打印任务
 /// </summary>
 /// <returns>操作是否成功</returns>
 public bool Resume()
 {
     return(PrinterInformation.ControlJob(this, PrintJobControlCommand.RESUME, false));
 }
コード例 #5
0
 /// <summary>
 /// 重新启动打印任务
 /// </summary>
 /// <returns>操作是否成功</returns>
 public bool Restart()
 {
     return(PrinterInformation.ControlJob(this, PrintJobControlCommand.RESTART, false));
 }
コード例 #6
0
 /// <summary>
 /// 暂停任务
 /// </summary>
 /// <returns>操作是否成功</returns>
 public bool Pause()
 {
     return(PrinterInformation.ControlJob(this, PrintJobControlCommand.PAUSE, false));
 }
コード例 #7
0
 /// <summary>
 /// 取消任务
 /// </summary>
 /// <returns>操作是否成功</returns>
 public bool Cancel()
 {
     return(PrinterInformation.ControlJob(this, PrintJobControlCommand.CANCEL, false));
 }