CAPS Universe documentation  1.0.4
All you need to know to be successful
1007 An empty print job leads to a provider termination

1007 Invalid 'page-ranges' print parameter leads to a provider termination

An invalid page-ranges print parameter (e.g. a range outside the amount of available pages in the document) terminates the printing provider in libcapsraster if this invalid page-range leads to an empty print job (e.g. no page to print at all).

Solution

Deal with this use case and only finish the print job accordingly.

Impact

API change in libcapsraster's caps_rstr_job_attach(). It now returns -ESPIPE in this case. This might need adaptions in users of this function (libcapsdriver and printing providers).

State

Described behaviour available with libcapsraster-1.1.0