The CancelAllJobs method cancels and removes all print jobs from the printer queue including the job currently printing. ...

The CancelAllJobs method cancels and removes all print jobs from the printer queue including the job currently printing. The method can return the following values:
0 - Success.
5 - Access denied.
Other - For integer values other than those listed above, refer to the documentation on the Win32 error codes.
English
English (United States)
日本語
Japanese