LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Canon LBP 5050: any chance? (https://www.linuxquestions.org/questions/linux-newbie-8/canon-lbp-5050-any-chance-733956/)

khuhtala 06-18-2009 01:14 PM

Canon LBP 5050: any chance?
 
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?

John VV 06-18-2009 01:36 PM

Can you return the printer ?

Cannon has VERY little support for linux ( the drivers that are around have been , for the most part, made by users )

NeddySeagoon 06-18-2009 02:20 PM

khuhtala,

This page may help a little. Its for the LBP-5000. It doesn't look too good.

Zup 06-18-2009 03:41 PM

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).

Pentti Poytakangas 04-02-2011 05:31 AM

this way lbp5050 slack64-13.1
 
get source http://www.downloadnew.org/drivers/p...ad-516028.html
CAPT_Printer_Driver_for_Linux_V220_uk_EN.tar.gz


$ sudo /etc/rc.d/rc.cups restart
$ sudo /usr/sbin/lpadmin -p LBP5050 -m CNCUPSLBP5050CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E
$ sudo /usr/sbin/ccpdadmin -p LBP5050 -o /dev/usb/lp0


$rpm2tgz cndrvcups-capt-2.20-1.i386.rpm
$rpm2tgz cndrvcups-common-2.20-1.i386.rpm
or
$rpm2tgz cndrvcups-capt-2.20-1.x86_64.rpm
$rpm2tgz cndrvcups-common-2.20-1.x86_64.rpm

#installpkg cndrvcups*.tgz

#mkdir /var/captmon

#mkdir /var/ccpd

#mkfifo /var/ccpd/fifo0

#chmod 777 /var/ccpd/fifo0

#chown root /var/ccpd/fifo0

#chmod -R a+rx /usr/share/cups/model

#/etc/rc.d/rc.cups restart

#/usr/sbin/lpadmin -p LBP5050 -m CNCUPSLBP5050CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E

#/usr/sbin/ccpdadmin -p LBP5050 -o /dev/usblp0

#cp /etc/init.d/ccpd /etc/rc.d/rc.ccpd

#chmod +x /etc/rc.d/rc.ccpd

#pico /etc/rc.d/rc.local
/etc/rc.d/rc.ccpd start

#start ccpd

#/etc/rc.d/rc.ccpd start

CHECK:

#ccpdadmin
Usage:
ccpdadmin [-p Printer-name -o Printer-dev-path]
ccpdadmin [-x Remove-Printer-name]


CUPS_ConfigPath = /etc/cups/
LOG Path = None
UI Port = 59787

Entry Num : Spooler : Backend : FIFO path : Device Path : Status
----------------------------------------------------------------------------
[0] : LBP5050 : ccp : /var/ccpd/fifo0 : /dev/usblp0 :



captstatusui -P LBP2900

Krabor 05-23-2017 06:46 AM

At a slight loss here.
 
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.

Any ideas much appreciated, thanks.

AwesomeMachine 05-24-2017 12:13 AM

At the bottom of this p[age are linux drivers: http://www.supportcanon.com/canon-lb...iver-download/

Krabor 05-24-2017 04:10 AM

Not working.
 
Thanks, but the unzipped folders give you this;

Code:

cndrvcups-capt-2.71-1.x86_64.rpm
cndrvcups-common-3.21-1.x86_64.rpm.

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.

https://www.driverprintercanon.com/c...wnload-manual/

Will try it. Will post, Thanks.

AwesomeMachine 05-25-2017 08:22 PM

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!

Krabor 05-25-2017 10:25 PM

Seriously, no jokes here.
 
This comes form a pdf published by Canon;

Code:

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.

AwesomeMachine 05-25-2017 11:28 PM

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.

Krabor 05-27-2017 01:44 PM

Good point.
 
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.

AwesomeMachine 05-27-2017 05:15 PM

Try:
Code:

$ urpme ./cndrvcups-capt-2.60-1.x86_64.rpm
Also, you probably need some switches for urpme to install the rpms. I don't have mandriva. But you could view the man page:
Code:

$ man urpme

Krabor 05-28-2017 02:56 AM

Thanks, will do.
 
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.

But thanks again. I will win this.

AwesomeMachine 05-30-2017 01:20 AM

I think it's worthwhile to learn the operating system. The package manager should not remove the rpm file itself.

Krabor 05-30-2017 03:02 AM

At first I was at a loss for words. Anything I said would sound like complaining, but you gave me the answer. Richard is not childish, he is naive. Linus Torvalds likewise. Here;

https://www.youtube.com/watch?v=ZPUk1yNVeEI

he carries on about Linux not being successful on the desktop because of its diversity of application as against cellphones and tablets. If what he says about GPLv3 is true here;

https://www.youtube.com/watch?v=PaKIZ7gJlRU

, no doubt it is, then Richard just shot himself in the foot as goes free software.

Both miss the point. No defenses in any direction, but Bill Gates got it. Whether he can program or not is completely besides the point. Dr Napoleon Hill in his book Think and Grow Rich formalized this point somewhere in 1924 already. To sell ANYTHING, you have to sell YOURSELF first.

Advice to budding authors; If you want to become rich from writing, Write for those who read with their lips and follow with their fingers. Windows wasn't written for the IBM AT. It was written for the Amiga A500! A Unix system! Microsoft holds the copyright for AmigaBASIC. Check out the User Manual copyright fly leaf. AmigaBASIC could handle Window(7). I bought mine in December 1987 in South Africa. We are always late in getting new stuff.

Bill Gate understood these two points. He caught all the flies with sugar!

Richard is naive in having it on about the convenience some Linux distro's offer as a trade off against freedom. That trivializes the user's situation. I need to get work done, whether for the boss or for my own business. Exactly the computer caused things to go even faster. There is no more time to fix broken wheels never mind re-invent them.

All these arguments and justification of Linux mean exactly nothing. Linux will not get anywhere unless and until the LInux community as a whole FORGET Linux and get to the user. Period. In the Vietnam war the Americans experimented with two battalions. One got ice cream and mail, the other the dog's hind leg. The latter suffered the most deaths in combat. Shows ta go ya.

Get one thing straight. I am busy learning the system. And I am damn good at that. But right now, first priority, I need to get work done to get paid money. I need to get basic things working. As well make no mistake, I have been sifting through reams of command lines and books. Nowhere do find I how the system works. Everything you see on the net is monkey see, monkey do stuff. Teaches you nothing about the system.

What happens BEHIND the command line?

Everything one man knows can be taught to another - Read The Richest Man in Babylon.
Corollary. If that man cannot explain it simple, clear language, he does not know the subject.

Thank you for your civil attitude and forbearance. I will not waste your time any longer.

The newbie is the coal face. The Linux community need to flick the chip off the shoulder.

No, that is not said in spite. It is the inconvenient, unpleasant truth we have to face.

Pentti Poytakangas 07-12-2017 08:58 AM

Hello!
I use slack64-14.2
That oldway workin.

You must have MULTILIB installed.
Canon driver have 32bit code.

First rpm>tgz and install them.
Only thing that there no anymore /dev/lp0 or /dev/usb/lp0
put this line /sbin/modprobe usblp to /etc/rc.local
reload /etc/rc.local
check lsmod

Module Size Used by
option 42447 0
usb_wwan 8254 1 option
usbserial 27928 2 option,usb_wwan
usblp 11752 0

Then edit /etc/ccpd.conf put this there

<Printer LBP5050>
DevicePath /dev/usb/lp0
</Printer>

Check /dev/usb/lp0 is there
If you have two printer.Canon must load first or Canon can be /dev/usb/lp1 ;)

I hope this help somebody.

Pentti Poytakangas 07-12-2017 10:01 AM

Hello!

install multilib if you have 64bit system.
Download canon drivers.I have 2.70 version an it works.
#rpm2tgz cndrvcups-capt-2.70-1.x86_64.rpm
#rpm2tgz cndrvcups-common-2.70-1.x86_64.rpm
#install cndrvcups-capt-2.70-1.x86_64.tgz
#install cndrvcups-common-2.70-1.x86_64.tgz
#mkdir /var/captmon
#mkdir /var/ccpd
#mkfifo /var/ccpd/fifo0
#chmod 777 /var/ccpd/fifo0
#chown root /var/ccpd/fifo0
#chmod -R a+rx /usr/share/cups/model
#/etc/rc.d/rc.cups restart
#cp /etc/init.d/ccpd /etc/rc.d/rc.ccpd
#chmod +x /etc/rc.d/rc.ccpd

find /etc/rc.d/rc.local and put these in it.

/etc/rc.d/rc.ccpd start
/sbin/modprobe usblp


find /etc/ccpd.conf and put these in it.

<Printer LBP5050>
DevicePath /dev/usb/lp0
</Printer>

start printer

check
#lsmod .
usblp 11752 0

check there is /dev/usb/lp0

#/usr/sbin/lpadmin -p LBP5050 -m CNCUPSLBP5050CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E

#/usr/sbin/ccpdadmin -p LBP5050 -o /dev/usb/lp0

CUPS_ConfigPath = /etc/cups/
LOG Path = None
UI Port = 59787

Entry Num : Spooler : Backend : FIFO path : Device Path : Status
----------------------------------------------------------------------------
[0] : LBP5050 : ccp : /var/ccpd/fifo0 : /dev/usb/lp0 : Modified


CHECK:

#ccpdadmin
Usage:
ccpdadmin [-p Printer-name -o Printer-dev-path]
ccpdadmin [-x Remove-Printer-name]


CUPS_ConfigPath = /etc/cups/
LOG Path = None
UI Port = 59787

Entry Num : Spooler : Backend : FIFO path : Device Path : Status
----------------------------------------------------------------------------
[0] : LBP5050 : ccp : /var/ccpd/fifo0 : /dev/usb/lp0 :


This like that older quide.
You need multilib.
Only thing is there is no amymore /dev/usb/lp0 in system.
We must load it in boot.

Krabor 07-13-2017 11:54 AM

Thank you, I will check it out.


All times are GMT -5. The time now is 01:38 AM.