LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-11-2016, 01:10 AM   #1
dave67
Member
 
Registered: Apr 2007
Posts: 103

Rep: Reputation: 3
Xsane and my envy 5530 not detected


First I can print fine but I think the port the printer is on is wrong :9100?

I setup xsane with hp-setup since this is a wireless printer but the system can not find it by USB to configure it.

I installed xsane a while back and I got it to scan today however it can not find the scanner. Attached txt file output of Hp-check. I have read to much on the web and I am confused how to fix this. this is my first wireless printer

I am going to bed I will check back in the morning

Thanks
Attached Files
File Type: txt Hp check.txt (10.3 KB, 12 views)
 
Old 03-11-2016, 03:30 AM   #2
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,952

Rep: Reputation: 686Reputation: 686Reputation: 686Reputation: 686Reputation: 686Reputation: 686
Going by your 'hp-check' output, the HP scanner hpaio backend requires that the printer is configured using HPLIP and relies on having a correctly defined printer URI
Code:
Printer Waiting for printer to finish.eries is idle.  enabled since Thu 10 Mar 2016 09:17:19 PM EST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
You've configured your printer to use the AppSocket/HP JetDirect protocol and the corresponding URI is configured as
Code:
Device URI: socket://192.168.0.15:9100
It should be using the CUPS 'hp' backend and the URI would look more like
Code:
hp:/net/....
My recommendation is to start over and configure using 'hp-setup'
Code:
sudo hp-setup
Just one of many how-to's...

https://jmatthewturner.wordpress.com...on-linux-mint/
 
Old 03-11-2016, 07:55 AM   #3
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Linux Mint
Posts: 1,711

Rep: Reputation: 400Reputation: 400Reputation: 400Reputation: 400Reputation: 400
My HP printer/scanner (DJ 3522, a Walmart special) will print wirelessly but won't scan wirelessly. To scan, I point my browser to the printer's IP address and use the printer's web interface to scan.
 
Old 03-11-2016, 10:05 AM   #4
dave67
Member
 
Registered: Apr 2007
Posts: 103

Original Poster
Rep: Reputation: 3
I was in the process of hp-setup and my printer decided to loose connection fixed that. now I have this error below. I tried again Now it cannot even detect the printer as it did before.

Code:
Error: "/var/tmp/kdecache-main" is owned by uid 1000 instead of uid 0.
Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon
 
Old 03-11-2016, 01:01 PM   #5
dave67
Member
 
Registered: Apr 2007
Posts: 103

Original Poster
Rep: Reputation: 3
Well I did hp-plugin -i and the plugin installed I did a search with the Hplip. seems to be bugs about this. so I will get it to print if that is possible now since setup con not detect printer now. This is why I can never use Linux as a primary OS I will use it as a secondary.

Last edited by dave67; 03-11-2016 at 01:22 PM.
 
Old 03-11-2016, 01:35 PM   #6
dave67
Member
 
Registered: Apr 2007
Posts: 103

Original Poster
Rep: Reputation: 3
Here is the thing I can use the add printer in the settings and it finds the printer and I installed it and it can print. If i use hp-setup it fails to detect it. Think the hplip does not support this version of Ubunbtu. I need to loo at maybe update hplip version. but no scanning software can detect it.

Here is the printer

dnssd://HP%20ENVY%205530%20series%20%5B614B15%5D._ipp._tcp.local/

other wise it would use 9100 again

Last edited by dave67; 03-11-2016 at 01:40 PM.
 
Old 03-11-2016, 02:41 PM   #7
erik2282
Member
 
Registered: May 2011
Location: TX
Distribution: Debian
Posts: 762

Rep: Reputation: 220Reputation: 220Reputation: 220
https://help.ubuntu.com/community/HpAllInOne

Have you tried Simple Scan?
https://apps.ubuntu.com/cat/applicat...e/simple-scan/
 
Old 03-11-2016, 02:43 PM   #8
erik2282
Member
 
Registered: May 2011
Location: TX
Distribution: Debian
Posts: 762

Rep: Reputation: 220Reputation: 220Reputation: 220
http://store.hp.com/us/en/pdp/printe...in-one-printer

Your printer also does Scan-to-Email, which I personally prefer. Have you thought about setting this up?
 
Old 03-11-2016, 02:49 PM   #9
erik2282
Member
 
Registered: May 2011
Location: TX
Distribution: Debian
Posts: 762

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by dave67 View Post
This is why I can never use Linux as a primary OS I will use it as a secondary.
I used to say this when I started using linux 6 years ago. I used Slackware on an old 2003 Compaq Presario with i think like 1gb of ram. fun and frustrating times. used to have to keep switching back to windows xp, cuz i couldnt use my computer. Now, i can't imagine my main OS being Windows. I love my debian machines...
 
Old 03-11-2016, 03:37 PM   #10
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,952

Rep: Reputation: 686Reputation: 686Reputation: 686Reputation: 686Reputation: 686Reputation: 686
Quote:
Originally Posted by dave67 View Post
Here is the thing I can use the add printer in the settings and it finds the printer and I installed it and it can print.
HP network printers typically support a bunch of printing protocols, so printing can be configured using different backends and drivers, but the 'hp' CUPS backend (supplied by HPLIP) IS required to be in place if the 'hpaio' backend (also part of HPLIP) is used for scanning, since it relies on the URI being correct.

