[SOLVED] How to I get my printer to be accepted by linux?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 867
Original Poster
Rep:
Quote:
Originally Posted by beachboy2
linux-man,
As per the recommendation, run:
Code:
sudo apt --fix-broken install
Code:
#apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libcupsimage2
The following NEW packages will be installed:
libcupsimage2
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 124 kB of archives.
After this operation, 152 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://deb.parrot.sh/parrot rolling/main amd64 libcupsimage2 amd64 2.3.3op2-3+deb11u1 [124 kB]
Fetched 124 kB in 13s (9,243 B/s)
Selecting previously unselected package libcupsimage2:amd64.
(Reading database ... 415898 files and directories currently installed.)
Preparing to unpack .../libcupsimage2_2.3.3op2-3+deb11u1_amd64.deb ...
Unpacking libcupsimage2:amd64 (2.3.3op2-3+deb11u1) ...
Setting up libcupsimage2:amd64 (2.3.3op2-3+deb11u1) ...
Setting up cnijfilter2 (5.90-1) ...
Processing triggers for libc-bin (2.31-13+deb11u2) ...
Scanning application launchers
Removing duplicate launchers or broken launchers
Launchers are updated
Code:
#sudo apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo apt-get check
E: Invalid operation check
sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Quote:
Originally Posted by beachboy2
Also, instead of right-clicking on cnijfilter2_5.90-1_amd64.deb, try double-clicking on it and you should arrive at the Gdebi Installer.
That's how it works on my Linux Mint system.
I double clicked and 'Ark' archive manager came up
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?
Did you even bother to read post #13 above? It tells you what to do.
IMHO, It's Cannon's fault, not the OP. In the tar file, there is a folder named cnijfilter2_5.90-1-deb. It contains two Debian packages; cnijfilter2_5.90-1_amd64.deb and cnijfilter2_5.90-1_i386.deb. Since the OP decided to use the 64-bit version, he should use the cnijfilter2_5.90-1_amd64.deb package. The structure of the tar package is complicated. It's Cannon's fault, not the OP. It's not on OP. Cannon dedicated a package for the 64-bit version and yet it contains the i386 version (for 32-bit architecture). The only file he needs is the amd64 version.
I advise the OP to read about file compression in general and tar files in particular.
These days, there is no need to use the command line continuously. A lot of graphical tools have emerged. We need to go easy on the OP and light a candle for him or Linux will not shine anymore. Accusing him of being ignorant was a bit too harsh in my opinion.
Gdebi is a tool to install Debian packages us a graphical interface without needing a command line. If it is not installed, the distribution will offer to open the package with an archive manager such as Ark, Archive Manager or Peazip. BTW, Peazip has a version for Windows too. linux-starters-guide-linux-open-source-replacements-windows-software/
IMHO, we are not in the era of typing some command to mount a CD or DVD. These days are gone. Smoothing Linux experience is the trend now, I guess. Veteran Linux users need newbies and vice versa because without newbies companies will not invest money and effort in making Linux ports of their applications and platforms. Linux users still can't have an easy way to use Onedrive from the desktop without a web browser. www.humblebundle.com stopped its support for Mac and Linux platforms. That is what happens to "uncommon" platforms.
I am not attacking anyone. I am just saying that unnecessary aggressiveness will deter new users from using Linux or even trying it. Windows 10 support will end in 2025. Many machines will not be eligible to upgrade to Windows 11. This is a great chance for Linux to emerge on the surface.
Many people around the world don't know what the word Linux means. Some never heard of it. Please, lessen the criticism and increase the pieces of advice given to new users.
I advise the OP poster to consider HP, Brother or Samsung brands when buying a printer in the future so as to get full Linux support.
A sincere piece of advice to the OP, please, read about Linux and software in general. If you have any questions, we are here for you as long as you comply with the forum rules.
Last edited by kareempharmacist; 04-03-2022 at 03:37 PM.
IMHO, It's Cannon's fault, not the OP. In the tar file, there is a folder named cnijfilter2_5.90-1-deb. It contains two Debian packages; cnijfilter2_5.90-1_amd64.deb and cnijfilter2_5.90-1_i386.deb. Since the OP decided to use the 64-bit version, he should use the cnijfilter2_5.90-1_amd64.deb package. The structure of the tar package is complicated. It's Cannon's fault, not the OP. It's not on OP. Cannon dedicated a package for the 64-bit version and yet it contains the i386 version (for 32-bit architecture). The only file he needs is the amd64 version. I advise the OP to read about file compression in general and tar files in particular. These days, there is no need to use the command line continuously> A lot of graphical tools have emerged. We need to go easy on the OP and light a candle for him or Linux will not shine anymore. Accusing him of being ignorant was a bit too harsh in my opinion.
Gdebi is a tool to install Debian packages us a graphical interface without needing a command line. if it is not installed, the distribution will offer to open the package with an archive manager such as Ark, Archive Manager or Peazip. BTW, Peazip has a version for Windows too. https://www.linuxlinks.com/linux-sta...dows-software/
IMHO, we are not in the era of typing some command to mount a CD or DVD. These days are gone. Smoothing Linux experience is the trend now, I guess. Veteran Linux users need newbies and vice versa because without newbies companies will not invest money and effort in making Linux ports of their applications and platforms. Linux users still can't have an easy way to use Onedrive from the desktop without a web browser. www.humblebundle.com stopped its support for Mac and Linux platforms. That is what happens to "uncommon" platforms. I am not attacking anyone. I am just saying that unnecessary aggressiveness will deter new users from using Linux or even trying it. Windows 10 support will end in 2025. Many machines will not be eligible to upgrade to Windows 11. This is a great chance for Linux to emerge on the surface. Many people around the world don't know what the word Linux means. Some never heard of it. Please, lessen the criticism and increase the pieces of advice given to new users. I advise the OP poster to consider HP, Brother or Samsung brands when buying a printer in the future so as to get full Linux support. A sincere piece of advice to the OP, please, read about Linux and software in general. If you have any questions, we are here for you as long as you comply with the forum rules.
It seems you are not in the habit of using paragraphs to make your posts readable. This is about the 4th thread you have posted in today where you use one paragraph for a 2 page post. It is hard to read and with the rant about not needing to know how to use a command line makes the post something I mostly ignore.
While I do agree that the OP needs to do things for himself and make an effort to learn, your bent of saying the command line is useless and not needed is really far off the mark. A gui is only capable of doing what its creator programmed in and while that may fit your needs it may not fit mine. Windows is a "one size fits all" package while the flexibility of linux to add or remove bits and customize the install to exactly what the user wants is the real beauty of an open source OS.
In the first half of this post you say we accused the OP of being ignorant. That is hardly the case. The difficulty of working with people on a forum is you can make suggestions and ask them to run exact commands that you provide. Then when they fail to follow exact instructions they are given in detail who do you think is at fault when the suggested fix does not work? (It did not work because it was not tried.)
We all deplore the fact that many manufacturers fail to provide adequate support for linux users and we have to compensate. We also vote with our $ as you suggest by purchasing devices where the manufacturer does provide better support.
Last edited by computersavvy; 04-01-2022 at 06:52 PM.
It seems you are not in the habit of using paragraphs to make your posts readable. This is about the 4th thread you have posted in today where you use one paragraph for a 2 page post. It is hard to read.
I apologize. I will do my best in the future to make my posts more readable.
Last edited by kareempharmacist; 04-02-2022 at 04:26 AM.
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 867
Original Poster
Rep:
I had it working when I clicked Solved but days later I just tried to print something and I got:
Warning
Could not start your printer
Check your configuration
The name of the printer was missing at this point
So I followed your instructions again and its working and I can see the model number of the printer again when I click Print. Any reason why I had to repeat this to get it working again?
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 867
Original Poster
Rep:
Quote:
Originally Posted by beachboy2
linux-man,
As ceantuco and computersavvy have suggested you can alternatively use the install.sh script to install the driver.
At the risk of confusing you even more, here is how to proceed:
Extract the tar.gz file (to Desktop in my case, so you may need to change this to Downloads or other location you may actually be using):
Code:
cd Desktop
tar xvf cnijfilter2-5.90-1-deb.tar.gz
Find which folder the "install.sh" file is in.
In this case it is cnijfilter2-5.90-1-deb
Change directory to cnijfilter2-5.90-1-deb:
Code:
cd cnijfilter2-5.90-1-deb
Type chmod +x install.sh and press Enter.
Type bash install.sh and press Enter.
Enter root password when requested.
Your Terminal output should read something like this:
Code:
linux-man@pc:~/Desktop$ cd cnijfilter2-5.90-1-deb
linux-man@pc:~/Desktop/cnijfilter2-5.90-1-deb$ chmod +x install.sh
linux-man@pc:~/Desktop/cnijfilter2-5.90-1-deb$ bash install.sh
[sudo] password for linux-man:
The commands worked but after each shutdown and restart of the computer, the canon printer is missing when I click Print, which means I have to input your commands again. Is there a reason why one install didn't suffice?
Code:
Enter the printer name.[TS3300USB-2]
Command executed = sudo /usr/sbin/lpadmin -p TS3300USB-2 -P /usr/share/cups/model/canonts3300.ppd -v cnijbe2://Canon/?port=usb&serial=
lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
#=========================================================#
# Set as Default Printer
#=========================================================#
Do you want to set this printer as the default printer?
Enter [y] for Yes or [n] for No.[y]y
#=========================================================#
Installation has been completed.
Printer Name : TS3300USB-2
Select this printer name for printing.
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 867
Original Poster
Rep:
reinstalling drivers for printer upon each power on
Upon each power off/on, the computer requires printer drivers to be reinstalled, is there a way to avoid this? I use these commands each occassion:
Code:
cd Desktop
tar xvf cnijfilter2-5.90-1-deb.tar.gz
cd cnijfilter2-5.90-1-deb
/Desktop$ cd cnijfilter2-5.90-1-deb
/Desktop/cnijfilter2-5.90-1-deb$ chmod +x install.sh
/Desktop/cnijfilter2-5.90-1-deb$ bash install.sh
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.