After installing Solus OS, it was necessary to configure the Canon LBP 3000 printer for printing.
So:
1.Download the CAPT driver from github
- Next, open the folder where the driver file is located and enter the Terminal from it, login to root and execute the command:
sudo eopkg install canon-capt-drivers-2.71-1-1-x86_64.eopkg --ignore-file-conflicts
Give consent with the installation of dependencies ("Yes", "Yes"...)
Upon completion, there should be a message: "canon-capt-drivers installed".
3.Next, enter the command to prevent printer duplication (automatic search for a new printer, when connecting it to USB. Otherwise, the printer will not print. Checked):
sudo eopkg remove system-config-printer
- Next, add the printer and register it in the print spooler and in the ccpd daemon setup file:
sudo lpadmin -p LBP3000 -m CNCUPSLBP3000CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E
sudo ccpdadmin -p LBP3000 -o /dev/usb/lp0
NOTES: After executing the first command (see step 4), we will see a pop-up message "Printer added" on the screen. Our printer Canon LBP 3000 will appear in the "Printers" section.
After executing the second command (see item 4), the terminal should show a table where our printer will appear and the "NEW!" (or "Modified!")
The driver is also suitable for many other models that use CAPT (for example: Canon LBP 2900). In commands, instead of "3000" it will be necessary to substitute your own number corresponding to the model).
To ensure the correct operation of the services, create a unit:
sudo nano /etc/systemd/system/ccpd.service
paste the text:
[Unit]
Description=CCPD Printing Daemon
Requires=cups.service
After=cups.service
[Service]
Type=forking
ExecStart=/usr/sbin/ccpd
TimeoutSec=30
[Install]
WantedBy=default.target!<
(save what you have added and close the nano editor!)
- Enter and execute commands to restart, start and configure services:
sudo systemctl stop org.cups.cupsd.service
sudo systemctl start org.cups.cupsd.service
sudo /etc/init.d/ccpd start
sudo systemctl daemon-reload
sudo systemctl reenable ccpd.service
NOTES: after executing the 3rd command (point 6), the terminal will display a message like "Started /usr/sbin/ccpd ..."
after executing the last command, a message will appear like: "Created symlink /etc ..."
- Reboot the computer.
- Connect the printer to USB and check the print function.
After these steps, printing will work as expected !