LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-25-2013, 11:55 AM   #1
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,733

Rep: Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832
Printer woes : Canon iSensys MF 8040 CN


Hi,

I'm currently setting up a complete Slackware network (server and desktop clients) in a local radio station. So far, the server is working great, and I have two desktop clients for a start. Eventually all ten machines will be migrated to Slackware. Currently the other client machines are running a mix of Windows XP and Ubuntu.

The Slackware clients are running crisp and clean with KDE as desktop and centralized authentication. Everything's perfect, and the only remaining problem is the darn printer.

It's not natively supported by CUPS, but Canon does provide drivers on its website for... Fedora and Ubuntu. So I downloaded the driver package, extracted the compressed archive, found various DEB and RPM packages for 32-bit and 64-bit, and decided to install the 64-bit RPMs with rpm -ivh --nodeps. (The PC does have a multilib layer installed). I did an rpm -ql to see what was installed, and all the files seemed to be in the right place. Except the printer won't even raise an eyebrow.

So my question to the CUPS gurus in this forum. Through which burning loop do I have to jump in order to get this thing to work? I'm clueless here.

Cheers,

Niki
 
Old 10-25-2013, 12:25 PM   #2
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,866

Rep: Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885
ldd the binaries within the package to make sure they have ask their dependencies fulfilled.

Also look at "rpm -q --scripts" for each package to check the post install scripts. they may have failed due to differences on slack.

Also why not extract the rpm contents with bsdtar or rpm2cpio and knock up a quick package?
 
1 members found this post helpful.
Old 10-25-2013, 12:28 PM   #3
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,866

Rep: Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885
rpm2tgz or src2pkg would have been two more options rather than installing the rpms directly.
 
2 members found this post helpful.
Old 10-25-2013, 04:50 PM   #4
Stuferus
Member
 
Registered: Jun 2013
Location: Germany
Distribution: Slackware
Posts: 141

Rep: Reputation: Disabled
i downloaded the driver to see whats in it.. i found a "source" folder in the zip file.. maybe youll try (makeing a slackbuild file and) compile from source?

greatings.
 
Old 10-25-2013, 07:35 PM   #5
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,464

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
A wild guess based on this thread. http://www.linuxquestions.org/questi...0/#post4886521

You may need a symlink like 'ln -s /lib64/ld-2.15.so /lib64/ld-lsb-x86-64.so.3'
 
Old 10-25-2013, 08:38 PM   #6
hernanmedellin
LQ Newbie
 
Registered: Mar 2006
Location: Monterrey, México
Distribution: Slackware-current
Posts: 14

Rep: Reputation: 2
Try this ...

Hi, I do not speak English, I'm using google translator ...

Is this the driver ???
http://www.canon-europe.com/Support/...&type=download


Run rpm2txz AS ROOT to convert the 2 packages (cndrvcups-common and cndrvcups-ufr2). Install the packages ...

Restart the CUPS server.

Is the printer connected to the network ? Configure the printer port like this : lpd://printer_ip_adress/print (queue name in lowercase), then select the driver (Canon MF8000C Series UFRII LT).

Let us know the result ... Greetings from México...
 
Old 10-25-2013, 10:47 PM   #7
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,733

Original Poster
Rep: Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832
Thanks everybody for all your numerous answers. I had to finish the install yesterday evening by any means, so in the end, I found a pragmatic solution. One of the desktop clients is supposed to remain with an Ubuntu LTS installation, so I simply connected the printer to this one client, installed the ready-made .deb drivers from Canon (which worked out of the box, well, sort of), activated printer sharing in Ubuntu's CUPS installation so all the Slackware clients can print to it. Not quite elegant, but it works. The folks at the radio station were happy, and I could go home at a decent hour.

Note to self: continue to boycott Canon for their crappy Linux support.
 
Old 10-26-2013, 02:43 AM   #8
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,386

Rep: Reputation: 1089Reputation: 1089Reputation: 1089Reputation: 1089Reputation: 1089Reputation: 1089Reputation: 1089Reputation: 1089
J'arrive après la bataille, but here is how Pat unpacks google-chrome's .deb tarball ( in /extra/google-chrome/google-chrome.SlackBuild):
Code:
ar p $CWD/google-chrome-${RELEASE}_current_${DEBARCH}.deb data.tar.lzma | lzma -d | tar xv || exit 1
.
 
Old 10-26-2013, 07:14 AM   #9
Raveriux
Member
 
Registered: Jul 2013
Location: Lithuania
Distribution: Slackware64 14, Slackware64 -current, Maemo
Posts: 79

Rep: Reputation: Disabled
I had a lot of problems with Cannon multifunctional and Slackware 14. Drivers compiled from source without problems, but printer refuses to work. problem was with CUPS 1.5.4 usb backend and kernel module usblp. Blacklisting that module solved all problems. In Slackware current the usblp is blacklisted now.
 
Old 10-26-2013, 11:53 AM   #10
Stuferus
Member
 
Registered: Jun 2013
Location: Germany
Distribution: Slackware
Posts: 141

Rep: Reputation: Disabled
i would have pluged the printer in the network (at least it is a network printer) and compile the driver from the sourcefiles in the zip.. that way no computer would have to be running to print.. oh well.. as long as the people at the radio are happy all is fine.
 
Old 10-28-2013, 02:10 AM   #11
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,866

Rep: Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885
Quote:
Originally Posted by Didier Spaier View Post
J'arrive après la bataille, but here is how Pat unpacks google-chrome's .deb tarball ( in /extra/google-chrome/google-chrome.SlackBuild):
Code:
ar p $CWD/google-chrome-${RELEASE}_current_${DEBARCH}.deb data.tar.lzma | lzma -d | tar xv || exit 1
That is one way to extract the contents of a deb but IMHO it is not the best way. I would rather use bsdtar instead:

Code:
bsdtar xOf $CWD/google-chrome-${RELEASE}_current_${DEBARCH}.deb data.tar.* | bsdtar xvf - || exit 1
The advantage of this method is that it will continue to work even if the internal compression method changes (e.g. to XZ) because bsdtar allows globbing when extracting files (i.e. data.tar.*), while ar does not. Additionally, bsdtar can detect and handle automatic decompression of archives received through a pipe without having to specify the compression type, unlike GNU tar.

Last edited by ruario; 10-28-2013 at 02:16 AM. Reason: Quoted too much initially
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 12.04 LTS installed, Asus laptop, Canon printer & Canon scanner not working. EatonWF Linux - Newbie 2 07-12-2012 10:44 AM
Brother DCP 8040 Printer on Zorin OS 5 Lite (Ubuntu-Lubuntu) mogrady Ubuntu 3 07-30-2011 11:18 AM
CUPS and Canon MP190 printer. Print quality and printer sharing... SFGAirborne Linux - Hardware 1 12-14-2010 05:55 AM
Installing Canon LBP USB Printer as network printer on a Fedora Core without XWindow boy3dfx2 Linux - Newbie 5 06-03-2006 01:23 PM
canon printer Smokeyone Linux - Hardware 4 10-12-2005 12:37 AM


All times are GMT -5. The time now is 05:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration