LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   MP600 Printer Installation problem on Ubuntu 9.04 (https://www.linuxquestions.org/questions/linux-newbie-8/mp600-printer-installation-problem-on-ubuntu-9-04-a-720450/)

Paul Langdon 04-20-2009 12:10 PM

MP600 Printer Installation problem on Ubuntu 9.04
 
OK I am new too Linux and cannot get my Canon MP600 printer to install/work on Ubuntu 9.04. I found this on the web and followed it through:
-=================================================================
Re: HOWTO: Canon PIXMA MP600
I HAVE FOUND THE WONDER SOLUTION FOR THE MP600 PRINTER DRIVER TROUBLE IN UBUNTU 8.10!!! !!!


Intro: I did every step described here and elsewhere,... and everywhere!
And it did not help.
Then, after a full day of script-wrestling, I had and idea ...


Development: I've unpacked all the Australians archives, made a search for "MP600.ppd" and the result was: !"canonmp600.ppd"! I did include that file in that post!

Solution!:
...
...
"main menu" ---> "System" ---> "Administration" ---> "Printing"

In the Printer Proprieties window, choose: Settings ---> Make and Model ---> Change ---> Provide PPD file
And select the "canonmp600.ppd".

Attached Files
File Type: zip canonmp600.ppd.zip (3.3 KB, 24 views)
Last edited by 5daniil5; February 26th, 2009 at 02:17 AM.. Reason: Correction and Precision
=======================================================================
I have saved the ppd file noted above to my desktop. Now when I get to the Provide ppd file I am presented with two options: 1) Use the new PPID as is
and 2)Try to copy the old settings over from the old PPID

I select 1) and get the message
''Printer 'MP600' requires the 'pstocanonij' program but it is not currently installed. Please install it before using this printer''

No idea what to do now. Had a look on the web and thoroughly confused myself.Grateful for any help you can give me - baby steps for me I am afraid.
All my installation has gone well apart from this.

Kind regards
Paul

Udi 04-20-2009 01:37 PM

You can get pstocanonij from canon:
http://software.canon-europe.com/software/0028476.asp

Try to get the debian package, which should be good for Ubuntu as well: cnijfilter-common_2.80-1_i386.deb.

However - it seems like the deb package is a broken link :( so as an alternative you can try to get the rpm file and just extract pstocanonij from there. It should go to your /usr/lib/cups/filter/ directory. I hope you can figure it out from here because I don't have your hardware to see if this will really work.

Good luck.

Paul Langdon 04-20-2009 05:18 PM

Udi,
Thanks.I have the rpm file but do not know what to do with it. Have extracted pstocanonij - how do I copy to /usr/lib/cups/filter/ ?
Had a bash(pun)at guessing but I do not want to mess this up.
Regards,
Paul

Udi 04-21-2009 02:24 AM

the easiest way to do the copy is on the command line:
sudo cp pstocanonij /usr/lib/cups/filter/

asimba 04-23-2009 10:36 AM

It may not be of much help - But I might try.

Typically with my fedora box - I would have done following.

1. copied the file to either some temp location or standard location - /usr/share/cups/model

2. Next I would have use lpadmin

lpadmin would allow you add printers subject to given user was part of sysadmin group.

You may have to check on that.

If you are open to Webex - I might try fixing it for you.

Paul Langdon 04-24-2009 09:23 AM

Thanks so far - Not quite there yet
 
Thanks asimba and Udi.
I copied over pstocanonij to /usr/lib/cups/filter/ and I followed the GUI router and set to the ppd file as below:
===================================================================
"main menu" ---> "System" ---> "Administration" ---> "Printing"

In the Printer Proprieties window, choose: Settings ---> Make and Model ---> Change ---> Provide PPD file
And select the "canonmp600.ppd".

I have saved the ppd file noted above to my desktop. Now when I get to the Provide ppd file I am presented with two options: 1) Use the new PPID as is
and 2)Try to copy the old settings over from the old PPID

I select 1) and get no error message so all looks better.
=====================================================================

BUT nothing actually prints although I get a message saying that printing has completed.

So I have moved forward slightly.

Again thanks for all the help and sorry I have been slow to get back on this but I have been working away for a couple of days.

If any more help can be given then I would be grateful. For the moment I have selected MP500 from the driver database presented and I can print.

Kind Regards
Paul

Udi 04-24-2009 09:52 AM

Maybe try to extract some more files from the rpm and copy them to the right locations, like you did with pstocanonij... There is a file called cnij_usb which should go to /usr/lib/cups/backend/, and a file called cngpij which should go to /usr/local/bin.

If the printer still doesn't print - try to look in the error log by running 'sudo cat /var/log/cups/error_log' and see if there are any hints of what is wrong.

Paul Langdon 04-25-2009 06:03 AM

