Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
By accident I bought Canon i-sensys LBP 5050 printer to use with my Fujitsu-Siemens with AMD64bit running Ubuntu. I have noticed that there is no support for this very printer. Does anyone know any workaround?
Click here to see the post LQ members have rated as the most helpful post in this thread.
The good news are that Canon has official drivers for some CAPT LBP machines (cheaper machines, mine is a LBP2900). Some other printers are PCL or PS machines that can run on generic drivers.
The bad news are that LBP5050 is not supported yet (but it may work with other driver, or may be supported later), and that AMD64 is not officially supported. You'll need some ia32 libs installed, and you'll need to install both packages with dpkg -i --force-architecture (at least, in latest releases they ship .deb packages).
I am on Mageia 5 with a Lenovo G580 laptop. I have all the downloads and have installed the cups system from the repositories. Did all the read ups I could find until now, but still fail to make things work.
I have done the
urpmi cndrvcups-capt-2.20-1.x86_64.rpm
urpmi cndrvcups-common-2.20-1.x86_64.rpm commands. Mageia is rpm based, urpmi is a contributed command.
The first line in Pentti's post means that rc.cups should be on the system. I cannot even remotely find it.
Code:
[root@localhost /]# locate rc.cups
[root@localhost /]# find rc.cups
find: ‘rc.cups’: No such file or directory
[root@localhost /]#
Seems I need to find the correct sequence of actions. This relates to cups-pdf as well.
It is a requirement that your version numbers are the same.
Got this from previous downloads; v2.20 & v2.60, on other sites.
My problem lies in dealing with the command line. Did read Bill Shotts' unusual approach on that subject. Further info at http://linuxcommand.org. This was really very helpful. However; when I do as suggested in these and other posts, I do not get the desired results. I am definitely missing something. What?
Read several other Introductions to Linux. All the same, not a word on the nitty gritty. Then found this site with some install instructions that make sense.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
OK, so you're saying no one can use the Linux drivers because they're not the same version. That doesn't sound right. Why would Canon do that? There must be something else afoot.
You can convert rpms to debs with alien. Or. you can unwrap the packages with rpm. Let's be serious! It simply can't be that no one can use those drivers!
5. Cautions, Limitations, and Restrictions --------------------------------------
- Ghostscript which includes common API is required to use this printer driver.
Make sure to install Ghostscript before installing this printer driver.
Refer to the following URL to find out how to get Ghostscript.
http://opfc.sourceforge.jp/index.html.en
- If you install "cndrvcups-common" package version 1.80, make sure you install
the same version of the "cndrvcups-capt" package, i.e. 1.80.
Before this, as I said, when doing urpmi on v2.20 and v2.60 in Mageia 5, the same caution was mentioned.
When I did the urpmi on cndrvcups-capt-v2.71 it stopped the install process, complaining the cndrvcups-common-v2.31 is incompatible. Period. I saw this difference beforehand and thought; OK, seems they must have matched it up and found it OK. Not so.
I do not think there is anything sinister in having need to use the same versions in apps. Their common cups is OEM for the universal cups system and the capt cups, also OEM, would link the printer to the universal system. Makes sense. Also makes sense that a developer would upgrade linked software like this in tandem. How would you execute a development philosophy such as this? Take into account that you have a commercial company in fierce competition with others to take care of. No stake in Canon here, though. Just thinking.
Posts here and elsewhere show that Canon had few Linux drivers just 5-6 years ago. Now the place is awash in them. Just in the last week saw some 1.4 something MILLION downloads! Power of Linux, what! Just shows to go ya.
Peace, bro.
I stand corrected. Went to that URL; http://opfc.sourceforge.jp/index.html. Got some wake up call!! In 2008! all sorts were available for all sorts of Linux OS's. But that just puts the point to it. Canon does have a substantial company policy. You cannot fool all the people all the time. Canons work like wire pliers all the time.
Last edited by Krabor; 05-25-2017 at 10:42 PM.
Reason: Relevant new info to me.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
Maybe you could just let Canon know that the driver they have for download on their site cannot be used, and they should make it so it can be used. I don't have that printer. But if I did I would definitely notify Canon of an unusable Linux driver.
Yes, I will do that. Otherwise their printers are top notch. Had several from bubble jets to lasers.
On another level.
Made the mistake of not installing Ghostscript before doing the Canon installs. Then "uninstalled" the Canon drivers as shown on their Readme to re-install after doing GS. Then urpmi notified me that these drivers are already installed. I know it is possible to go ahead and delete any and all things Canon in the directories, but that does not take care of the dependencies and such like. No good way to run a system.
Also as part of learning how Linux works, how do I do this, that is uninstall, correctly? That would be first choice, but if I have to re-install Mageia, then so be it. Easy and quick enough to do.
Went back and checked my work;
Code:
[root@localhost OEM]# cd /
[root@localhost /]# /usr/sbin/ccpdadmin -x cndrvcups-capt-2.60-1.x86_64.rpm
CUPS_ConfigPath = /etc/cups/
LOG Path = None
UI Port = 59787
Entry Num : Spooler : Backend : FIFO path : Device Path : Status
----------------------------------------------------------------------------
[root@localhost /]# /usr/sbin/ccpdadmin -x cndrvcups-common-2.60-1.x86_64.rpm
CUPS_ConfigPath = /etc/cups/
LOG Path = None
UI Port = 59787
Entry Num : Spooler : Backend : FIFO path : Device Path : Status
----------------------------------------------------------------------------
[root@localhost /]# /usr/sbin/lpadmin -x cndrvcups-capt-2.60-1.x86_64.rpm
lpadmin: The printer or class does not exist.
[root@localhost /]# /usr/sbin/lpadmin -x cndrvcups-common-2.60-1.x86_64.rpm
lpadmin: The printer or class does not exist.
[root@localhost /]# urpme cndrvcups-capt-2.60-1.x86_64.rpm
unknown package: cndrvcups-capt-2.60-1.x86_64.rpm
[root@localhost /]# urpme cndrvcups-capt-2.60-1.x86_64.rpm
unknown package: cndrvcups-capt-2.60-1.x86_64.rpm
[root@localhost LBP]# cd /home/caldon/Executives/Canon/LBP/OEM; ls
cndrvcups-capt-2.60-1.x86_64.rpm cndrvcups-common-2.60-1.x86_64.rpm
[root@localhost OEM]# urpmi cndrvcups-capt-2.60-1.x86_64.rpm
Package cndrvcups-capt-2.60-1.x86_64 is already installed
[root@localhost OEM]# urpmi cndrvcups-common-2.60-1.x86_64.rpm
Package cndrvcups-common-2.60-1.x86_64 is already installed
[root@localhost OEM]#
And an error correction. The cndrvcups-common version is 3.21, NOT 2.31.
Last edited by Krabor; 05-27-2017 at 02:16 PM.
Reason: Additional info & error correction.
Pascal Rigaux authored the urpmi package manager for Mageia. Mageia is rpm based. This is very similar to the Redhat rpm manager and as full featured. The commands are urpmi (install), urpme (remove), urpmq (query) and so on. And, as you said, there are options (switches). In fact reason for being careful as in the Windows mess. Things not being cleaned up properly, not to compare Linux to that.
If I do;
Code:
locate cndrvcups-capt-2.60-1.x86_64.rpm
after having uninstalled, nothing is found except .tar.gz files in my Downloads directory. That could then mean there is some switch left somewhere for urpmi to pick up. Bygone memories of AllocMem() and related issues on the old Amiga A500. Unix machine. Must be. Bought mine in 1987, before Windows 3.1. Colour screen, Workbench, mouse and so on.
Just seriously averse to crashing computers. Back ups no issue. Resent wasted down time for repairs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.