printer status for print spooler: help

Hey people

I am currently working on a print spooler for unix over a network. I need help regarding the status of the printer. Is there any way to know when the printer has finished a previous job, so that the next job from the queue can be processed. Also is there any other way to print other than system("lp") or fprintf to the device file.I want to override the default lpr spooler.

Help...

Many thanks :slight_smile: