How to use the LBP 2900 on manjaro linux XFCE version?

Perhaps go back and have a look at the Arch wiki describing this.

What I see here is:
you have enabled cups.service as well as cups.socket - only either one is needed, not both

I, right now, have cups.socket and ccpd.service active/enabled.
… not cups.service …

Make sure the device path in /etc/ccpd.conf is correct and that the device file actually exists when the printer is plugged in

  • it tends to change when you unplug it and/or plug other printers in

I’m printing only maybe once every month - last time, weeks ago, it still worked …

Hello, I have enabled cups and cups.socket and ccpd is active, what I did wrong?

Should I also post the output?

I just tried to set up cups using the graphical way(website). I made sure CUPS was running but it still didnt work I did everything the video said to do but it still does’nt work. It always says processing and then nothing comes out and it just says job completed, is it the drivers?

Hi, I was too struggling with that damn Canon LBP290 printer.
Here what I did to make it work (I collect from several sources over the internet), hope this help:
Because I am a newbie, some steps are very basic, please don’t mind.

Installation of drivers:
1. You need the yay package manager (to install software for AUR)
Then
Install base-devel:

sudo pacman -S base-devel

2. Issue the command

yay -S capt-src

This command installs the 2.7 version of CAPT drivers.

Configuration of the CUPS driver:

1. As we know CAPT has to sit on the CUPS driver. So make sure that CUPS is installed and configured properly.

To be on the safer side, you can issue the command:
sudo pacman -S cups

Then enable the cups driver by the command:
systemctl enable cups

Then start the service:
systemctl start cups

Check the status by:
systemctl status cups (you should get active status with pid values)

Configuration of the CAPT driver:
2. Make sure that the user is added to both the groups - lp and sys

sudo gpasswd -a <username> sys

sudo gpasswd -a <username> lp

Where is your username

3. Next make sure that the ppd is registered to the path

sudo /usr/sbin/lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp://localhost:59687 -E

4. Check for the path where the printer has its device

Important notice!

Check printer connected in which usb port
ls -l /dev/usb

For example, the output is like this

total 0
crw------- 1 root root 180, 0 Apr 25 14:40 hiddev0
crw------- 1 root root 180, 1 Apr 25 14:40 hiddev1
crw-rw---- 1 root lp 180, 2 Apr 25 14:40 lp2

that means your printer is in usb port lp2

5/ Next: register capt to cups through the usb lp device
I use lp2 as an example

sudo /usr/sbin/ccpdadmin -p LBP2900 -o /dev/usb/lp2

the usb port name “lp2” need to be changed to suit the above output.
Also, you SHOULD connect printer via this physical usb port from now on, or you have to check the usb port again and register port again.

6. Start and enable the ccp daemon:

sudo systemctl enable ccpd.service
sudo systemctl start ccpd.service
sudo systemctl status ccpd.service (to check its running/active status)

Next: Importance!!!

- Restart your PC

- Turn off/ then turn on the printer

7. Check if its all working fine with

captstatusui -P LBP2900

If the output said:
<Printer ***> of /etc/ccpd.conf
That mean you need to install 32bit library named: libxml2
If you have already installed this package, just restart the PC.

Trouble shooter

If checking captstatusui shown Printer is ready, but still not print, check if the printer is paused or not:

Go to CUPs page via any web browse:

http://localhost:631

Select tab Printers

Check printer status, if any printer is paused,
=> click on tab Maintenance,
=> choose resume Printer
=> Choose Print test page

If it prints successfully, then ok; if not, maybe turn off/ turn on your printer again.
If still not print => I am out of idea!
Good luck!

Edited:
One thing to remember, after installing, there are usually two printer appear: LBP2900 and LBP2900-2. Just using the LBP2900 and ignore the second one.

3 Likes

Well ccpd is running

[sjostrand@AMDRyzen ~]$ systemctl status ccpd
● ccpd.service - Canon CAPT daemon
Loaded: loaded (/usr/lib/systemd/system/ccpd.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2021-06-23 10:38:07 CEST; 25min ago
Process: 1395 ExecStart=/usr/bin/ccpd (code=exited, status=0/SUCCESS)
Main PID: 1399 (ccpd)
Tasks: 1 (limit: 77097)
Memory: 1.5M
CPU: 6ms
CGroup: /system.slice/ccpd.service
└─1399 /usr/bin/ccpd

jun 23 10:38:07 AMDRyzen systemd[1]: Starting Canon CAPT daemon…
jun 23 10:38:07 AMDRyzen systemd[1]: Started Canon CAPT daemon.

gives me error
/usr/sbin/ccpdadmin: command not found
what should i do

Try reading the thread - you need to install capt-src from AUR.
This is what contains that program.

btw:
you should not need to use the full PATH like /usr/sbin/ccpdadmin …
but you will need to run the command as root (via sudo)
like:
sudo ccpdadmin …

I still can’t get this printer to work I followed all the steps in the AUR I tried using kde printer setting thing and it works extremely well on other printers but just not this one.

1 Like

Thank you very much! I just joined this forum to say ‘thank you’. My lbp2900 probably more than 15 years or so old is up and running on the first try, on arch linux with sway/wayland, following your detailed instructions. For me, the instructions are spot on, every stage worked, and I didn’t even need to reboot the laptop to start printing. With only a couple alterations in the syntax to start and enable ccpd.service; that is I need to swap the place of the words start/enable from the end of the lines to the place between systemctl & ccpd.service. This post saved me from a lot of readings & headaches ;-D

ps: Not directly related to the above instructions: pacman (with multilib enabled) didn’t found “capt-src”; I needed to use yay for installing “capt-src”.

Good on you!
I shall (in time) correct the syntax errors in my post - I was working from memory …

1 Like