OK I still cannot get there. I copy in my terminal input from today:
===========================================================================================
psas@psas-desktop:~$ cd Desktop
psas@psas-desktop:~/Desktop$ ls
canonmp600.ppd cnij_usb usr
psas@psas-desktop:~/Desktop$ cp cnij_usb /usr/lib/cups/backend/
cp: cannot create regular file `/usr/lib/cups/backend/cnij_usb': Permission denied
psas@psas-desktop:~/Desktop$ sudo cp cnij_usb /usr/lib/cups/backend/
[sudo] password for psas:
psas@psas-desktop:~/Desktop$ sudo cp cngpij /usr/local/bin
=========================================================================================
So I have copied cnij_usb & cngpij to bin and backend.

Having failed to print again I did the error log thing:

psas@psas-desktop:~/Desktop$ sudo cat /var/log/cups/error_log
E [24/Apr/2009:10:25:06 +0100] Filter "pstocanonij" for printer "MP600" not available: No such file or directory
E [24/Apr/2009:14:49:03 +0100] CUPS-Add-Modify-Printer: Unauthorized
E [24/Apr/2009:14:56:56 +0100] [CGI] Unable to send 46 bytes to 192.168.1.255: Operation not permitted
E [24/Apr/2009:14:57:16 +0100] [CGI] Unable to send 46 bytes to 192.168.1.255: Operation not permitted
E [24/Apr/2009:14:57:53 +0100] CUPS-Add-Modify-Printer: Unauthorized
E [24/Apr/2009:14:58:39 +0100] Pause-Printer: Unauthorized
E [24/Apr/2009:14:59:23 +0100] [CGI] Unable to send 46 bytes to 192.168.1.255: Operation not permitted
E [24/Apr/2009:15:00:54 +0100] cupsdAuthorize: Local authentication certificate not found!
E [24/Apr/2009:15:00:54 +0100] cupsdAuthorize: Local authentication certificate not found!
E [24/Apr/2009:15:00:54 +0100] cupsdAuthorize: Local authentication certificate not found!
E [24/Apr/2009:15:00:54 +0100] cupsdAuthorize: Local authentication certificate not found!
E [24/Apr/2009:15:00:54 +0100] cupsdAuthorize: Local authentication certificate not found!
E [24/Apr/2009:15:00:54 +0100] cupsdAuthorize: Local authentication certificate not found!
E [24/Apr/2009:15:00:56 +0100] cupsdAuthorize: Local authentication certificate not found!
E [24/Apr/2009:15:00:56 +0100] cupsdAuthorize: Local authentication certificate not found!
E [24/Apr/2009:15:05:58 +0100] CUPS-Add-Modify-Printer: Unauthorized
E [24/Apr/2009:15:18:43 +0100] [CGI] Unable to send 46 bytes to 192.168.1.255: Operation not permitted
E [24/Apr/2009:15:19:00 +0100] [CGI] Unable to send 46 bytes to 192.168.1.255: Operation not permitted
E [24/Apr/2009:17:37:43 +0100] [CGI] Unable to send 46 bytes to 192.168.1.255: Operation not permitted
E [24/Apr/2009:17:37:59 +0100] [CGI] Unable to send 46 bytes to 192.168.1.255: Operation not permitted
E [24/Apr/2009:17:38:16 +0100] [CGI] Unable to send 46 bytes to 192.168.1.255: Operation not permitted
E [24/Apr/2009:17:39:16 +0100] CUPS-Add-Modify-Printer: Unauthorized
E [24/Apr/2009:17:41:42 +0100] Pause-Printer: Unauthorized
E [24/Apr/2009:17:44:22 +0100] Resume-Printer: Unauthorized
E [24/Apr/2009:17:44:22 +0100] cupsdAuthorize: Local authentication certificate not found!
E [24/Apr/2009:17:44:22 +0100] cupsdAuthorize: Local authentication certificate not found!
E [24/Apr/2009:18:21:46 +0100] Pause-Printer: Unauthorized
E [24/Apr/2009:18:21:46 +0100] cupsdAuthorize: Local authentication certificate not found!
E [24/Apr/2009:18:21:46 +0100] cupsdAuthorize: Local authentication certificate not found!
E [25/Apr/2009:11:51:39 +0100] Resume-Printer: Unauthorized
E [25/Apr/2009:11:52:06 +0100] CUPS-Add-Modify-Printer: Unauthorized
psas@psas-desktop:~/Desktop$

Looks to me like pstocanonij is not there? Is there anything wrong with my copy command?
Filter "pstocanonij" for printer "MP600" not available: No such file or directory

And/or is the GUI Changing printer process working? HELP!

Kind Regards,
Paul

Udi 04-25-2009 07:43 AM

Let's try this: perhaps the command pstocanonij is not found because it is not in the path, so make a symbolic link to it from /usr/local/bin. This is how you do it:

cd /usr/local/bin
sudo ln -s /usr/lib/cups/filter/pstocanonij pstocanonij

I hope it will work now. If not - perhaps it's time to try Canon tech support? Ask them why the .deb package can't be downloaded or if they have some other solution. Sorry this isn't working out for you :(.

Paul Langdon 04-25-2009 10:50 AM

Udi,
Thanks. I will try Canon technical support now.
Did below and still the same:
psas@psas-desktop:~$ cd /usr/local/bin
psas@psas-desktop:/usr/local/bin$ sudo ln -s /usr/lib/cups/filter/pstocanonij pstocanonij
ln: creating symbolic link `pstocanonij': File exists
psas@psas-desktop:/usr/local/bin$

In the meanwhile any ideas welcome.

Kind Regards,
Paul


All times are GMT -5. The time now is 06:54 PM.