Canon ImageCLASS D480 driver install

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
needinfo

Canon ImageCLASS D480 driver install

Post by needinfo »

Canon ImageCLASS D480 all in one printer. Mint 16, 64 bit.

I found the driver on Canon's website. Followed the instructions to install the drivers.
Printer won't print. I found this in the doc file, "Not all of the 32-bit libraries required
for printing are included in the 64-bit version of Ubuntu." Mint is Ubuntu based, right?

I thought, "OK, I'll grab the two files I am missing." Fired up the package manager
and selected the first file "ia32-libs". Wow! It wants to bring in over 250 other files.

Scares me!

First, are all these files really needed? Is it safe to bring in all that 32 bit stuff?
Will it cause regret and anguish for me in other programs or in Mint in general?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Canon ImageCLASS D480 driver install use 64bit packages

Post by pdc_2 »

Hi; welcome to the forums;

I guess for many folks still the setup is: printer joined by usb cable directly to computer: is that the same for you?

____________________________________________________

can I recommend we remove what you have installed; and start the 64bit package install after that? If you are happy to do that, if you paste 3 commands into a terminal;

they are:
sudo /usr/sbin/lpadmin -x CANON-D480
........that deletes the printer's spooler registration

then
sudo dpkg -P cndrvcups-ufr2
.............that uninstalls any UFR II printer driver module
sudo dpkg -P cndrvcups-common
.......that uninstalls the common module for CUPS drivers.

_______________________-

so hopefully a clean slate now ..

so this device uses Canon's ubiquitous UFR driver; last updated 26th Feb 2014;

it comes down as Linux_UFRII_PrinterDriver_V280_uk_EN.tar.gz and it contains 64bit packages (as well as 32bit); so that should be what you need; and you shouldn't need to drag in the 32bit libraries:

can I suggest some commands to help you: if you start by opening a terminal: on Mint it should be .........go to bottom left to Menu and up 3 or 4 to the black screen;

(if we assume you downloaded and saved Linux_UFRII_PrinterDriver_V280_uk_EN.tar.gz to your Downloads directory, as that is the default site for downloads to be saved into?)

commands would be
cd Downloads
tar -zxvf Linux_UFRII_PrinterDriver_V280_uk_EN.tar.gz
......so that should unpack the package and creates a directory called Linux_UFRII_PrinterDriver_V280_uk_EN
cd Linux_UFRII_PrinterDriver_V280_uk_EN/64-bit_Driver/Debian
..........and with that command we are drilling down into the main directory to the sub-directory where the debian 64bit packages are ..

and if you now
ls
..........that will list what is in there and it should be cndrvcups-common_2.80-1_amd64.deb and cndrvcups-ufr2-uk_2.80-1_amd64.deb

so Canon always say: common package first and then specific so we can now install drivers so next commands are
sudo dpkg -i cndrvcups-common_2.80-1_amd64.deb
and then
sudo dpkg -i cndrvcups-ufr2-uk_2.80-1_amd64.deb
that is the drivers installed and Canon then suggest
sudo /etc/init.d/cupsys restart
can you print from there?

_______________________________________

having done all that can you copy and paste this command
/usr/sbin/lpinfo -v
so we can see how your printer is recognised, in case any more things are needed

_______________________________________________
needinfo

Re: Canon ImageCLASS D480 driver install

Post by needinfo »

pdc_2 thank you for the quick help.
Yes, this is direct connect via USB cable.

Here are my steps:

1. "sudo /usr/sbin/lpadmin -x CANON-D480" did not work as stated.
My printer was named CANON_D480 instead of CANON-D480 (underscore
instead of dash). With that substution the command then removed
that printer.

2. "sudo dpkg -P cndrvcups-ufr2" returned this "dpkg: warning:
ignoring request to remove cndrvcups-ufr2 which isn't installed"
Changed to "sudo dpkg -P cndrvcups-ufr2-us" and it worked. (added
"-us")

3. "sudo dpkg -P cndrvcups-common" worked fine.

5. Checked the files I had already download to be sure they matched
the names you provided. One was different:
"cndrvcups-ufr2-uk_2.80-1_amd64.deb" was "cndrvcups-ufr2-us_2.80-1_amd64.deb"
(us instead of uk). Decided to go ahead anyway.

6. "sudo dpkg -i cndrvcups-common_2.80-1_amd64.deb" &
"sudo dpkg -i cndrvcups-ufr2-us_2.80-1_amd64.deb"
Note: "uk" changed to "us".

7. "sudo /etc/init.d/cupsys restart" did not work. "command not found"
"sudo /etc/inti.d/cups restart" did work.

8. "/usr/sbin/lpinfo -v". Below is what I see as Canon printer info:
direct cnusb:/dev/usb/lp1
direct cnusb:/dev/usb/lp2
direct usb://Canon/D460-490%20(UFRII%20LT)?serial=SJ3004971014Q&interface=1
direct usb://Canon/D460-490%20(FAX)?serial=SJ3004971014Q&interface=2

9. CUPS does not show any Canon printers listed and when I
try to print from the text editor, there is no selection for a Canon printer.

10. Here I sit staring at my non-working printer until the next words of
wisdom arrive!
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: Canon ImageCLASS D480 driver install

Post by pdc_2 »

thanks; you have done very well and done all the right things;

most folks' printer would come up as lp0 but I see yours seem to show as lp1 and lp2: do you have more than one printer attached? If we register it a different way as canon suggest

__________________________________
......I am thinking we will delete the printer registration; (but we will definitely leave the drivers in that you installed so well)
______________________________________

