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

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:32 AM.