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

I have the following setup:

  • Ubuntu Natty (11.04) server edition installed
  • Printer Canon LBP5000 laserjet
  • CUPS, using the web interface because I have no gui. Im operating the system by ssh via my network

My problem:
It just doesn't want to print, Im trying to print a test page but nothing is happing. After a while it gives me a error like

Can't connect to CCPD: Connection refused


ccp send_data error, exit

My attempts:

Can someone help me with this, cause Im really out of options.

share|improve this question

I am using:

  • Ubuntu version 11.04
  • A Canon LBP500 connected via the network

When I followed Guide: I got my printer working, but captstatusui (showing printer status in a GUI) gave a bufferoverflow.

When using script: printing and captstatusui worked perfectly, but after a while my Update Manager complained I had a partial finished install and removed the drivers again. Maybe something to do with not specifying a correct package repository?

Anyhow, I made a copy of the working captstatusui binary, let the update manager remove the drivers installed via the script of Radu Cotestcu. Now I have the drivers installed according the first Guide, and use them in combination with the copied version of captstatusui.

Maybe not that elegant, but it works for me

share|improve this answer
Thnx for your reply, but I have some questions left. Did you install the printer for the first time? Is the printer directly attached to the netwerk or by another computer? and most important: how do I clean up the mess of my previous installation attemps. – BlackHawkDesign Jul 27 '11 at 7:43

If Status monitor reports error "Check the DevicePath of /etc/ccpd.conf", then you probably don't have usblp kernel module. Run the following command:

lsmod | grep usblp

If it outputs nothing, load the module and restart ccpd:

sudo modprobe usblp
ls -l /dev/usb/lp0
sudo /etc/init.d/ccpd restart

Note: As of Ubuntu 11.10 (Oneiric Ocelot), usblp has been deprecated and will not be automatically loaded when you connect your USB printer (see bug #842823]).

If the status monitor works but printing does not, make sure that /var/ccpd/fifo0 actually exists:

ls -l /var/ccpd

When missing, it can be added manually:

sudo mkdir /var/ccpd
sudo mkfifo /var/ccpd/fifo0
sudo chown -R lp:lp /var/ccpd
share|improve this answer

I have Googled this result for you: Canon LBP5000

According to that website, the driver for your printer has not been tested with Ubuntu 11.04.

This does not mean that if you download and install that driver that it won't work.

share|improve this answer
True, but before I installed ubuntu 11.04 I had 10.10, 10.04, 9.10 but I have the exact same problems with these older ubuntu versions. – BlackHawkDesign Jun 6 '11 at 16:57

Here is PPA that provide some of Canon Printer driver, Check tutorial here :

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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