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.