PDA

View Full Version : [SOLVED] Scanning with Xsane and the HP c6380 All-in-One



theAdmiral
21st December 2009, 05:56 AM
I started a thread that just brushed on the topic of running Xsane to scan with my HP c6380. However, the subject did not go very deep. It was alot about the printer, but not very much about scanning. It was also a previous installation and version of FedoraKDE. Now, I would like to take a moment to ask how to get Xsane up and running so that I can scan with my printer. I have it installed using $yum. However, the icon has not appeared anywhere and I am stumped. Any assistance for me to make some progress would be greatly appreciated.

Best regards,

scottro
21st December 2009, 05:59 AM
Have you installed hplip?

That's usually the first step for an HP printer.

theAdmiral
21st December 2009, 06:01 AM
Yes, scottro. Thanks for the prompt reply. Hp-lip is installed.

marcrblevins
21st December 2009, 06:10 AM
It use to work on the fly in Fedora 10, after that, I had to run this for my networked HP Photosmart 3210 printer in order to scan.
I originally use 'hp-setup' to get the printer going first.

My script to start up the scanner:


[root@kiriyamablevins marc]# cat startxsane
#!/bin/sh

xsane hpaio:/net/Photosmart_3200_series?ip=192.168.1.171

[root@kiriyamablevins marc]#


---------- Post added at 09:09 PM CST ---------- Previous post was at 09:08 PM CST ----------

You should be able to run, if using a SCSI or USB scanner:


sane-find-scanner


---------- Post added at 09:10 PM CST ---------- Previous post was at 09:09 PM CST ----------

For network:


hp-makeuri

theAdmiral
21st December 2009, 06:16 AM
Scottro,

My printer uses a usb connection. Is my script going to look like yours with the ip? If so, how do I find out the ip for my printer, from the terminal. (I know, dumb questions, but necessary...still a noob.)

Thanks,

marcrblevins
21st December 2009, 06:37 AM
Admiral, forget the I.P. / network stuff, you now mentioned USB printer.

Please run 'sane-find-scanner'.

theAdmiral
21st December 2009, 06:40 AM
I did, my friend. What should I do now?

marcrblevins
21st December 2009, 06:51 AM
Got no results from 'sane-find-scanner'?

theAdmiral
21st December 2009, 06:52 AM
Well, results, but they were not that intelligible. A lot of lines of statements preceded by the hash mark.

marcrblevins
21st December 2009, 06:58 AM
Can you provide me a screenshot?

theAdmiral
21st December 2009, 07:00 AM
[root@localhost theAdmiral]# sane-find-scanner

# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.

# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x08ff, product=0x2580 [Fingerprint Sensor]) at libusb:006:002
found USB scanner (vendor=0x03f0 [HP], product=0x7011 [Photosmart C6300 series]) at libusb:005:003
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.

# Not checking for parallel port scanners.

# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
[root@localhost theAdmiral]#

marcrblevins
21st December 2009, 07:28 AM
Ok, then try:


scanimage -L

What does that say?

---------- Post added at 10:28 PM CST ---------- Previous post was at 10:24 PM CST ----------

Looking at:


man sane-usb

Trying to figure out where you are suppose to put that usb line:


usb 0x03f0 0x7011

I had an USB scanner by HP years ago, but I moved to networked HP printer/scanner.

theAdmiral
21st December 2009, 07:32 AM
[root@localhost theAdmiral]# scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[root@localhost theAdmiral]#


Your continued help is greatly appreciated.

Regards,
Checking out for the night,

marcrblevins
21st December 2009, 07:34 AM
Since your scanner is recognizable thru USB

So what happens when you start Xsane?

theAdmiral
21st December 2009, 04:37 PM
I tried starting xsane with



startxsane


and



start xsane


The first one spit back



command not found


and the second spit back



start: Unknown job: xsane


So, what is the proper command?

dally_z
21st December 2009, 04:46 PM
I had the same issue. I didn't have correct version of sane package for my Brother all-in-one. Check certification on sane site and recommended packages/versions.

Ubuntu forums have entries for the same type the printer.

Try:
http://hplipopensource.com

Dali.

theAdmiral
21st December 2009, 04:56 PM
I am running Sane version 0.997.

dally_z
21st December 2009, 05:05 PM
http://www.linuxprinting.org/show_printer.cgi?recnum=HP-Photosmart_C6380

You will need hplip and than some stuff for sane.

http://hplipopensource.com/hplip-web/models/photosmart/photosmart_c6300_series.html

Follow the install guide.

Dali.

scottro
21st December 2009, 06:31 PM
BTW, the command for xsane is simply



xsane


No start xsane or startxsane.

marcrblevins
21st December 2009, 07:31 PM
Forget my script. startxsane was for me, for my network printer/scanner.

You have Xsane in your menus. Or you can start your terminal and type in 'xsane'.

---------- Post added at 10:31 AM CST ---------- Previous post was at 10:30 AM CST ----------

Whoops, second page already. Sorry.

jowkar
21st December 2009, 08:26 PM
My bad, didnt see you already got answered. sry for this post

theAdmiral
30th December 2009, 03:07 PM
http://www.linuxprinting.org/show_printer.cgi?recnum=HP-Photosmart_C6380

You will need hplip and than some stuff for sane.

http://hplipopensource.com/hplip-web/models/photosmart/photosmart_c6300_series.html

Follow the install guide.

Dali.

I already went this route. No feedback from the first link, and same results from the second link that I have been pursuing ever since I tried to connect this USB printer.

marcrblevins
30th December 2009, 06:56 PM
What we have so far:


found USB scanner (vendor=0x03f0 [HP], product=0x7011 [Photosmart C6300 series]) at libusb:005:003
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.

usb 0x03f0 0x7011

Need to be root


su -

Then open up the file:


/etc/sane.d/hp.conf

Uncomment the last two lines(get rid of the #):


#
# Uncomment the following if your scanner is connected by USB,
# but you are not using libusb
# /dev/usb/scanner0
# option connect-device

Exit root priv:


exit

Give xsane another try:


xsane

If these steps didn't work, you may have to add to that file, then give xsane another try:


# HP Photosmart C6380
usb 0x03f0 0x7011

petyr
12th January 2010, 08:42 AM
Oddly enough xsane and hplip didn't install the necessary library for me to scan with my HP. Took a bit of head bashing but I solved it with a

yum install libsane-hpaio


afterwards xsane was happy with it. This was for an HP OfficeJet 6110 AllInOne monstrosity.
hth,
Petyr

theAdmiral
12th January 2010, 12:45 PM
$ yum install libsane-hpaio

worked!

Many thanks!

theAdmiral
1st June 2010, 11:45 AM
I'm back in the harbor again, tied up to a pier. Working on getting xsane going. Have tried everything in this thread that I could except for the networking part, but xsane still doesn't want to run. Your ideas and suggestions would be most helpful, I am sure. Thank you in advance for your help.