1. Enable 32-bit.
Code: Select all
sudo dpkg --add-architecture i386
sudo apt update
If you hadn't installed cups already install cups and also along with other printer drivers.
Code: Select all
sudo apt-get --no-install-recommends --no-install-suggests install cups system-config-printer system-config-printer-udev printer-driver-gutenprint foomatic-db-compressed-ppds
Code: Select all
sudo systemctl enable cups.service
When installing the 32 bit driver dpkg at first will not install as there will be missing 32-bit libraries
Code: Select all
sudo dpkg -i cndvcups-common_3.21-1_i386.deb
sudo apt install -f
sudo dpkg -i cndvcups-capt_2.71-1_i386.deb
sudo dpkg -i cndvcups-common_3.21-1_amd64.deb
sudo dpkg -i cndvcups-capt_2.71-1_amd64.deb
After installing the drivers edit the edit the /etc/init.d/ccpd file with the following info below the
#!/bin/sh
Code: Select all
### BEGIN INIT INFO
# Provides: ccpd
# Required-Start: $local_fs $remote_fs $syslog $network $named
# Should-Start: $ALL
# Required-Stop: $syslog $remote_fs
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Description: Start Canon Printer Daemon for CUPS
### END INIT INFO
Code: Select all
sudo systemctl cups restart
sudo /etc/init.d/ccpd start
5. Create a ccpd2 unit file
create a file called ccpd2.service in /etc/systemd/system with the following content
Code: Select all
[Unit]
Description=Printer daemon for Canon printers
Requires=cups.service
After=cups.service
[Service]
ExecStart=/usr/sbin/ccpd
Type=forking
[Install]
# To run the daemon always when the system is up
# WantedBy=multi-user.target
# To run the daemon when a printer is attached
WantedBy=printer.target
Code: Select all
sudo systemctl enable ccpd2.service
sudo systemctl restart cups.service
Code: Select all
sudo lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp:localhost:59687 -E
Code: Select all
sudo ls /dev/usb/
Code: Select all
sudo ccpdadmin -p LBP2900 -o /dev/usb/lp0
sudo ccpdadmin
Code: Select all
sudo systemctl restart cups.service
sudo systemctl restart ccpd2.service
Code: Select all
sudo lpadmin -d LBP2900
Code: Select all
captstatusui -P LBP2900
Code: Select all
sudo systemctl stop cups.service
sudo systemctl start cups.service
sudo /etc/init.d/ccpd restart
1. https://underr.space/notes/it/it-0012.html [Original Author]
2. https://github.com/gkr09/Canon-CAPT
3. https://gist.github.com/akikoskinen/98b ... d2-service
4. https://debianforum.ru/index.php?topic=13400.0