Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In each time I start my Ubuntu 12.04 computer I need to type the following commands to get my Canon LBP 2900 printer working. Otherwise the status monitor says "Communication Error". I am using driver version 2.40.

sudo modprobe usblp 
ls -l /dev/usb/lp0 
sudo /etc/init.d/ccpd start 
share|improve this question
Did you try Starting/stopping on USB add/Remove on – user1037929 Jun 11 '12 at 16:19
I tried it. No progressive result – RAMESH Jun 19 '12 at 18:35
Have you tried running the script containing above lines at boot time? – user73655 Jun 27 '12 at 19:34
If possible, please consider closing some of your other open questions by selecting the best answer (if they have one). Consider which answers have been useful and need an upvote. We need users to maintain their questions so that the site can be an effective tool for the next person with your problems. For more details on best practices consider reading the FAQ on asking questions. – fossfreedom Jun 27 '12 at 21:42
how can run that script at boot time in ubuntu 12.04 – RAMESH Jun 28 '12 at 16:29

Edit /etc/modules and append usblp. This will load the usblp module at boot time.

To get /etc/init.d/ccpd to start, you will need to have links to the /etc/rc?.d directories. Read man update-rc.d and man insserv and look for an LSB (Linux Standard Base, see Wikipedia for LSB) header in /etc/init.d/ccpd (begins with ### BEGIN INIT INFO). I know nothing about ccpd.

share|improve this answer

protected by Community Jun 27 '12 at 21:41

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.