[needs-packaging] Canon UFR II driver needs packaging

Bug #502920 reported by Chris Puttick
126
This bug affects 24 people
Affects Status Importance Assigned to Milestone
Ubuntu
Expired
Wishlist
Unassigned

Bug Description

Canon have thoughtfully provided GPL driver for a great number of their printers (all those that support UFR). A recent version (functioning with K/Ubuntu 9.04 and 9.10) of the driver can be found here:

http://software.canon-europe.com/software/0031040.asp?model=

A newer version has been found here:

http://support-my.canon-asia.com/contents/MY/EN/0100093001.html

although I have personally not yet tested it.

Philip Muškovac (yofel)
tags: added: needs-packaging
Revision history for this message
Brian Murray (brian-murray) wrote :

*** This is an automated message ***

This bug is tagged needs-packaging which identifies it as a request for a new package in Ubuntu. As a part of the managing needs-packaging bug reports specification, https://wiki.ubuntu.com/QATeam/Specs/NeedsPackagingBugs, all needs-packaging bug reports have Wishlist importance. Subsequently, I'm setting this bug's status to Wishlist.

summary: - Canon UFR II driver needs packaging
+ [needs-packaging] Canon UFR II driver needs packaging
Changed in ubuntu:
importance: Undecided → Wishlist
Revision history for this message
Joseph Reeves (iknowjoseph) wrote :

With Ubuntu 9.10 the two relevant debs only install if you ignore a spurious error about libcupsys2 not being installed.

Revision history for this message
Bertrand Mathieu (bmat) wrote :

About comment #2: canon provides deb packages only for 32 bits systems; for 64 bits they have built only RPMs.

This driver supports enterprise class printers (like theses: http://www.canon.co.uk/For_Work/Products/Office_Print_Copy_Solutions/Office_Black_White/index.asp), so it would be definitely worth it to have it integrated in Ubuntu.

Revision history for this message
Morten Minke (morten-amagi) wrote :

I tried the 32bit drivers on my 64bit 9.10 ubuntu and recently I upgraded to 10.04 (64bit). I had hoped that maybe with the 32bit compatibility libraries this could work, but I keep getting errors when printing.

I really hope this driver gets included in the default stack of ubuntu packages for both 32bit and 64bit versions.

Revision history for this message
Aurelien Jacobs (aurel) wrote :

I've Just got a Canon iRC2880 working on ubuntu 10.10 64 bits.

Here is what I did.

I got the UFR II drivers v2.10 from http://fr.software.canon-europe.com/
I converted the 64 bits rpm files using alien and I installed them :
    alien cndrvcups-common-2.10-1.x86_64.rpm
    alien cndrvcups-ufr2-uk-2.10-1.x86_64.rpm
    dpkg -i cndrvcups-common_2.10-2_amd64.deb
    dpkg -i cndrvcups-ufr2-uk_2.10-2_amd64.deb

Then I added the printer in the ubuntu printer manager. Everything went smoothly, but when I printed the test page (or anything else), I got only this on the paper :
    **** Unable to open the initial device, quitting.

It took me some time to understand that some part of the 64 bits driver are still 32 bits and depends on some other 32 bits libs, so I installed ia32-libs :
    apt-get install ia32-libs

And after this, the printer is working perfectly !

It would be nice to have an ubuntu package for this driver, but note that it is not GPL. It contains some close source library and the licence contains some strong restrictions.

Revision history for this message
Chris Puttick (cputtick) wrote :

Interesting, the latest package does contain a different licence - I'm *fairly* sure the one I first encountered only had a GPL licence attached, although that may have been a mistake on the part of the Canon people. Still, included as package in partners or whatever makes sense - adding a printer in Linux should always be easier than on Windows :)

Revision history for this message
gmoore777 (guy-moore) wrote :

I had same problem: "PDL IMG Invalid Data" on the screen of our new Canon imageRunner Advance C5030 printers.

The link I used was:
http://support-my.canon-asia.com/P/search?category=Business+Multi-function+Devices&series=imageRUNNER+ADVANCE+series&model=iR-ADV+C5030&menu=download&filter=0

and at bottom of that page is a link to:
http://support-my.canon-asia.com/contents/MY/EN/0100270807.html
The download button at the very bottom.

Followed above instructions in comment #5 above by Aurelien Jacobs.(thank you Aurelien!)

All is well now.

Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote :

Is there a bug for packaging the standard CAPT driver? It is already packaged, available in the PPA at https://launchpad.net/~michael-gruz/+archive/canon

Installation instructions and other details at https://help.ubuntu.com/community/CanonCaptDrv190

It would be nice if it were available in the Universe repository.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Brian Bloniarz (brianbloniarz) wrote :

I've been following Aurelian's directions, that worked fine until the Precise upgrade. Under Precise (64bit), I had to add these hacks:

1) AppArmor denies the CUPS executables which the driver needs. Add to /etc/apparmor.d/local/usr.sbin.cupsd:
  /usr/lib64/cups/backend/cnusb Uxr,
  /usr/lib64/cups/filter/pstoufr2cpca Uxr,

