Unable to print with Canon MF8350Cdn (SOLVED - again)

Forum rules
Before you post please read this

Unable to print with Canon MF8350Cdn (SOLVED - again)

Postby sgaggerj on Mon Apr 15, 2013 10:44 am

Hi all,

I'm trying to get my network printer installed and have come to the end of my (limited) knowledge in getting it to work.

The printer is a Canon MF8350Cdn on the LAN (192.168.1.101)

It works in a windows environment, so I'm pretty sure it's not the printer.

Im running Mint 14 Mate x64

I downloaded the latest drivers (only ones listed) from Canon's site UFR II Printer Driver for Linux Version 2.60.

I unzipped the folder, and inside are 32bit, 64bit, docs and sources.

according to the README, I need to install the .deb packages:

Code: Select all
dpkg -i [file name of common module for CUPS drivers]

and then
Code: Select all
dpkg -i [file name of the UFR II printer driver module]


which I did, and it appears that there were no issues.

Then, again following the manual,

Code: Select all
Network Connection (IPv4)
Enter the following lpadmin command:

/usr/sbin/lpadmin -p [Printer Name] -m [PPD file] -v lpd://[Device IP address or FQDN]/[Printer Name] -E


which I did, (after CD to the folder containing the PPD files for the printer.

Code: Select all
sudo /usr/sbin/lpadmin -p MF8300 -m ./CNCUPSMF8300CZJ.ppd  -v lpd://192.168.1.101/MF8300 -E


and got the error

Code: Select all
lpadmin: Unable to copy PPD file.


Next I removed the printer from 'Printers', then tried the CUPS admin page.

From the Administration -> Find New Printers section I have two printers listed:

Canon MF8350 (MF8350-37bf9d)
and
Canon MF8300 Series (Canon MF8350)

Trying the first (Canon MF8350 (MF8350-37bf9d))
and selecting the appropriate driver (MF8300 series)
I end up with this:

Code: Select all
Description:   Canon MF8350
Location:   Local Printer
Driver:   Canon MF8300C Series UFRII LT ver.2.6 (color, 2-sided printing)
Connection:   dnssd://MF8350-37bf9d._printer._tcp.local/
Defaults:   job-sheets=none, none media=na_letter_8.5x11in sides=one-sided


printing a test page does not do anything. Looking in the jobs list, it says it was completed.

I removed the printer and tried the next (Canon MF8300 Series (Canon MF8350))
selecting the driver again, i end up with:

Code: Select all
Description:   Canon MF8300 Series
Location:   Local Printer
Driver:   Canon MF8300C Series UFRII LT ver.2.6 (color, 2-sided printing)
Connection:   socket://192.168.1.101
Defaults:   job-sheets=none, none media=na_letter_8.5x11in sides=one-sided


again, printing a test page does not do anything. Looking in the jobs list, it says it was completed.

I have also tried using the PPD files instead of selecting the driver, with the same results....

Code: Select all
CNCUPSMF8300CZJ.ppd
CNCUPSMF8300CZK.ppd
CNCUPSMF8300CZS.ppd


I'm stuck and would appreciate any help!

EDIT:

I have also tried restarting CUPS and rebooting with the same results.
Last edited by sgaggerj on Fri Apr 19, 2013 9:05 am, edited 4 times in total.
sgaggerj
Level 1
Level 1
 
Posts: 11
Joined: Wed Aug 22, 2012 2:35 pm

Linux Mint is funded by ads and donations.
 

Re: Unable to print with Canon MF8350Cdn

Postby pdc_2 on Mon Apr 15, 2013 11:02 pm

........obviously you installed the 64bit debian drivers..................cndrvcups-common_2.60-1_amd64.deb and then cndrvcups-ufr2-uk_2.60-1_amd64.deb ..sorry.....just had to ask...........

If I make a comment: when you say "after CD to the folder containing the PPD files for the printer."

........that is not what folks do eg

http://doc.ubuntu-fr.org/tutoriel/insta ... _canon_lbp

if you run this through google translate, it is a very good guide to a perhaps similar Canon printer series: the LBP series that uses their CAPT driver;

Sivella says
The following command will install the printer in CUPS :
.....................
sudo /usr/sbin/lpadmin -p [printer name] -m [ppd] -v [uri device] -E


Your syntax was

sudo /usr/sbin/lpadmin -p MF8300 -m ./CNCUPSMF8300CZJ.ppd -v lpd://192.168.1.101/MF8300 -E


his (for a similar setup) ..was ..

sudo /usr/sbin/lpadmin -p LBP5000 -m -v CNCUPSLBP5000CAPTK.ppd ccp ://localhost: 59787-E


..........so maybe that section could be re-run as I wondered about the
./
before the ppd file in your script.............

with both these printers there are 2 steps
a) install drivers

b) then register the printer ppd with the print spooler


......just more checking......you restarted cups before registering with lpadmin.........as in screenshot
so it seems to me the commands to issue......after installing the drivers listed at the top are

sudo /etc/init.d/cups restart
to restart CUPS after driver install........Mint seems to have /etc/init.d/cups
/usr/sbin/lpadmin -p CANONMF8300 -m CNCUPSMF8300CZK.ppd -v lpd://192.168.1.101/CANONMF8300 -E
..... to Register the printer (PPD) with the print spooler.

................aha!!!!!!!!!!!! You were attempting to use the J.ppd....................I understand J is for Japan.............so English language version only has the K.ppd !! .....so that's why the system couldn't find it perhaps........

from reading the Updating the printer driver page Canon say you can tweak things....a useful read ..

they comment you can delete a setting by

sudo /usr/sbin/lpadmin -x CANONMF8300
........if you were to so wish to do so ..

If I leave you with some of these comments to see if they are helpful ..............
Attachments
restart.png
pdc_2
Level 6
Level 6
 
Posts: 1203
Joined: Mon May 11, 2009 1:21 am

Re: Unable to print with Canon MF8350Cdn

Postby sgaggerj on Tue Apr 16, 2013 10:31 am

........obviously you installed the 64bit debian drivers..................cndrvcups-common_2.60-1_amd64.deb and then cndrvcups-ufr2-uk_2.60-1_amd64.deb ..sorry.....just had to ask...........


Correct, and no need to be sorry. I'm by no means a guru so no offense taken!

this morning I tried the following

Code: Select all
sudo dpkg -P cndrvcups-ufr2-us
sudo dpkg -P cndrvcups-common
sudo service cups restart


Checking in the CUPS admin page, there were no printers available, so I'm assuming that the drivers were completely gone.

Then from the 64 bit driver DEBIAN folder (Downloads/MF8300/64-bit_Driver/Debian)

Code: Select all
su root

dpkg -i cndrvcups-common_2.60-1_amd64.deb
dpkg -i cndrvcups-ufr2-us_2.60-1_amd64.deb

service cups restart

/usr/sbin/lpadmin -p MF8300 -m CNCUPSMF8300CZK.ppd  -v lpd://192.168.1.101/MF8300 -E



still get the error:

Code: Select all
lpadmin: Unable to copy PPD file.



Your syntax was

sudo /usr/sbin/lpadmin -p MF8300 -m ./CNCUPSMF8300CZJ.ppd -v lpd://192.168.1.101/MF8300 -E



being a fair noob with linux I wasn't sure if the argument for the ppd file needed to be a path to the actual file, so I cd to the folder containing the .ppd files (Downloads/MF8300/Sources/cndrvcups-lb-2.60/ppd) and added the ./

The syntax came from the installation guide that came with the drivers

Code: Select all
Network Connection (IPv4)
Enter the following lpadmin command:
# /usr/sbin/lpadmin -p [Printer Name] -m [PPD file] -v lpd://[Device IP address or FQDN]/[Printer Name] -E
Example: To register the imageRUNNER 2016 in the print spooler as "CANON-iR2016":
/usr/sbin/lpadmin -p CANON-iR2016 -m CNCUPSIRC2016ZS.ppd -v lpd://172.23.2.72/CANON-iR2016 -E



On a side note, I figured while I was working on getting the printer working directly from Mint, I could at least print to PDF, then save it to a folder shared by my VM of windows 7, which can print to the printer, and print from there.

I also tried installing a PDF printer from here.

Code: Select all
sudo apt-get install cups-pdf
sudo service cups restart


Checking in printers, there is a PDF printer there (installed automatically by the apt-get install). Printing to PDF doesn't show any error, but I get no dialog about what to name the pdf file or where to save it. I don't see any setting in the printer properties to specify it either...

All jobs to the PDF printer are marked as completed....
sgaggerj
Level 1
Level 1
 
Posts: 11
Joined: Wed Aug 22, 2012 2:35 pm

Re: Unable to print with Canon MF8350Cdn

Postby sgaggerj on Tue Apr 16, 2013 10:41 am

I got it!

I uninstalled the drivers again

Code: Select all
sudo dpkg -P cndrvcups-ufr2-us
sudo dpkg -P cndrvcups-common
sudo service cups restart


I checked in the Administration tab of CUPS, and there was one printer listed, the 'Canon MF8300 Series (Canon MF8350)'

I added that printer through CUPS admin, selecting the PPD file from the Sources folder.

I tried printing a test page, and it failed with an error about 'shared printing' not being enabled.

Following the 'Diagnose' option it said something about a filter not being available and to enable "Shared Printer publishing".

From the Printers -> Server -> Settings menu, I enabled "Publish Shared printers connected to this system."

I removed the printer from CUPS and reinstalled the drivers.

Code: Select all
su root

dpkg -i cndrvcups-common_2.60-1_amd64.deb
dpkg -i cndrvcups-ufr2-us_2.60-1_amd64.deb

service cups restart


Then went back to CUPS Administration and checked for printers.

This time there were two

Code: Select all
Canon MF8350 (MF8350-37bf9d)
Canon MF8300 Series (Canon MF8350)


I added 'Canon MF8350 (MF8350-37bf9d)' and used the ppd file 'CNCUPSMF8300CZK.ppd'.

After setting the printer defaults, I printed a test page ...... and whaddya know! It printed!!

Yea!!!

I checked the properties of the printer, and it doesn't seem to use it's IP address

Code: Select all
Device URI: dnssd://MF8350-37bf9d._pdl-datastream._tcp.local/
Make and Model: Canon MF8300C Series UFRII LT ver.2.6
sgaggerj
Level 1
Level 1
 
Posts: 11
Joined: Wed Aug 22, 2012 2:35 pm

Re: Unable to print with Canon MF8350Cdn

Postby sgaggerj on Tue Apr 16, 2013 10:49 am

I figured out the PDF "problem" - just saw the PDF folder in my home folder....
sgaggerj
Level 1
Level 1
 
Posts: 11
Joined: Wed Aug 22, 2012 2:35 pm

Canon MF8350Cdn 64bit debian works well

Postby pdc_2 on Tue Apr 16, 2013 4:17 pm

well it all sounds great.............you're happy it is printing now...........?

thanks very much for describing all you did; very helpful to all following you; I can't have queried you on your setup earlier; so the sharing printers was valuable!

So the 64bit Debian packages that Canon supply for the latest UFR driver work well........and Canon are providing good support for linux

Enjoy the printer; it is always a great buzz when a printer bursts into life and prints well!

I think you can edit the thread as SOLVED from thread tools................top right I think
pdc_2
Level 6
Level 6
 
Posts: 1203
Joined: Mon May 11, 2009 1:21 am

