-1

Can I use a button to pause and release printer queue? I mean just pause the data to printer from my PC.

chunlcw
  • 9
  • 1
  • 1
    [Win32_PrintJob](https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-printjob). See the `Pause` and `Resume` methods. If the current Job has already been buffered (by the printer), you cannot pause it. – Jimi Apr 17 '20 at 09:56
  • Thank you for your help. But do I need a timer to pause every job? Can I pause the queue, and it can't print everytime until I release it? – chunlcw Apr 18 '20 at 21:15

1 Answers1

1

.NET provides PrintQueue class from System.Printing.

This class supports methods such as Pause, Resume, Purge methods to control the print queue.

Ashish Emmanuel
  • 728
  • 11
  • 23