2) The dpkg-ified RPMs will install libraries into /usr/lib64, workaround by symlinking:
ln -s /usr/lib64/lib* /usr/lib/x86_64-linux-gnu/

3) Install libjpeg62:i386.

Revision history for this message
Duongkinden (duongcdtin5) wrote :

Thank you very much Brian Bloniarz. It worked fine for me (Ubuntu 12.03 64Bit, Canon UFRII)

Revision history for this message
Juan Francisco Contreras García (juanfcocontreras) wrote :

Thanks a lot! I also found a lot of info in http://ubuntuforums.org/showthread.php?p=12107374 but I prefer your symlink to solve all the lib64 issues.

Revision history for this message
Bob Vincent (pillarsdotnet) wrote :

And here's a shell script to download, compile, and install the driver.

Revision history for this message
Michael Brehmer (mbr-j) wrote :

Dear Bob,
thanks for your sript!

I got some error:
"install -c -m 644 data/CNZ0* /home/michael/Arbeitsfläche/ba-system/Canon/neu/Linux_UFRII_PrinterDriver_V250_uk_EN/Sources/cndrvcups-common-2.50/debian/cndrvcups-common/usr/share/caepcm
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installexamples
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg: Fehler beim Bearbeiten von cndrvcups-common_2.50-1_amd64.deb (--install):
 Auf das Archiv kann nicht zugegriffen werden: Datei oder Verzeichnis nicht gefunden
Fehler traten auf beim Bearbeiten von:
 cndrvcups-common_2.50-1_amd64.deb"

Could you please check your script and fix these error.

Regards Michael

Revision history for this message
Bob Vincent (pillarsdotnet) wrote :

Try this script. It will create a "build.log" file. If it fails, please attach the "build.log" file to your next comment so I can see what went wrong.

Revision history for this message
Bob Vincent (pillarsdotnet) wrote :

Sorry; the output file is called "build.out" rather than "build.log"

Revision history for this message
Bob Vincent (pillarsdotnet) wrote :

Made another mistake. Try this one instead.

Revision history for this message
Bob Vincent (pillarsdotnet) wrote :

(sigh)

Too much hurry.

Ignore that last.

Revision history for this message
Bob Vincent (pillarsdotnet) wrote :

Okay, this one is good, I think.

Revision history for this message
Bob Vincent (pillarsdotnet) wrote :

Same patches; just a little friendlier output.

Revision history for this message
Michael Brehmer (mbr-j) wrote :

Dear Bob,
now your script work without erros but if I print a test-page i got these error:
Sat 01 Sep 2012 10:10:08 AM CEST
"/usr/lib/cups/backend/lpd failed"

Revision history for this message
Bob Vincent (pillarsdotnet) wrote :

Try doing this:

sudo apt-get install libjpeg62:i386

If that works, let me know and I'll add it to the dependencies.

Revision history for this message
Michael Brehmer (mbr-j) wrote :

Dear Bob
now it works!

Thanks for your work, now I can print on my MF8050cn - can't belive it ;)

Revision history for this message
Bob Vincent (pillarsdotnet) wrote :

Okay, my problem is that I don't know how to make an amd64 package depend on an i386 package. Help, anyone?

Revision history for this message
Bob Vincent (pillarsdotnet) wrote :
Revision history for this message
Bob Vincent (pillarsdotnet) wrote :
Revision history for this message
Bob Vincent (pillarsdotnet) wrote :

Looks like I need to create a dummy package *only* for i386 arch that depends on libjpeg62.
Then I need to depend on the dummy package. Probably will call it "ia32-libjpeg62".
Easiest way to do that is to add "equivs" to the build-depends, I think.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Wine also creates a i386-only package that the amd64 package depends on

http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/quantal/wine1.4/quantal/view/head:/debian/control

Revision history for this message
Bob Vincent (pillarsdotnet) wrote :

Okay, this one creates and installs a libjpeg62-i386 package to satisfy the dependency.

On another topic, I cannot figure out *why* the amd64 package depends on the i386 libjpeg.so.62 library. The dependency appears to come from the Sources/cndrvcups-lb-2.50/libs/libcanonufr2.so.1.0.0 but it must be dynamically loaded in some way that I don't understand.

Revision history for this message
Bob Vincent (pillarsdotnet) wrote :

On a totally separate topic, the resultant binary .deb files cannot be distributed under GPL because they contain binaries for which Canon does not provide the source code.

Revision history for this message
Stephanie M Kendall (tolbunt5) wrote :

None of this worked for me. I have Ubuntu 10.04 and my printer is a Canon Pixma MX892. Brand new and I can't even use it. So frustrated!!!!!!! :(

Revision history for this message
Chris Puttick (cputtick) wrote : Re: [Bug 502920] Re: [needs-packaging] Canon UFR II driver needs packaging

For the Pixma ttry:

http://www.canon.co.uk/Support/Consumer_Products/products/Fax__Multifunctionals/InkJet/PIXMA_MX_series/PIXMA_MX894.aspx?DLtcmuri=tcm:14-921322&page=3&type=download

