LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-26-2019, 10:28 PM   #1
larrytheleopard
LQ Newbie
 
Registered: Dec 2019
Posts: 1

Rep: Reputation: Disabled
Not Able to Detect Printer Over Network


I've got an old Acer Chromebook running Fedora 31 and I'm trying to hook it up to the printer I was given for Christmas. It's a Canon Pixma TS3122 which is, unfortunately, not supported by Canon for Linux OS. I found the necessary driver (cnijfilter2-5.50-1-rpm) on canon-print.com and managed to execute the "sudo bash install.sh" command so that the driver was initiated in the terminal. Furthermore, when asked to set up via network or USB, I was able to get the printer to work though my USB cable. However, I could not get it to detect my printer over the network, despite the fact that I was successfully connected to it over wifi (called Canon_IJ_somethingsomething...). Below is the simplified output from my attempts:



[jameson@localhost cnijfilter2-5.50-1-rpm]$ sudo bash install.sh
==================================================

Canon Inkjet Printer Driver
Version 5.50
Copyright CANON INC. 2001-2017

==================================================
Command executed = rpm --test -U ./packages/cnijfilter2-5.50-1.x86_64.rpm
package cnijfilter2-5.50-1.x86_64 is already installed

#=========================================================#
# Register Printer
#=========================================================#
Next, register the printer to the computer.
Connect the printer, and then turn on the power.
To use the printer on the network, connect the printer to the network.
When the printer is ready, press the Enter key.
>

#=========================================================#
# Connection Method
#=========================================================#
1) USB
2) Network
Select the connection method.[1]2

Searching for printers...


#=========================================================#
# Select Printer
#=========================================================#
Select the printer.
If the printer you want to use is not listed, select Update [0] to search again.
To cancel the process, enter [Q].





I assume I'm connected to the network (if that means the wifi connection in the network manager) but I can't get this driver to detect it. I'm at the exact same impasse with my MX Linux (.deb) driver, where USB works but no network. This tells me I'm just missing some step. Any help would be appreciated!
 
Old 12-27-2019, 12:47 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,016

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
If you know the printer IP address, you could try pinging it to prove basic network connectivity.

I note that the Canon driver package provides the proprietary cnijbe2 CUPS backend. You may be able to get a response by running it directly like this
Code:
/usr/lib/cups/backend/cnijbe2
If nothing is returned with the network printer online, then try running it with the firewall disabled. Hopefully your Canon printer will then be enumerated.

Last edited by ferrari; 12-27-2019 at 12:49 AM.
 
1 members found this post helpful.
Old 12-27-2019, 01:46 AM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,016

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
While undertaking some online research I stumbled across this blog which discusses getting a Canon network-connected printer configured. Like you reported, the author mentioned that the script failed to identify the printer in the local network. Instead, they configured manually using 'system-config-printer' (and likely the CUPS web interface should also work). Paraphrasing the author's instructions....
Quote:
Do
Code:
system-config-printer
then click on Add printer; in the URI text field, type "cnijbe2://Canon/?port=net&serial=AA-BB-CC-DD-EE-FF", where the last fake field has to be replaced with the printer MAC address; Proceed thru the wizard, selecting "Canon" and the appropriate model when prompted
Once configuration is complete you should now have a working printer.
 
Old 12-27-2019, 01:49 AM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,016

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
BTW, you may find that the serial ID (MAC address) is optional, and that using
Code:
cnijbe2://Canon/?port=net
is sufficient.
 
Old 01-06-2020, 11:54 AM   #5
jasonc3a
LQ Newbie
 
Registered: Oct 2018
Distribution: Debian, Fedora, Raspbian, LMDE, Bhodi, Ubuntu
Posts: 25

Rep: Reputation: Disabled
I know that whenever I try to set up a printer on Linux, even though I can ping the darn thing no problem and see it in print-manager no problem, often during setup it's completely invisible, with the setup wizard being hopeless at finding any printer on the network. I find that manually entering its IP address allows it to be seen by the wizard and shuffles me along to the next problem(s) to deal with.
 
Old 01-06-2020, 04:47 PM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,016

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
Some of the proprietary drivers use their own backends and often include installer scripts to assist with the CUPS configuration process.
 
Old 01-06-2020, 04:55 PM   #7
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,016

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
Another potential issue when configuring network printers can be an active firewall, as that can block printer broadcasts and so preventing detection.
 
  


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
Not able to login to server thru console but able to login via network using putty maxy7710 Linux - Newbie 6 03-02-2022 02:42 AM
slackware64 14.1: not able to install LILO to MBR; not able to boot from USB drive. dcsst28 Slackware 1 11-17-2013 09:03 PM
not able to run php cammand. Not able to find php novinjaiswal Linux - Newbie 4 10-31-2008 01:28 PM
printer doesnt detect as a printer in Linux seeism Linux - Hardware 5 07-04-2008 08:15 PM
Mandrake 10 not able to detect my pcmcia network card newbiedrake Linux - Hardware 7 03-25-2005 04:34 PM

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

All times are GMT -5. The time now is 03:45 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