LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to I get my printer to be accepted by linux? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-i-get-my-printer-to-be-accepted-by-linux-4175709784/)

linux-man 03-21-2022 09:32 PM

How to I get my printer to be accepted by linux?
 
How to I get my printer to be accepted by linux?
Cannon Pixma TS 3360
Parrot Home edition 4.11

frankbell 03-21-2022 09:43 PM

There appears to be a Linux driver at Canon's Australian website.

linux-man 03-21-2022 10:17 PM

Quote:

Originally Posted by frankbell (Post 6340492)
There appears to be a Linux driver at Canon's Australian website.

Since I am on a 64 bit computer should I pick the only driver that's 64 bit? the rest are 32 bit.

frankbell 03-21-2022 10:53 PM

Well, I think that 32-bit can run on 64-bit systems, but not vice versa, but they need the 32-bit libraries. You would be best off with the 64-bit version.

If I remember correctly, the Linux driver at that site is sources, so you will need to have kernel headers installed in order to compile it.

Canon is not renowned for the calibre of its support for Linux.

linux-man 03-21-2022 11:33 PM

kernel headers
 
Quote:

Originally Posted by frankbell (Post 6340503)
the Linux driver at that site is sources, so you will need to have kernel headers installed in order to compile it.

How do I compile kernel headers? Should I start a new thread for that?

ondoho 03-22-2022 12:39 AM

Quote:

Originally Posted by linux-man (Post 6340508)
How do I compile kernel headers?

That's not what frankbell wrote. Sheesh.

And if you meant to say "how do I compile that driver" - instructions are rpobably included with the link frankbell gave you.
Although I can't help but wonder if there's another way... searching my distro's package manager for "canon pixma" gives tons of results.

hazel 03-22-2022 05:41 AM

You need to download the correct driver for your model. If there isn't 64-bit driver for that model, you can usually still use the 32-bit version as long as you install a 32-bit glibc from your distro's repository. For example the driver for my Brother printer contains some 32-bit parts but will work under those conditions.

If a driver is available as source code only (and I've never come across this), you can compile it locally and it will have the bitness of your system but you need to install a few tools first, one of which is the kernel headers package. I think Parrot belongs to the Debian family so you should be able to install the full toolkit with a package called build-essential.

You might want to browse the OpenPrinting site https://openprinting.github.io/ and see if you can find your printer there.

linux-man 03-23-2022 12:38 AM

Quote:

Originally Posted by hazel (Post 6340584)
you can usually still use the 32-bit version as long as you install a 32-bit glibc from your distro's repository.

I downloaded the 64 bit and its sitting in my downloads as a deb.tar.gz.
Is what I did below to install it correct?

I used:
$sudo dpkg -i cnijfilter2-5.90-1-deb.tar.gz
[sudo] password for user:
dpkg-deb: error: 'cnijfilter2-5.90-1-deb.tar.gz' is not a Debian format archive
dpkg: error processing archive cnijfilter2-5.90-1-deb.tar.gz (--install):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
cnijfilter2-5.90-1-deb.tar.gz

ondoho 03-23-2022 01:33 AM

Quote:

Originally Posted by linux-man (Post 6340834)
I downloaded the 64 bit and its sitting in my downloads as a deb.tar.gz.
Is what I did below to install it correct?

I used:
$sudo dpkg -i cnijfilter2-5.90-1-deb.tar.gz
[sudo] password for user:
dpkg-deb: error: 'cnijfilter2-5.90-1-deb.tar.gz' is not a Debian format archive
dpkg: error processing archive cnijfilter2-5.90-1-deb.tar.gz (--install):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
cnijfilter2-5.90-1-deb.tar.gz

It's probably a source file, the -deb just denotes that it's for Debian, I guess.
First step is to perform
Code:

tar -zxvf blabla.tar.gz
and see what you have (there's probably a README and a INSTALL file).

linux-man 03-23-2022 04:30 AM

Quote:

Originally Posted by ondoho (Post 6340850)
First step is to perform
Code:

tar -zxvf blabla.tar.gz
and see what you have (there's probably a README and a INSTALL file).

tar -zxvf blabla.tar.gz
tar (child): blabla.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

hazel 03-23-2022 04:37 AM

Quote:

Originally Posted by linux-man (Post 6340896)
tar -zxvf blabla.tar.gz
tar (child): blabla.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

I hope you didn't take the "blabla" bit literally! That's just shorthand for the actual filename

beachboy2 03-23-2022 11:57 AM

linux-man,

Download cnijfilter2-5.90-1-deb.tar.gz from page 2 of:
https://www.canon.com.au/printers/pi...ts3360/support

Right click on the downloaded file and click on (c/o) Open with Archive Manager.

c/o Extract.
c/o Extract
c/o Close
c/o X.

c/o cnijfilter2-5.90-1-deb folder.

c/o packages and the required .deb file is cnijfilter2_5.90-1_amd64.deb.

My files are downloaded to Desktop. However, you may use Downloads or elsewhere.

It is essential to choose your particular .deb file location in the following installation command.

Code:

cd Desktop
cd cnijfilter2-5.90-1-deb
cd packages
sudo dpkg -i cnijfilter2_5.90-1_amd64.deb


ceantuco 03-23-2022 03:07 PM

once you extract the zip file, you can use the install.sh script to install the driver.

ondoho 03-24-2022 01:15 AM

Quote:

Originally Posted by linux-man (Post 6340896)
tar -zxvf blabla.tar.gz
tar (child): blabla.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

You're being deliberately ignorant. That's inexcusable. Actually ignorant people aren't to blame - you are.

linux-man 03-24-2022 01:25 AM

In extract window right now
 
Quote:

Originally Posted by beachboy2 (Post 6340970)
linux-man,

Download cnijfilter2-5.90-1-deb.tar.gz from page 2 of:
https://www.canon.com.au/printers/pi...ts3360/support

Right click on the downloaded file and click on (c/o) Open with Archive Manager.

c/o Extract.
c/o Extract
c/o Close
c/o X.

c/o cnijfilter2-5.90-1-deb folder.

c/o packages and the required .deb file is cnijfilter2_5.90-1_amd64.deb.

My files are downloaded to Desktop. However, you may use Downloads or elsewhere.

It is essential to choose your particular .deb file location in the following installation command.

Code:

cd Desktop
cd cnijfilter2-5.90-1-deb
cd packages
sudo dpkg -i cnijfilter2_5.90-1_amd64.deb


In Archive Manager I see:
1 main yellow folder called cnijfilter2-5.90-1-deb.tar.gz
4 sub folders under it called:
documents
packages
resources
install.sh

When I clicked on extract for cnijfilter i get pop up window called 'extract' with flashing cursor in empty name box and empty filter box. What should I name it? Am I doing this correctly?


All times are GMT -5. The time now is 08:07 AM.