ippsample
ippsample copied to clipboard
ippserver / ippproxy: Infra Job never reaches 'completed' state
If you run ippserver and ippproxy where ippproxy uses the ippserver's infra Printer, with the output device set to whatever you want, Jobs submitted to the infra Printer will never reach the 'completed' state, even though they have reached that state in the output device.
Attached is an ipptool test file that does a Create-Job / Send-Document, then Get-Job-Attributes until it reaches 'completed'. It never ends if left on its own. create-job-and-get-jobs.test.txt
Bug is reproducible by me.
File gets printed using an attached local printer but ippinfra never reaches completed state.
I can also confirm this bug.
When the job is sent to the infrastructure printer, its job-state is processing-stopped, with job-state-reasons being job-fetchable. Once the proxy has downloaded the print job, and correctly sent it to the output device (another CUPS server on another host, in my case), the job-state on the infrastructure printer remains processing-stopped, although with a job-state-reasons of none. It never reaches the completed state.
Don't know if the cause is the proxy failing to send the final Update-Job-Status to the infrastructure printer, or the infrastructure printer failing to acknowledge it and update the job state. I will try to perform further tests to find out.
ippproxy wasn't updating the job status to say it was completed.