Canon LBP2900 in Ubuntu

Shali 9846303531 shalib2 at
Thu Dec 13 12:11:48 UTC 2012

Dear All,

I have tried LBP2900 Ubuntu 12.04 & 11.04 and its partially working.
i have created a shell script for restarting the ccpd service, and its
working but the print resume function do not work with this driver only
method is to resume is captstatusui -P LBP2900 and click resume job

now i am planning to make script like , if pending prints are in queue the
execute captstatusui otherwise restart ccpd


if { print queue >=0 }
send "captstatusui -P LBP2900\r" //
else {
send "sudo /etc/init.d/ccpd stop\r"
sleep 2
send "sudo /etc/init.d/ccpd start\r"
sleep 1
send "captstatusui -P LBP2900\r"
sleep 20

how can we get the capt print queue value and create a script based on that
shell script experts please help me ...

Thanks & Regards

Server Administrator
Vidya Academy of Science & Technology
Thrissur, Kerala.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-users mailing list