Category: Computers

Canon 2900 working on linux

Getting a canon lbp 2900 working on linux in 2018

After a lot googling I found the printer should work fine on Linux, but it is a PAIN TO GET WORKING!

So what i have here is a ubuntu 18.04 LTS version
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION=”Ubuntu 18.04 LTS”

First, I got the drivers from canon: http://support-asia.canon-asia.com/contents/ASIA/EN/0100459601.html

tar -zxvf linux-capt-drv-v271-uken.tar.gz
cd linux-capt-drv-v271-uken/64-bit_Driver/Debian
sudo dpkg -i cndrvcups-common_3.21-1_amd64.deb
sudo dpkg -i cndrvcups-capt_2.71-1_amd64.deb

Be aware, use your own filenames the versions are newer ones so change new version numbers there what you downloaded.

install the driver:

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

sudo /usr/sbin/ccpdadmin -p LBP2900 -o /dev/usb/lp0   #BE Sure replace the lp0 with your printerport do ls /dev/usb mine was lp1!!!

sudo /etc/init.d/ccpd start

now the driver is installed and daemon started it still not work, it will do an error ccp send_data error, exit
the reason for this error is because there is missing 32bit libs, and there is very little information about this problem, you will install libs:

sudo dpkg –add-architecture i386
sudo apt-get update
sudo apt-get install libatk1.0-0:i386 libcairo2:i386 libgtk2.0-0:i386 libpango1.0-0:i386 libstdc++6:i386 libxml2:i386 libpopt0:i386

After installation you need to restart all services:

riku@mythtv2:~$ sudo killall ccpd
riku@mythtv2:~$ sudo systemctl restart cups
riku@mythtv2:~$ sudo /etc/init.d/ccpd start

Now you go into your cups webpage and print test page. be aware you need edit cups.conf to allow your IP if using over a network.

Good cheap CLOUD storage up to 10T best cloud storage service

HUBIC Good backup space, works linux/mobile/windows/etc

logo

I have been using now about a year hubic cloud storage, it will give free 25Gig space for you. (been using free plan)

If you want more space, it will cost 50€ for a year or 5€/month for 10T. What makes cheapest cloud ever.

Hubic is part of OVH-Hosting its very big and trusted company, so this is risk-free. its best cloud backup service for the money.

If you are interested trying for free 25Gig account, do it here please, there is a referral program what gives you more space, what more friends you get.

 

QUICK TUTORIAL: Installing HUBIC on linux and mount a directory via mountpoint:
Im going trough very fast how you get hubic work on linux debian via mountpoint:

apt-get install gcc make curl libfuse-dev pkg-config libcurl4-openssl-dev libxml2-dev libssl-dev libjson-c-dev libmagic-dev
# IF YOU GET ERROR NOT FOUNT LIBJSON-C-DEV then Change it to libjson0-dev!
cd /tmp
wget https://github.com/TurboGit/hubicfuse/archive/master.zip
unzip master.zip
cd hubicfuse-master/
./configure
make
sudo make install

Setting up it:

Go to hubic my account -> setting -> developers -> Add an application -> add name some random text
hubic1

after you add those info press OK. then go details, you get this:

hubic2

Then continue on linux:

at the hubicfuse-master directory where you compiled the program there is a binary what will not install on system its called hubic_token.

./hubictoken

Fill the information:

hubic3

FILL EVERY QUESTION r -> r -> w -> wrd don’t leave it empty or it will FAIL!

now cut&paste those info to config file /root/.hubicfuse

nano /root/.hubicfuse

now mount it:

mkdir /mnt/hubic
hubicfuse /mnt/hubic -o noauto_cache,sync_read,allow_other
ls /mnt/hubic

its done! remember read readme of hubicfuse there is issues on root dir of cloud and renaming files, read the instructions.

REGISTER NOW HubiC it’s free!

If you like this, Please leave a comment 🙂