gkr09 / Canon-CAPT

Canon CAPT Drivers for Solus and others

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Canon-CAPT Printer Drivers

(for solus primarily but should work on other distros)

Drivers for Canon i-Sensys and LBP**** series Printers

This repo contains the Canon CAPT drivers and a Makefile written by me to install the Canon CAPT drivers effortlessy.

The Canon drivers are released under a proprietary license with opensource licensed components.

The driver folder structure is modified to get it to compile properly since some components like captstatusui, the printer status monitor were difficult to compile and so are included are binary blobs (extracted from Canon packaged rpm) in this repo.

Also included as a binary is the libpopt.so library since I couldn't find the 32 bit package for it in Solus.

Installing CAPT Drivers

Download the eopkg in the release section. Install it with the --ignore-file-conflicts flag. →i.e, in the directory containing the package,run sudo eopkg it --ignore-file-conflicts *.eopkg

OR

git clone https://github.com/gkr09/Canon-CAPT.git

cd Canon-CAPT

make install

Configuring the Printer

Open a terminal window and run the following commands sequentially.

sudo lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E

sudo ccpdadmin -p LBP2900 -o /dev/usb/lp0

sudo systemctl stop org.cups.cupsd.service (Stopping the cups daemon)

sudo systemctl start org.cups.cupsd.service (Restarting the cups daemon)

sudo /etc/init.d/ccpd start (Starting the ccp daemon, ccpd)

Now, to check whether the Printer is recognised, run captstatusui -P MODEL where MODEL is the Printer model no. like LBP2900,LBP3000 etc. For eg., captstatusui -P LBP2900 If everything is installed/configured fine the captstatusui window will show Ready to Print

Trouble ?

captstatusui window refuses to start with Socket Error :

                 Restart the cups daemon
         
         sudo systemctl stop org.cups.cupsd.service
         sudo systemctl start org.cups.cupsd.service
         sudo /etc/init.d/ccpd restart

captstatusui window shows No specified printer :

         1. Try reinstalling the printer again ,see above
         2. Try restarting your Computer.
         3. Restart the cups daemon and the ccp daemon (ccpd), see above

-Gopikrishnan R (github.com/gkr09)

About

Canon CAPT Drivers for Solus and others

License:MIT License


Languages

Language:C 78.3%Language:Shell 17.9%Language:Makefile 2.0%Language:C++ 0.8%Language:Objective-C 0.7%Language:Perl 0.1%Language:M4 0.1%