cupsCancelJob

Name

cupsCancelJob -- Cancel a print job on the default server.

Synopsis

#include <cups/cups.h>

int cupsCancelJob(const char * name, int job);

Description

Cancel a print job on the default server.

Use the cupsLastError() and cupsLastErrorString() functions to get the cause of any failure.

Return Value

1 on success, 0 on failure