xsane and finding wireless printers

Started by GoinEasy9, 2013/09/08, 20:16:07

Previous topic - Next topic

GoinEasy9

Last night, I decided to try xsane because, well, I never tried it before and it came up in the fedora updates.  To my surprise, just calling xsane in fedora found the wireless printer on the home network and I was immediately able to do a scan.

Trying the same thing on my siduction install, xsane did not find the printer, and, I'd like to find out why.

I'm using Firestarter on my desktop, which I've updated to use systemd, so, it's not vanilla siduction, and, I'm wondering where the problem lies.  Is systemd neglecting to start a needed service?  Does the version of xsane matter, sid has .998 and fedora has .999?  Or, does the fact that fedora uses sane-backends and it is nowhere to be found in debian, the problem.  

I'm betting on sane-backends.  Does anyone have any other ideas?  If it is sane-backends, and it's not available, are there workarounds for the configuration?

Just thinking out loud here.

Edit: Realized I used hplip to install on fedora, but had to use cups for siduction.  hplip printer and fax install fails on siduction.  I'll have to look into that.
Linux Counter number 348347

dieres

If I remember right I had to deinstall the HP at http://localhost:631/printers.
After that I was able to Install with hp-setup or gui-tools.
After that scanning even fax I believe was possible, but not sure about fax.

GoinEasy9

Thanks dieres for the response.

So, hp-setup/hplip-gui worked for you.  I'll have to try removing the cups setup and try again.  Using hplip to setup the printer is the key though, as "scan=/usr/bin/xsane -V %SANE_URI%" is in the hplip.conf.
Linux Counter number 348347

ayla

#3
Hi,

I did not see out of your answer whether xsane now works for you or not, depends on my english I guess.
So if it's solved for you, just ignore my post. If not, this is what I had to do to get XSane to work with my wireless HP Laserprinter/Scanner:


Install avahi-daemon
run hp-setup, use Network/Ethernet/Wireless Network

A file gets downloaded and succesfully installed, I ignored an error message after.

After this I had to build a script make it executeable and placed it on my KDE-bar and run XSane with this script. It looks like this on my scanner:

#! /bin/bash

xsane hpaio:/net/HP_LaserJet_100_colorMFP_M175nw?ip=192.168.178.21


The string xsane has to send I got by connecting the scanner to an USB-port and looked what xsane had found there + the IP I liked to use.

Thread: Sorry, german! http://forum.siduction.org/index.php?topic=2676&start=0&postdays=0&postorder=asc&highlight=hp-setup

I had to run hpsetup again before a few days because my scanner stopped working.

hth
ayla

GoinEasy9

Thanks ayla, and no, I haven't got it working yet.  I have been sidetracked by some hardware problems, so, your hints are much appreciated.

I will start by deleting the cups setup, and, try hp-setup again.  You're script looks familiar to the address I've seen in one of my hplip.conf files.  So, I guess we're on the right track.

My aim is to find out why xsane works automatically in fedora, but doesn't in siduction, and see if we can use the results.  It may be that hplip does all the work, and, that would leave just HP printers as the beneficiaries. I hope that answer is more generic.
Linux Counter number 348347

ralul

I am not a specialist with printing. Working with my Gentoo installation I found this info about the policy change of cups-1.6
Quotenet-print/cups-1.6 no longer supports automatic remote printers or implicit classes via the CUPS, LDAP, or SLP protocols, i.e. "network browsing".
The browsing functionality can be restored by running cups-browsed from net-print/cups-filters as a separate daemon (just add its init script to your default runlevel). By default cups-browsed uses the net-print/cups-1.5 browse protocol, but it can also utilize zeroconf (if the zeroconf use flag is set). See /etc/cups cups-browsed.conf for configuration.

Of course, directly specifying the location of your printers in the cups interface works as well.
Is this of interest with Debian as it is the same version upgrade?
experiencing siduction runs better than my gentoo makes me know I know nothing