LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-04-2020, 04:53 PM   #1
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Rep: Reputation: Disabled
Printer Drivers and Linux


What in hLL is so incredibly complex about a simple desktop personal printer that causes finding drivers and getting the printer set up on Linux so obscure and convoluted after about 40 years of PCs being on the scene?

Is there an app I can install that will:

- detect and identify the printer when it is plugged into the USB port
- ascertain the necessary drivers and dependencies for all that printer's functions (print, scan, fax)
- find them and install them
 
Old 12-04-2020, 05:16 PM   #2
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
CUPS.

That said, some printer manufacturers do not support Linux, and make it difficult to get the necessary software. Some work out of the box. If you tell us the printer you have, you are far more likely to get useful suggestions.

Last edited by sgosnell; 12-04-2020 at 05:18 PM.
 
1 members found this post helpful.
Old 12-04-2020, 06:12 PM   #3
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sgosnell View Post
CUPS.

That said, some printer manufacturers do not support Linux, and make it difficult to get the necessary software. Some work out of the box. If you tell us the printer you have, you are far more likely to get useful suggestions.
Which cups? When I run baph -sa cups in ArchLabs I get 409 items listed.

ArchLabs 2020.11.04 > Openbox 3
Canon Pixma TR4527
 
Old 12-04-2020, 06:37 PM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
Canon printers are notorious for lack of support with printer drivers. That said a very quick search online turned up the following page (amongst many others)...
https://www.usa.canon.com/internet/p...vers_downloads

I'm not familiar with the distro you mention...there are deb and rpm packages listed, but you will likely need to grab the source file packages instead, extract the packages and follow the instructions (eg readme files) contained.
 
1 members found this post helpful.
Old 12-04-2020, 06:47 PM   #5
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
Canon printers are notorious for lack of support with printer drivers. That said a very quick search online turned up the following page (amongst many others)...
https://www.usa.canon.com/internet/p...vers_downloads

I'm not familiar with the distro you mention...there are deb and rpm packages listed, but you will likely need to grab the source file packages instead, extract the packages and follow the instructions (eg readme files) contained.
Thank you. That wasn't among the dozen or so that I looked at. In any event, I was trying to install from AUR so that I would receive upgrades in the usual course via pacman -Syu
 
Old 12-04-2020, 06:57 PM   #6
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by llewellen View Post
Thank you. That wasn't among the dozen or so that I looked at. In any event, I was trying to install from AUR so that I would receive upgrades in the usual course via pacman -Syu
Alright, I downloaded and extracted cnijfilter2-source-5.70-1 and scangearmp2-source-3.70-1.tar.gz from that site. The scangear package has no ReadMe file. The cnijfilter file has a ReadMe file that tells me how to build an rpm installation. Brilliant.

The packages were extracted right in my Downloads folders. To which folder should I move them?
 
Old 12-04-2020, 07:01 PM   #7
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
For printing, I usually start by checking here and here. If not, then the next place to look is the vendor site.

Anyway, good luck with installing the requisite drivers. For a USB-connected printer that should be all that is required for CUPS to be able to send print jobs to the printer. CUPS provides a native web interface for manual configuration/administration. From a browser, navigate to http://localhost:631

Last edited by ferrari; 12-04-2020 at 08:47 PM.
 
1 members found this post helpful.
Old 12-04-2020, 07:12 PM   #8
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
A search of this forum shows that you have previously posted about the drivers on AUR...

Quote:
Someone on the Majaro forum provided the solution. The necessary drivers are in AUR:

[URL="https://aur.archlinux.org/packages/cnijfilter2"[/URL]

[URL="https://aur.archlinux.org/packages/scangearmp2"[/URL]
If you have the drivers installed, I would expect CUPS to recognise the printer.

When it is connected, run
Code:
lpstat -t
 
1 members found this post helpful.
Old 12-04-2020, 07:27 PM   #9
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
A search of this forum shows that you have previously posted about the drivers on AUR...



If you have the drivers installed, I would expect CUPS to recognise the printer.

When it is connected, run
Code:
lpstat -t
Thank you (sheepish). Both of those are now installed but then this:

Code:
[drew@archlabs-drew ~]$ pacman -Q cups
cups 1:2.3.3op1-1
[drew@archlabs-drew ~]$ lpstat -t
scheduler is not running
no system default destination
lpstat: Bad file descriptor
lpstat: Bad file descriptor
lpstat: Bad file descriptor
lpstat: Bad file descriptor
lpstat: Bad file descriptor
[drew@archlabs-drew ~]$
 
Old 12-04-2020, 08:45 PM   #10
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
Ok, that shows that CUPS (in particular cupsd) is not active.

This thread may be helpful to you...
https://bbs.archlinux.org/viewtopic.php?id=216216

The printing service can be checked with...
Code:
systemctl status org.cups.cupsd.service
If necessary, it can be enabled with...
Code:
systemctl enable org.cups.cupsd.service
which will have it start at next boot. To start it immediately, do
Code:
systemctl start org.cups.cupsd.service
 
Old 12-04-2020, 08:52 PM   #11
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
To be clear, the service must be enabled before it can be started.
 
Old 12-04-2020, 09:00 PM   #12
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,726
Blog Entries: 7

Rep: Reputation: 2842Reputation: 2842Reputation: 2842Reputation: 2842Reputation: 2842Reputation: 2842Reputation: 2842Reputation: 2842Reputation: 2842Reputation: 2842Reputation: 2842
Printer Drivers and Linux

Yeah, cups makes it so easy. I set up a networked printer yesterday in seconds, without needing to download or install any drivers.

The generic PCL drivers provided by gutenprint are also very good... If your printer can understand PCL, they're a great choice.

Once you start the cups service, you can control it by browsing to localhost:631 in your web browser.

Last edited by rkelsen; 12-04-2020 at 09:04 PM.
 
Old 12-04-2020, 09:09 PM   #13
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
None of that applies to the Canon printer model in question. Vendor drivers are required.
 
Old 12-04-2020, 09:16 PM   #14
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rkelsen View Post
Yeah, cups makes it so easy. I set up a networked printer yesterday in seconds, without needing to download or install any drivers.

The generic PCL drivers provided by gutenprint are also very good... If your printer can understand PCL, they're a great choice.

Once you start the cups service, you can control it by browsing to localhost:631 in your web browser.
localhost:631 won't connect on my system.
 
Old 12-04-2020, 09:18 PM   #15
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
Forget that until you've started CUPS as already explained. The web interface functionality is provided by cupsd.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] My HP 2600 printer stopped printing and their isn't a printer model now in the settings? the error message says the printer is paused? sudo1 Linux - Server 6 04-02-2019 07:14 AM
printer drivers, source for Epson XP-400 Printer mike acker Linux - Hardware 5 08-26-2014 06:08 AM
Drivers, Drivers, Drivers!!! cjparad Ultra X 0 06-09-2009 05:08 PM
CUPS printer will not share to windows client - printer does not have correct drivers Hotchips Linux - Server 2 07-22-2007 03:56 AM
keeping printer on at bootup keeps printer from printing (some printer modules loaded TheOneAndOnlySM Slackware 1 10-17-2003 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration