LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Canon MF4500w Printer Configuration Dependent on Missing Package
#1
Now that I've upgraded to Linux Lite 3.2, once again, my Canon ImageCLASS MF4500w printer is proving tricky to install, so I'm hoping someone on the forum here can point me in the right direction!  Smile

The printer driver that is required is not listed under the Canon drivers, so when I plug my USB printer cable into the computer, I get the message, "Missing Printer Driver".  So, I went to the Canon website and downloaded the Linux_UFRII_PrinterDriver_V330_uk_EN.tar.gz  driver and then opened the Terminal inside the Downloads folder.  I entered the following commands:

tar -zxvf Linux_UFRII_PrinterDriver_V330_uk_EN.tar.gz

cd Linux_UFRII_PrinterDriver_V330_uk_EN/32-bit_Driver/Debian

ls

sudo dpkg -i cndrvcups-common_3.70-1_i386.deb

After I entered the above command, this is what I got:

Selecting previously unselected package cndrvcups-common.
(Reading database ... 219163 files and directories currently installed.)
Preparing to unpack cndrvcups-common_3.70-1_i386.deb ...
Unpacking cndrvcups-common (3.70-1) ...
dpkg: dependency problems prevent configuration of cndrvcups-common:
cndrvcups-common depends on libpango1.0-0 (>= 1.14. 8) ; however:
  Package libpango1.0-0 is not installed.

dpkg: error processing package cndrvcups-common (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
cndrvcups-common
janlite@janlitea1030n:~/Downloads/Linux_UFRII_PrinterDriver_V330_uk_EN/32-bit_Driver/Debian$


What commands should I enter to correct the dependency problems and get the missing package? 
Reply
#2
Hi Jan,

This should do the trick:
Code:
sudo apt-get install -f

Hope that helps Smile
Reply
#3
Good morning, LL-user  ...

Re:

(03-30-2017, 03:10 AM)LL-user link Wrote: Hi Jan,

This should do the trick:
Code:
sudo apt-get install -f

Hope that helps Smile

Yes, your solution worked very nicely and I was able to continue the installation - Thank you!

The printer is printing now, but I still have a bit of a problem - I can only print about 3 or 4 print jobs - and then it stops working.  If I want to print a 5th document, I can only do so if I reboot the computer.  Its like the communication channel between the computer and printer gets "clogged" with residue from each print job, until finally the communication channel is shut off altogether.  Rebooting the computer cleans the channel enough to allow more print jobs through but, again, only maybe 3 or 4 at a time.  (I had this same problem with Linux Lite 2.8.) 
I think the problem is with the final command, which I haven't been able to figure out exactly.  This is what I've done so far:

 
Code:
sudo apt-get install -f

sudo dpkg -i cndrvcups-ufr2-uk_3.30-1_i386.deb

sudo /etc/init.d/cups restart

/usr/sbin/lpinfo -v
network beh
file cups-pdf:/
network ipp14
network http
network ipps
direct cnusb:/dev/usb/lp0
network socket
network lpd
network https
network ipp
direct usb://Canon/MF4500w%20Series?serial=0122OB11185D&interface=1
direct usb://Canon/MF4500w%20Series%20FAX?serial=0122OB11185D&interface=2
network smb
janlite@janlitea1030n:~/Downloads/Linux_UFRII_PrinterDriver_V330_uk_EN/32-bit_Driver/Debian$

This now takes me to the final command, and this is what I can't quite figure out, and maybe is the reason for the communication channel getting clogged after only a few print jobs.  I've tried the following 4 different variations of the command.  The test page lists the driver as being CNM4500WZK.PPD.

sudo /usr/sbin/lpadmin -p Canon-MF4500w -m CNM4500ZK.ppd -v usb://Canon/MF4500w%20Series?serial=0122OB11185D&interface=1 -E
[1] 3927
-E: command not found

[1]+  Stopped                sudo /usr/sbin/lpadmin -p Canon-MF4500w -m CNM4500ZK.ppd -v usb://Canon/MF4500w%20Series?serial=0122OB11185D
janlite@janlitea1030n:~/Downloads/Linux_UFRII_PrinterDriver_V330_uk_EN/32-bit_Driver/Debian$ sudo /usr/sbin/lpadmin -p Canon-MF4500w -m CNM4500ZK.ppd -v usb:direct usb://Canon/MF4500w%20Series?serial=0122OB11185D&interface=1 -E
[2] 3952
-E: command not found

[2]+  Stopped                sudo /usr/sbin/lpadmin -p Canon-MF4500w -m CNM4500ZK.ppd -v usb:direct usb://Canon/MF4500w%20Series?serial=0122OB11185D
janlite@janlitea1030n:~/Downloads/Linux_UFRII_PrinterDriver_V330_uk_EN/32-bit_Driver/Debian$ sudo /usr/sbin/lpadmin -p Canon-MF4500w -m CNM4500WZK.ppd -v usb:direct usb://Canon/MF4500w%20Series?serial=0122OB11185D&interface=1 -E
[3] 4092
-E: command not found

[3]+  Stopped                sudo /usr/sbin/lpadmin -p Canon-MF4500w -m CNM4500WZK.ppd -v usb:direct usb://Canon/MF4500w%20Series?serial=0122OB11185D
janlite@janlitea1030n:~/Downloads/Linux_UFRII_PrinterDriver_V330_uk_EN/32-bit_Driver/Debian$ sudo /usr/sbin/lpadmin -p Canon-MF4500w -m CNM4500WZK.ppd -v usb://Canon/MF4500w%20Series?serial=0122OB11185D&interface=1 -E
[4] 4104
-E: command not found

[4]+  Stopped                sudo /usr/sbin/lpadmin -p Canon-MF4500w -m CNM4500WZK.ppd -v usb://Canon/MF4500w%20Series?serial=0122OB11185D
janlite@janlitea1030n:~/Downloads/Linux_UFRII_PrinterDriver_V330_uk_EN/32-bit_Driver/Debian$

Any suggestions for the final command?  Or ideas for unclogging the channel? 
Reply
#4
You may want to check if libpango1.0-0 is installed in your system.

Code:
dpkg -s libpango1.0-0 | grep Status


If it is not installed, then install:

Code:
sudo apt install libpango1.0-0
https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

[Image: AGxgqJ6.png]
Reply
#5
Hi Ralphy,

(03-30-2017, 05:35 PM)ralphy link Wrote: You may want to check if libpango1.0-0 is installed in your system.

Code:
dpkg -s libpango1.0-0 | grep Status


If it is not installed, then install:

Code:
sudo apt install libpango1.0-0

Thanks for your suggestion.  I thought I had libpango1.0-0 installed, but just to be extra sure, I ran the above command, and yes, libpango1.0-0 IS installed. 
Reply
#6
Hi Jan,

Try placing the "-E" flag before the "-p" flag, i.e. directly after the lpadmin command.

Hope that helps Smile
Reply
#7
Hello LL-user,

Thank you so much for taking the time to help me with this.  Much appreciated!

I re-entered the command sequence for installing the Canon MF4500w printer driver and just entered the final command, putting the "-E" directly after the "lpadmin" and before the "-p", as you suggested, but I've got an "unable to copy PPD file" message, as below:

sudo /usr/sbin/lpadmin -E -p Canon-MF4500w -m CNM4500WZK.ppd -v usb://Canon/MF4500w%20Series?serial=0122OB11185D&interface=1
[1] 3954
janlite@janlitea1030n:~/Downloads/Linux_UFRII_PrinterDriver_V330_uk_EN/32-bit_Driver/Debian$ lpadmin: Unable to copy PPD file.

What do you think I should do?  Also, it seems like the Terminal might be hung up right now.  ???

Further to what I've just written, I tried re-entering the above command, but instead of using the small letters "ppd", I capitalized them to read "PPD", as below: 

sudo /usr/sbin/lpadmin -E -p Canon-MF4500w -m CNM4500WZK.PPD -v usb://Canon/MF4500w%20Series?serial=0122OB11185D&interface=1
[2] 4098
[1]  Exit 1                  sudo /usr/sbin/lpadmin -E -p Canon-MF4500w -m CNM4500WZK.ppd -v usb://Canon/MF4500w%20Series?serial=0122OB11185D
janlite@janlitea1030n:~/Downloads/Linux_UFRII_PrinterDriver_V330_uk_EN/32-bit_Driver/Debian$

....so, now I'm exited out of the command, showing the Terminal is at least not "hung up". 

Not sure what to do next though ...
Reply
#8
Hi Jan,


Good on you for hanging in there!


Do I get that correctly that you run the command with the correct file name, and it did not come back with any error?


If that's the case, it's usually indicating that it run successfully, and that you can move on to the next step.


You will get there Smile
Reply
#9
Good morning LL-User,

Yes, the command I entered as noted above did not come back with an error message, it simply reverted me back to my Downloads folder.  Supposedly, it is the last command in the above sequence.

Unfortunately, insofar as print jobs getting through, things are still pretty plugged up here.  Its like a badly clogged drain - some print jobs slowly drip through while others don't get through at all. 

Any other ideas on how to solve this?

Just thought I would add that I also checked and my printer is connected to local host.  When I check the printer que for print status, all print jobs are listed and each one shows the status as being "completed", in spite of the fact that some jobs print while others don't.  I also ran the trouble shooting wizard and it could find nothing wrong. 

I'm wondering, since I entered a lot of invalid sudo commands while trying to figure things out, could this be part of the "clogging" problem?  Is there any way to clean up the terminal ... if that's part of the problem???
Reply
#10
Hi Jan,

For quite a while I haven't been working with printers. Therefore I hope someone with the suitable commands on his/her finger tips will chirp in to troubleshoot this.

Just some thoughts:

If you actually can observe the print jobs in the queue one by one changing their status to "completed", I'd assume the transfers to the printer have been successfully completed.

Does your printer have a display that allows you to view some kind of log file to check for errors?

Also, you mention some documents getting printed, others not:
Is this independent of the document format? Or are certain document formats not printed while others come through without problem? If there is a problem with a certain format, it might occupy the printer till it times out, which would explain the "clogging".

Hope it will get you a step closer Smile
Reply


Forum Jump:


Users browsing this thread: 8 Guest(s)