[SOLVED] Canon Pixia MG3540 not active
[SOLVED] Canon Pixia MG3540 not active
Hi All,
After long time I reinstalled Salix on a machine of mine, choosing the KDE flavour by the iso 14.0.1 32 bit (sincerely I don't understand if it is based on Slackware 14.0 or 14.1), still I have to add all packages I need, the first serious problem concerning the printer.
I have been installing "gutenprint" "xsane" "cups-bjnp" (SlackBuild - http://slackbuilds.org/repository/14.0/ ... cups-bjnp/), maybe something else, I don't remember.
Well, the printer is installed but doesn't work complaining the absence of the file "pstocanonij"
(/usr/lib/cups/filter/cmdtocanonij #not avalaible).
I guess the problem comes out due the absence of the official driver, I have been looking for it but I get only .rpm or .deb packages (trying to get the files from .deb packages using the command "ar" I don't get all of them).
I saw this thread in the Forum:
http://forum.salixos.org/viewtopic.php? ... nij#p26556
Where kindly the "Salixer" Djemos provided the right packages to Mr. Cox; I have been visiting his repository, unfortunately the packages stored over there are not for MG3540 (MG 3500 Series).
Please, could come help for me by the Salix Team?
Thank you for your kind attention
Best Regards
After long time I reinstalled Salix on a machine of mine, choosing the KDE flavour by the iso 14.0.1 32 bit (sincerely I don't understand if it is based on Slackware 14.0 or 14.1), still I have to add all packages I need, the first serious problem concerning the printer.
I have been installing "gutenprint" "xsane" "cups-bjnp" (SlackBuild - http://slackbuilds.org/repository/14.0/ ... cups-bjnp/), maybe something else, I don't remember.
Well, the printer is installed but doesn't work complaining the absence of the file "pstocanonij"
(/usr/lib/cups/filter/cmdtocanonij #not avalaible).
I guess the problem comes out due the absence of the official driver, I have been looking for it but I get only .rpm or .deb packages (trying to get the files from .deb packages using the command "ar" I don't get all of them).
I saw this thread in the Forum:
http://forum.salixos.org/viewtopic.php? ... nij#p26556
Where kindly the "Salixer" Djemos provided the right packages to Mr. Cox; I have been visiting his repository, unfortunately the packages stored over there are not for MG3540 (MG 3500 Series).
Please, could come help for me by the Salix Team?
Thank you for your kind attention
Best Regards
Last edited by Sybelius on 11. Nov 2014, 16:46, edited 1 time in total.
Re: Canon Pixia MG3540 not active
Here is the canon 3500 driver.
install both packages cnijfilter-common and cnijfilter-mg3500series
pstocanonij is included on cnijfilter-common package
source file as also rpm and debian packages are here
I don't have a canon printer to test these drivers.
install both packages cnijfilter-common and cnijfilter-mg3500series
pstocanonij is included on cnijfilter-common package
source file as also rpm and debian packages are here
I don't have a canon printer to test these drivers.
Re: Canon Pixia MG3540 not active
Hi Djemos,
Thank you very much for your kind and precious help, never thinking so fast!
I have just installed both canon 3500 driver (first link) but even after rebooting and configuring again the printer, I get this error message (both files are executable):
Thank you very much for your kind and precious help, never thinking so fast!
I have just installed both canon 3500 driver (first link) but even after rebooting and configuring again the printer, I get this error message (both files are executable):
I don't touch anything, afraid to do mistakeFile "/usr/lib/cups/filter/cmdtocanonij" has insecure permissions (0100755/uid=1000/gid=100).

Re: Canon Pixia MG3540 not active
It is my fault did not use sudo to create txz files.
Please download again the packages, remove the old ones and reinstall them.
files now belong to root:root
Please download again the packages, remove the old ones and reinstall them.
files now belong to root:root
Re: Canon Pixia MG3540 not active
Hi did, but even adding the user to "root" group I get the same error, sorry.
File "/usr/lib/cups/filter/cmdtocanonij" has insecure permissions (0100755/uid=1000/gid=100)
Re: Canon Pixia MG3540 not active
Do what i write above.
Re: Canon Pixia MG3540 not active
I did before writing my last message
I did again before writing this one but I get the same error

Re: Canon Pixia MG3540 not active
If you still get the message then type
I think it will work
Otherwise read below
are you sure you download again the files?
type
then you see all files belong to root root if not then you dont have the right files.
So what i did
First remove the packages
Then look on
it has to not exist
otherwise delete it
install the packages
and the
return
and also
as you see these files belong to root and root group.
I did not say to add user to root group. So remove the user from root group.
Code: Select all
sudo chmod 555 /usr/lib/cups/filter/pstocanonij
sudo chmod 555 /usr/lib/cups/filter/cmdtocanonij
Otherwise read below
are you sure you download again the files?
type
Code: Select all
less cnijfilter-common-4.00-1.i386.txz
So what i did
First remove the packages
Code: Select all
sudo removepkg cnijfilter-common
sudo removepkg cnijfilter-mg3500series
Code: Select all
ls -l /usr/lib/cups/filter/cmdtocanonij
otherwise delete it
Code: Select all
sudo rm /usr/lib/cups/filter/cmdtocanonij
Code: Select all
sudo installpkg cnijfilter-common-4.00-1.i386.txz
sudo installpkg cnijfilter-mg3500series-4.00-1.i386.txz
Code: Select all
ls -l /usr/lib/cups/filter/cmdtocanonij
Code: Select all
djemos[canon]$ ls -l /usr/lib/cups/filter/cmdtocanonij
-rwxr-xr-x 1 root root 11624 Ιούλ 17 2013 /usr/lib/cups/filter/cmdtocanonij
Code: Select all
djemos[canon]$ ls -l /usr/lib/cups/filter/pstocanonij
-rwxr-xr-x 1 root root 33471 Ιούλ 17 2013 /usr/lib/cups/filter/pstocanonij
I did not say to add user to root group. So remove the user from root group.
Re: Canon Pixia MG3540 not active
... I'm starting to feel a bit embarassed Djemos, if this issue annoing you leave it.
Yes, you did'nt say to add the user to "root" group, I did to see if helps; I have been removing it and followed the last instructions but as "root" because "sudo" is not activated.
Unfortunately something is still wrong, this is the output:
File "/usr/lib/cups/filter/cmdtocanonij" has insecure permissions (0100755/uid=1000/gid=100).
Yes, you did'nt say to add the user to "root" group, I did to see if helps; I have been removing it and followed the last instructions but as "root" because "sudo" is not activated.
Unfortunately something is still wrong, this is the output:
The same error here:dominum@darkstar:~$ su
Password:
root[dominum]# installpkg -i cnijfilter-common-4.00-1.i386.txz
Cannot install -i: file not found
Verifying package cnijfilter-common-4.00-1.i386.txz.
Installing package cnijfilter-common-4.00-1.i386.txz:
PACKAGE DESCRIPTION:
Package cnijfilter-common-4.00-1.i386.txz installed.
root[dominum]# installpkg cnijfilter-mg3500series-4.00-1.i386.txz
Verifying package cnijfilter-mg3500series-4.00-1.i386.txz.
Installing package cnijfilter-mg3500series-4.00-1.i386.txz:
PACKAGE DESCRIPTION:
Package cnijfilter-mg3500series-4.00-1.i386.txz installed.
dominum@darkstar:~$ ls -l /usr/lib/cups/filter/cmdtocanonij
-rwxr-xr-x 1 dominum users 8523 lug 17 2013 /usr/lib/cups/filter/cmdtocanonij*
dominum@darkstar:~$
dominum@darkstar:~$ ls -l /usr/lib/cups/filter/pstocanonij
-rwxr-xr-x 1 dominum users 27122 lug 17 2013 /usr/lib/cups/filter/pstocanonij*
dominum@darkstar:~$
File "/usr/lib/cups/filter/cmdtocanonij" has insecure permissions (0100755/uid=1000/gid=100).
Re: Canon Pixia MG3540 not active
Code: Select all
installpkg cnijfilter-common-4.00-1.i386.txz

This is wrong
Code: Select all
ls -l /usr/lib/cups/filter/pstocanonij
-rwxr-xr-x 1 dominum users 27122 lug 17 2013 /usr/lib/cups/filter/pstocanonij*
So
Code: Select all
sudo chmod 555 /usr/lib/cups/filter/pstocanonij
sudo chmod 555 /usr/lib/cups/filter/cmdtocanonij
Code: Select all
2c55f6d74f166e4b4260c10c833bbb54 cnijfilter-common-4.00-1.i386.txz
d144ae52c3a8c212cd4d571bec215884 cnijfilter-mg3500series-4.00-1.i386.txz
And please don't feel embarrassed i just trying to help.