On 30 November 2012 02:54, Stephanie M Kendall <email address hidden> wrote:

> Canon Pixma MX892

--
@putt1ck
putt1ck.blogspot.com
http://twoten.is
http://crowdfunding.is
skype: putt1ck

Opinions in this email are my own and may not reflect that of my
clients, past employers, associates, friends, family, pets etc..

Documents attached to this email may be in ISO 26300 format:
http://iso26300.info

Revision history for this message
Stephanie M Kendall (tolbunt5) wrote :

Dang, that didn't work either. It downloaded really fast (small file) but I can't install it. :(  ~Stephanie

www.funkyfeathers.com

www.kendallphotography.org

https://yardsellr.com/yardsale/Funkyfeathers-Fancypoultryfarm-1473969

My ETSY shop:  http://www.etsy.com/shop/tolbunt5?ref=ss_profile

Our auctions: www.featherauction.com

www.peopletalkingonbananas.com

________________________________
 From: Chris Puttick <email address hidden>
To: <email address hidden>
Sent: Friday, November 30, 2012 1:36 AM
Subject: Re: [Bug 502920] Re: [needs-packaging] Canon UFR II driver needs packaging

For the Pixma ttry:

http://www.canon.co.uk/Support/Consumer_Products/products/Fax__Multifunctionals/InkJet/PIXMA_MX_series/PIXMA_MX894.aspx?DLtcmuri=tcm:14-921322&page=3&type=download

On 30 November 2012 02:54, Stephanie M Kendall <email address hidden>
wrote:

> Canon Pixma MX892

--
@putt1ck
putt1ck.blogspot.com
http://twoten.is
http://crowdfunding.is
skype: putt1ck

Opinions in this email are my own and may not reflect that of my
clients, past employers, associates, friends, family, pets etc..

Documents attached to this email may be in ISO 26300 format:
http://iso26300.info

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/502920

Title:
  [needs-packaging] Canon UFR II driver needs packaging

Status in Ubuntu:
  Confirmed

Bug description:
  Canon have thoughtfully provided GPL driver for a great number of
  their printers (all those that support UFR). A recent version
  (functioning with K/Ubuntu 9.04 and 9.10) of the driver can be found
  here:

  http://software.canon-europe.com/software/0031040.asp?model=

  A newer version has been found here:

  http://support-my.canon-asia.com/contents/MY/EN/0100093001.html

  although I have personally not yet tested it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/502920/+subscriptions

Revision history for this message
torzsmokus (torzsmokus) wrote :

Bob’s script depends on devscripts, libtool and automake.
on my 12.04 system it fails with "No package 'libglade-2.0' found" (I cannot even install it, there is only a libglade2-0 package, which is already installed)

But! there is a PPA now, from which I got packages that just worked. See http://askubuntu.com/a/182161/16985

Revision history for this message
Stephanie M Kendall (tolbunt5) wrote :

I tried to install the dependencies and I got the message : Reading state information... Done
E: Couldn't find package libc:i386

www.funkyfeathers.com

www.kendallphotography.org

https://yardsellr.com/yardsale/Funkyfeathers-Fancypoultryfarm-1473969

My ETSY shop:  http://www.etsy.com/shop/tolbunt5?ref=ss_profile

Our auctions: www.featherauction.com

www.peopletalkingonbananas.com

________________________________
 From: torzsmokus <email address hidden>
To: <email address hidden>
Sent: Sunday, January 20, 2013 4:38 AM
Subject: [Bug 502920] Re: [needs-packaging] Canon UFR II driver needs packaging

Bob’s script depends on devscripts, libtool and automake.
on my 12.04 system it fails with "No package 'libglade-2.0' found" (I cannot even install it, there is only a libglade2-0 package, which is already installed)

But! there is a PPA now, from which I got packages that just worked. See
http://askubuntu.com/a/182161/16985

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/502920

Title:
  [needs-packaging] Canon UFR II driver needs packaging

Status in Ubuntu:
  Confirmed

Bug description:
  Canon have thoughtfully provided GPL driver for a great number of
  their printers (all those that support UFR). A recent version
  (functioning with K/Ubuntu 9.04 and 9.10) of the driver can be found
  here:

  http://software.canon-europe.com/software/0031040.asp?model=

  A newer version has been found here:

  http://support-my.canon-asia.com/contents/MY/EN/0100093001.html

  although I have personally not yet tested it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/502920/+subscriptions

Revision history for this message
Duongkinden (duongcdtin5) wrote :

UFR II Printer Driver for Linux Version 2.60

http://support-au.canon.com.au/contents/AU/EN/0100270808.html

Revision history for this message
Chris Rainey (ckrzen) wrote :

Ubuntu 9.10 (karmic) reached end-of-life on April 30, 2011.
Ubuntu 9.04 (jaunty) reached end-of-life on October 23, 2010.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in and change the bug status to Confirmed.

Changed in ubuntu:
status: Confirmed → Invalid
status: Invalid → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu because there has been no activity for 60 days.]

Changed in ubuntu:
status: Incomplete → Expired
To post a comment you must log in.