Dear All,<br><br>I have tried LBP2900 Ubuntu 12.04 & 11.04 and its partially working.<br>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<br>
<br>now i am planning to make script like , if pending prints are in queue the execute captstatusui otherwise restart ccpd<br>}<br><br>#!/usr/bin/expect<br><br><span style="background-color:rgb(255,0,0)">if { print queue >=0 }</span><br>
{<br>send "captstatusui -P LBP2900\r" //<br>else {<br>send "sudo /etc/init.d/ccpd stop\r"<br>sleep 2<br>send "sudo /etc/init.d/ccpd start\r"<br>sleep 1<br>send "captstatusui -P LBP2900\r"<br>
sleep 20<br>}<br><br>how can we get the capt print queue value and create a script based on that value?<br>shell script experts please help me ...<br><br><br clear="all"><br>-- <br>Thanks & Regards<br><br>Shali.K.R<br>
Server Administrator<br>Vidya Academy of Science & Technology<br>Thrissur, Kerala.<br>Mob:9846303531<br>