Re: Unable to print with Canon MF8350Cdn

Postby sgaggerj on Wed Apr 17, 2013 8:52 am

Yep - you're right. Being pretty new to linux It is a great feeling when you get something working!

I'm not sure if

From the Printers -> Server -> Settings menu, I enabled "Publish Shared printers connected to this system."


was a necessary step or not, as later I unchecked the 'Publish Shared printers..." and it still prints....

So all is well in Canon Print Land!

Thanks again for your support and pushing me in the right direction with the correction of the PPD file!
sgaggerj
Level 1
Level 1
 
Posts: 11
Joined: Wed Aug 22, 2012 2:35 pm

Re: Unable to print with Canon MF8350Cdn

Postby sgaggerj on Thu Apr 18, 2013 2:33 pm

Well it appears that the above was a fluke.....

I decided to get rid of windows completely, so I reinstalled Mint Mate 14 x64 - I know I didn't need to, but I wanted to start fresh and there wasn't anything on this system yet anyhow (OTHER THAN WORKING PRINTING lol)

I followed my steps that I used to get it working last time and ..... it's not working!

Now I'm banging my head against the desk

In my OP i had tried

Code: Select all
/usr/sbin/lpadmin -p MF8300 -m CNCUPSMF8300CZK.ppd  -v lpd://192.168.1.101/MF8300 -E


and gotten the error

Code: Select all
lpadmin: Unable to copy PPD file.


I tried that (same result), and then tried another PPD file..

Code: Select all
/usr/sbin/lpadmin -p MF8300 -m CNCUPSMF8300CZS.ppd  -v lpd://192.168.1.101/MF8300 -E


and no error - it added the printer! However I'm still unable to print to it.

I've restarted cups, rebooted - removed and reinstalled the drivers - to no avail.

One thing I did notice is that if I shut the printer off, it is noted that the printer is offline.

So my system has to be seeing the printer somehow.

All of the test pages are saying the data file was submitted successfully, but no love.

Anyone have any suggestions?
sgaggerj
Level 1
Level 1
 
Posts: 11
Joined: Wed Aug 22, 2012 2:35 pm

Re: Unable to print with Canon MF8350Cdn

Postby pdc_2 on Thu Apr 18, 2013 9:18 pm

you say you did

/usr/sbin/lpadmin -p MF8300 -m CNCUPSMF8300CZK.ppd -v lpd://192.168.1.101/MF8300 -E


I wonder does the extra space you included after .ppd make any difference............a more standard syntax might be......

/usr/sbin/lpadmin -p MF8300 -m CNCUPSMF8300CZK.ppd -v lpd://192.168.1.101/MF8300 -E
pdc_2
Level 6
Level 6
 
Posts: 1203
Joined: Mon May 11, 2009 1:21 am

Re: Unable to print with Canon MF8350Cdn

Postby sgaggerj on Fri Apr 19, 2013 9:04 am

It is possible that it created a problem, I didn't realize I did add an extra space there - but now that I re-solved it - I'm not going to try again to find out! lol

Found a solution here that did work for me first time.

Posts #88 and #90

NOTE: This works with version 2.60 of the drivers available on Canon's website, which are the current drivers as of this writing.

Download the latest Linux drivers (v2.40 as of writing) on the USA Canon site.

Code: Select all
sudo -i
tar xzvf Linux_UFRII_PrinterDriver_V240_us_EN.tar.gz
cd Linux_UFRII_PrinterDriver_V240_us_EN
cd 64-bit_Driver
cd RPM
ln -s /usr/lib /usr/lib64
alien -k -c cndrvcups-common-2.40-2.x86_64.rpm
alien -k -c cndrvcups-ufr2-us-2.40-2.x86_64.rpm
dpkg -i cndrvcups-common_2.40-2_amd64.deb
dpkg -i cndrvcups-ufr2-us_2.40-2_amd64.deb


Then install the printer with the Ubuntu GUI.


and

To the above steps, I had to add

apt-get install ia32-libs

and I had to print to lpd://<ipaddress>/lp instead of http://<ipaddress>:9100

This on an MF8350cdn and a fresh install of 12.04 AMD64


and

Mine registers as a 8300 series as well. My device URI reads as
Code: Select all
lpd://192.168.0.51/lp


in the GUI.


my exact steps to get it to print again were

Code: Select all

# If the drivers were already installed, remove them and restart CUPS

sudo dpkg -P cndrvcups-ufr2-us
sudo dpkg -P cndrvcups-common

sudo service cups restart

# Create a link to /usr/lib64 which doesn't exist on my install.
sudo ln -s /usr/lib /usr/lib64

# not sure if this was required or not - but it seemed to help.
sudo apt-get install ia32-libs

# re-install the drivers
sudo dpkg -i cndrvcups-common_2.60-1_amd64.deb
sudo dpkg -i cndrvcups-ufr2-us_2.60-1_amd64.deb

# restart CUPS
sudo service cups restart

# add the printer
from the PRINTERS utility, (+) Add printer, select ENTER URI

for the URI use:

lpd://<ipv4 address>/lp

where <ipv4 address> is the 192.168.xxx.xxx address

click Forward

Select 'Provide PPD File'

Browse to the PPD File (my case was CNCUPSMF8300CZS.ppd - the listing was filtered down to only two options for me CZK and CZS - CZS uses 'letter' size paper as default, CZK 'A4')

Click Open.  Click Forward.

Change any names you want, click Apply.

Print test page!

sgaggerj
Level 1
Level 1
 
Posts: 11
Joined: Wed Aug 22, 2012 2:35 pm

Re: Unable to print with Canon MF8350Cdn (SOLVED - again)

Postby pdc_2 on Fri Apr 19, 2013 6:45 pm

glad you got it working; thanks for the great documentation

enjoy it now!
pdc_2
Level 6
Level 6
 
Posts: 1203
Joined: Mon May 11, 2009 1:21 am

Re: Unable to print with Canon MF8350Cdn (SOLVED - again)

Postby compvter on Sat Nov 01, 2014 5:27 pm

I realise this is old thread, but i wanted to post solution i got my MF83x0 working

(btw that alien solution posted by sgaggerj is nearly same i posted on ubuntu forums as "oappi", but imo it should not be used except if nothing works like it was back then when i posted it). Have since switched to mint because of better desktop GUI.

Here is how i got it working in mint 17 that is 64 bit (32bit seems to work also but doesnt require last step)

download latest Linux drivers from canon atm it was 2.90
// pretty straight forward
choose either 32 bit drivers or 64 bit drivers depending on your system



then first install common and then ufr2 package in that folder by clicking them ( in mint by default they are opened in "right installation tool".


in terminal:

Code: Select all
/usr/sbin/lpadmin -p MF8330_laser -m CNCUPSMF8300ZK.ppd -v socket://192.168.1.10/MF8330_laser -E

replace "192.168.1.10" with ip address of your printer and MF8330_laser with name you want for printer. If you downloaded newer drivers you can check ppd files name at /usr/share/ppd folder (i am kinda sure it will have MF8300 mentioned.

/etc/init.d/cupsd start

If you have 32bit system, printer should work now. With 64 bit i was not so lucky... here is how i got it to work
you have to add 32bit architecture support:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libstdc++6:i386 libxml2:i386 zlib1g:i386 libpopt0:i386

i guess they have some dependencies that require these packages, but interestingly neither package does not demand these to be installed.

Now it should work. GL
compvter
Level 1
Level 1
 
Posts: 1
Joined: Sat Nov 01, 2014 4:06 pm

Linux Mint is funded by ads and donations.
 

Return to Printers & Scanners

Who is online

Users browsing this forum: bitterpeppermint and 2 guests