Quote:
If i use hp-setup it fails to detect it. Think the hplip does not support this version of Ubunbtu. I need to loo at maybe update hplip version. but no scanning software can detect it.
I am sure that Ubuntu (like most other distros does support HPLIP. The HPLIP page for your Envy 5530 model mentions that 3.13.7 (or later) is required. Assuming that you meet that requirement, maybe it is your firewall that is preventing detection.

This HPLIP Troubleshooting Guide specifically mentions which ports need to be open for HPLIP to work...
Quote:
Ensure that the correct ports are open.

Make sure that port 161 (udp and tcp), port 162 (udp and tcp) and port 9100 (udp and tcp) are open through your firewall. If these are not open then HPLIP will not function.
Quote:
Here is the printer

dnssd://HP%20ENVY%205530%20series%20%5B614B15%5D._ipp._tcp.local/

other wise it would use 9100 again
That URI is using DNS-SD to discover the printer. You specifically need to use hp-setup, and it should generate a URI itself.

BTW, the 'hp-makeuri' utility can be used to generate the required printer URI (for HPLIP printing), but again it will need the firewall disabled or the appropriate ports open first
Code:
hp-makeuri

Last edited by ferrari; 03-11-2016 at 03:39 PM.
 
Old 03-11-2016, 03:54 PM   #11
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 19.2 MATE, MX-19, Manjaro
Posts: 2,618
Blog Entries: 14

Rep: Reputation: 953Reputation: 953Reputation: 953Reputation: 953Reputation: 953Reputation: 953Reputation: 953Reputation: 953
dave67,

See post #10 on here:

http://www.linuxquestions.org/questi...-a-4175527021/
 
Old 03-12-2016, 12:56 AM   #12
dave67
Member
 
Registered: Apr 2007
Posts: 103

Original Poster
Rep: Reputation: 3
Thanks for the replies I will have to study these links. I have tired simple scan and it does not detect the scanner. I will Look into the option suggested. I have not used Linux in many years last I use it was whne Ubuntu 6.06 so I am rusty. And things have changed alot.

My plan is ditch windows and and use mac as my primary and a Linux distro as my second OS. But this going to be a a few years process due to software I have to use in windows. Once I get this figured out I can install and configure this in any distro. My issue is a m vary OCD and have to step back from a problem or I will not rest till I fix it.
 
Old 03-12-2016, 05:26 PM   #13
dave8671
Member
 
Registered: Mar 2016
Posts: 101

Rep: Reputation: Disabled
Solved

Ok Here is what I have found discovered

Xsane with find the scanner and I can scan if I have it connected via USB as will the default scan software.


I was using HPtoolbox and an USB cable to configure the printer for the wireless connection just now. this is the only way I can get it detected by hptoolbox. If a set it up with the add printer in the settings hp-toolbox complains that it is not configured using hplip. I noticed that once the configuration gets to the last part with the USB connected on the laptop the printer disconnects and I watched it disconnect twice from the wireless while the kubuntu tries to configure the wireless connection. if I stop it or it fails to find the printer the printer reconnects oook.


Typing the below code give back error state device not found so I cannot get a Ip address. I know what the address is 192.168.0.15. I configure it as 192.168.0.15:9100. It will not scan on wireless but right now this is not important.

Code:
hp-makeuri IP-ADDRESS
HP-setup is not supported if I do hp-check it states this that Ubuntu 14.04 is deprecated and not supported in red text.
 
Old 03-17-2016, 03:17 PM   #14
dave67
Member
 
Registered: Apr 2007
Posts: 103

Original Poster
Rep: Reputation: 3
Still solved Update for reference

Think Updating the hplip to a new version would help this issue. I helped a friend install PclinuxOS and it uses 3.14.10 had no issues with setting up the printer and xsane found the printer without any CL action. He can scan wireless to my printer we tested it. Guess what I did I had another HDD used it for PclinuxOS 2016 and I had the same experience. Think the newest version is 3-16-xx not need for PclinixOS.

I think if you completely remove and install a new version than 3.14.3 in Ubuntu 14.04 issues may be corrected. The main issue is the URl for the printer if you perform this setup make sure your IP for the printer is something like this below. For some reason the Current Hplip version in ubuntu can not create a URl. Only install the Hp-plugin with CL if needed.

Code:
hp:/net/ENVY_5530_series?ip=192.168.0.0

Last edited by dave67; 03-17-2016 at 10:50 PM.
 
  


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
HP Envy 15 w/ i7 take2hikes Linux - Laptop and Netbook 1 05-20-2010 01:22 AM
Envy gray53 General 62 09-25-2009 02:54 AM
Acer aspire 5530 vista/ubuntu 8.10 snubbeltramp Linux - Laptop and Netbook 5 02-13-2009 05:25 AM
installing Linux in Acer 5530 problem halovivek Linux - Laptop and Netbook 3 10-18-2008 12:53 PM
xsane don't detected canon N1220U scanner rosariowong Slackware 6 09-28-2004 12:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration