You are not logged in.

#1 2010-01-24 22:18:23

michy99
Member
Registered: 2010-01-23
Posts: 21

Problem setting up HP 6310 all-in-one printer/scanner

I have just installed archlinux for the first time, and so far everything is working great except for a HP 6310 all-in-one printer/scanner. This printer is connected by wire to a router, and the computer communicates with the router over a wireless connection. I have managed to install the printer through cups and print a test page. The problem is getting hplip and sane set up. I belive that if I get hplip set up correctly that that will take care of the sane problem.

Trying to install the printer with hp-setup:

[mike@archy ~]$ sudo hp-setup -i 192.168.1.104
Password: 

HP Linux Imaging and Printing System (ver. 3.9.12)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


Setting up device: hp:/net/Officejet_6300_series?ip=192.168.1.104



---------------------
| PRINT QUEUE SETUP |
---------------------


Please enter a name for this print queue (m=use model name:'Officejet_6300'*, q=quit) ?
Using queue name: Officejet_6300
Locating PPD file... Please wait.
error: No PPD found for model officejet_6300 using new algorithm. Trying old algorithm...

Found PPD file: drv:///hp/hpcups.drv/hp-officejet_6300_series.ppd
Enter a location description for this printer (q=quit) ?computer room
Enter additonal information or notes for this printer (q=quit) ?

Adding print queue to CUPS:
Device URI: hp:/net/Officejet_6300_series?ip=192.168.1.104
Queue name: Officejet_6300
PPD file: drv:///hp/hpcups.drv/hp-officejet_6300_series.ppd
Location: computer room
Information: 
error: Printer queue setup failed. Please restart CUPS and try again.

Restarting cups doesn't change anything.

Running hp-check gives this:

[mike@archy ~]$ hp-check

HP Linux Imaging and Printing System (ver. 3.9.12)
Dependency/Version Check Utility ver. 14.3

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.                                    
2. Run-time check mode (-r or --run): Use this mode to determine if a distro    
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball   
has the proper dependencies installed to successfully run.                      
3. Both compile- and run-time check mode (-b or --both) (Default): This mode    
will check both of the above cases (both compile- and run-time dependencies).   

Saving output in log file: hp-check.log

Initializing. Please wait...
 
---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux archy 2.6.32-ARCH #1 SMP PREEMPT Sat Jan 23 13:53:44 UTC 2010 i686 Intel(R) Pentium(R) III CPU 1133MHz GenuineIntel GNU/Linux

Distribution:
unknown 0.0

Checking Python version...
OK, version 2.6.4 installed

Checking PyQt 4.x version...
OK, version 4.6.2 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.4.2
error_log is set to level: debug

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0


------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: CUPS image - CUPS image development files...
OK, found.

Checking for dependency: DBus - Message bus system...
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency: libjpeg - JPEG library...
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
OK, found.

Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python devel - Python development files...
OK, found.

Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.


----------------------
| HPLIP INSTALLATION |
----------------------


Currently installed HPLIP version...
HPLIP 3.9.12 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.9.12

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.9.12
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=yes
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.9.12.29
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=no
hpcups-only-build=no
hpijs-only-build=no


Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables. 

[plugin]
installed=0
eula=0



Current contents of '~/.hplip/hplip.conf' file:
[last_used]
device_uri = hp:/net/Officejet_6300_series?ip=192.168.1.104

[installation]
version = 3.9.12.29
date_time = 01/24/2010 15:48:05



--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 
Officejet_6300_series
---------------------
Type: Unknown
Device URI: socket://192.168.1.104
PPD: /etc/cups/ppd/Officejet_6300_series.ppd
PPD Description: HP Officejet 6300 Series, hpcups 3.9.12
Printer status: printer Officejet_6300_series is idle.  enabled since Sat 23 Jan 2010 02:26:45 PM CST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.


----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of '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).


---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.


 
-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

HP Device 0xb1d at 004:002: 
warning:     Device URI: (Makeuri FAILED)

---------------
| USER GROUPS |
---------------

lp wheel network video audio optical storage scanner power users mike


-----------
| SUMMARY |
-----------

error: 1 error or warning.

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html


Done.

I have a feeling that the problem is here:

warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.

Something about the backend isn't right, but I'm out of my depth here. Any suggestions would be appreciated.

One other point. It works with no problem in Ubuntu with both hplip and sane, so I know it is possible. I just haven't figured out the trick yet.

Offline

#2 2010-01-25 17:25:48

michy99
Member
Registered: 2010-01-23
Posts: 21

Re: Problem setting up HP 6310 all-in-one printer/scanner

Well, it's fixed now, but I'm not sure why. I hooked up a HP 3970 usb scanner to my computer and when I started xsane it not only found it, but also found the 3610 all-in-one on the network. I checked hp-tools, and the 3610 was there also.So everything is working now, but I'm still curious as to why the 3610 wouldn't work with sane and hp-setup until I plugged in the 3970 to the computer.

Offline

Board footer

Powered by FluxBB