![]() |
CAPS Universe documentation
1.0.4
All you need to know to be successful
|
This callback is called when the framework has received a printing job. It already has checked if it can deal with the document data format, e.g. a corresponding rasterizer is already attached and now it is up to you to check if this job can be printed on your printer.
0 everything is okay, the framework can continue-EINVAL if the job cannot be printed.-EBUSY The printer is somehow busy (more or less a printer error condition, cover opened for example)-EBADMSG ?-ENODEV It isn't the expected printing device or something else is bad with this device and the framework should terminateFunctions related to this state:
Retrieving information about the job to print
Job status updating in case of a failure.
We need to distinguish a bad job from a bad behaviour of the software, e.g just skip the job versus terminating the driver