so if we delete the printer registration
sudo /usr/sbin/lpadmin -x CANON_D480
then a clean slate and then to re-register with new information;

but first restart CUPS: the correct re-start CUPS command in ubuntu is hopefully
sudo /etc/init.d/cups restart
Canon say do that now;

________________________________________________________________________________-

the script or basic structure for registering the printer (PPD) with the print spooler is:
sudo /usr/sbin/lpadmin -p [Printer Name] -m [PPD file] -v usb:[device file location] -E
......looking at the readme from the US version I have downloaded; it seems Canon groups the 460 to 490 models under the 490 .ppd so your correct ppd should be CNCUPSD490ZS.ppd

so I think the script will be
sudo /usr/sbin/lpadmin -p CANON_D480 -m CNCUPSD490ZS.ppd -v usb://Canon/D460-490%20(UFRII%20LT)?serial=SJ3004971014Q&interface=1 -E
(paste the line above in to a terminal; in its entirety: the red only seems to cover part of the text!!)

____________

so I have entered the printer name you gave CANON_D480 and the device URI that you gave usb://Canon/D460-490%20(UFRII%20LT)?serial=SJ3004971014Q&interface=1

theoretically you should be able to print now; (if you hold down Alt and F2 and paste in system-config-printer you should get your printer descriptions box open up: is there some sort of D480 there? Can you print now from libreoffice or such?
needinfo

Re: Canon ImageCLASS D480 driver install

Post by needinfo »

I had to change the command before bash would accept it:
sudo /usr/sbin/lpadmin -p CANON_D480 -m CNCUPSD490ZS.ppd -v "usb://Canon/D460-490%20(UFRII%20LT)"?serial=SJ3004971014Q&interface=1 -E
(put quotes around the driver name)

Succes (somewhat), the printer is now listed and I can send output to it.
However, nothing prints. At this point, I guess I need to borrow a Windows
laptop and check to make sure the printer does actually work. (I only have
Linux machines!)

I assume I am talking to the printer because when I turned it off and back
on Mint found a new printer and searched, found and installed the driver
for the FAX mode on this printer. It also now lists a D460-495-FAX-
as a viable printer.

pdc_2, I am very grateful for your help with this issue. The way you provided
step by step instructions was great.

I will be back with a follow up after I determine if I have a working printer.
(copy and FAX both work)
needinfo

Re: Canon ImageCLASS D480 driver install

Post by needinfo »

Borrowed laptop with Windows Vista. Installed drivers from Canon website.

Printer works fine from USB.

Just won't work on my Mint 16 system.
(scanner does work with XSane)
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: Canon ImageCLASS D480 driver install

Post by pdc_2 »

I think we should try registering
usb://Canon/D460-490%20(UFRII%20LT)
so if we delete the printer's spooler registration as done before
sudo /usr/sbin/lpadmin -x CANON_D480
and then register
sudo /usr/sbin/lpadmin -p CANON_D480 -m CNCUPSD490ZS.ppd -v usb://Canon/D460-490%20(UFRII%20LT) -E
.............my attempt to highlight all the text in the above quote; in red; gets over--ruled by the blue underlining..
needinfo

Re: Canon ImageCLASS D480 driver install

Post by needinfo »

I did as intructed. Still no print.

I look at the access.log and find the last two line that match when I sent to printer:
localhost - - [12/Apr/2014:19:51:07 -0400] "POST /printers/CANON_D480 HTTP/1.1" 200 212 Create-Job successful-ok
localhost - - [12/Apr/2014:19:51:07 -0400] "POST /printers/CANON_D480 HTTP/1.1" 200 8233 Send-Document successful-ok

So eveything should fine, no? Well, the printer Processing/Data light never blinked.
And the page.log is empty. The previous page log is from 25/Mar/2014 and shows
me printing on my Zebra label printer. There is only page.log and page_log_1.gz.

Even though the access.log shows success, does the page.log indicate that
nothing was really sent?

This takes me back to where I started. Does this printer require 32 bit drivers
before it will work?

The other thought, should I abandon the USB and use the Network port?
Would this change anything?
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: Canon ImageCLASS D480 driver install

Post by pdc_2 »

I thought I had replied earlier; but .........some snafu somewhere;

https://wiki.ubuntu.com/DebuggingPrintingProblems suggests
cupsctl LogLevel=debug
to activate debug logging. can we paste that into a terminal..

can we do
sudo less /var/log/cups/error_log
to view the /var/log/cups/error_log

Also: if you paste this command system-config-printer into the window that appears when you press Alt and F2 and that will open a printer box; if you go to the top line: HELP and down to troubleshooting; if you follow the prompts, I wonder if that gives anything;

Canon has CAPT drivers for their LBP printers and they can cough and choke on 64bit systems too; http://doc.ubuntu-fr.org/tutoriel/insta ... _canon_lbp is by Sivella; yes, it's in french but google translate does a great job;

Sivella was finding 64bit 13.10 ubuntu was not playing well; even with the Canon 64bit drivers; he said " With 13.10 some dependencies and / or installed by ia32-libs libraries are deleted (lib32asound2 ...) and others have changed their story, making it virtually impossible to install the ia32-libs package old with 13.10 64bit.

For this reason, it does not seem possible to do using the CAPT printer driver under 13.10 64bit run.
Until Canon so a new version of the driver that will support the evolution of Debian / Ubuntu (?), The easiest way may be to use 12.04LTS (or 12.10 / 13.04). "

..........can we try some of the debugging and if you want to install the ia32-libs, it seems worth a go (cutting edge can sometimes cut one ..)
Locked

Return to “Hardware Support”