Ubuntu printer-scanner problems hp1050A AIO

the new printer I have won’t setup but if I go to terminal it says cups is not installed I’m on ubuntu 11.10 please help would I use the sane program for the scanner dose it make a difference if its all in one?

I’d be seriously surprised if CUPS wasn’t installed.

Install the hplip-gui package:

sudo apt-get install hplip-gui

You should then find the HPLIP Toolbox in the menu’s somewhere … Set your printer up in there.

SANE is a command line application, and the backend for scanning applications like Simple Scan and Xsane.

I’d suggest Xsane:

sudo apt-get install xsane

OK …

What is the output from

dpkg -l hplip

What happens if you (in your web browser) go to:
http://localhost:631/
then select … Administration > Find New Printers

I’m doing this from memory … but what happens if you click the blue writing (HP-Deskjet-1050-J410-series) on the screen in your pic … does it let you add the printer ?

if not, go back to Administration > Add Printer

If it asks for a username/password … it’s your Linux ones it wants.

Dunno … try it and see … you can always remove it if it doesn’t in Administration > Manage Printers

According to the HPLIP website, the drivers for your printer have been included since hplip-3.10.6

You are on a more recent version … so they’re on there somewhere.

Did you try Administration > Add Printer ?

Have you tried adding it through the system settings panel … Ubuntu >= 11.04 is supposed to be able to automatically detect and offer you the correct driver ?

It may be listed as J410

I take it the printer is working now ? … but not the scanner ?

What is the output from:

sane-find-scanner

and

sudo sane-find-scanner

and

scanimage -L

This is a USB printer, and not a wireless one ?


You could also try installing the latest version of hplip (3.12.4) … instructions and download here:
http://hplipopensource.com/hplip-web/install/install/index.html

Will you STOP opening multiple topics, when ALL of this should be being covered in your original topic:
http://linuxforums.org.uk/index.php?topic=10094.0

I’m now going to merge those 3 topics.

[EDIT]

Merged, and PM sent to OP

OK, lets start from scratch, remove all the printers,and install the latest hplip …

In your web browser, go to
http://localhost:631/
then go to Administration tab > Manage Printers

click the BLUE writing at the beginning of the line for the HP 1050 J410

Select the “Administration” drop menu … Select “Delete Printer”

Do this for ALL entries other than PDF if present.

Open a terminal and run:

sudo sytem-config-printer

If there are any printers in there (other than PDF) … right-click them, and select “Delete”.

Close the printing window.

Back in the terminal, run:

sudo apt-get remove hplip-gui

then

cd ~

then

wget http://prdownloads.sourceforge.net/hplip/hplip-3.12.4.run

then

sh hplip-3.12.4.run

then follow the instructions from Step3 on this page:
http://hplipopensource.com/hplip-web/install/install/index.html

“a” was probably fine … but did it guess your Ubuntu version correctly ?

did it find your printer ?

If you open a terminal and run:

hp-setup

then go to the linked page above, and continue from step 11 … does it find your printer ?

What is in the “PPD File:” field ?

Are you saying that you couldn’t enter the CUPS web interface ? … Click this link in your browser:
http://localhost:631/

does that take you to the CUPS web interface ? … what’s listed if you select Administration tab > Manage Printers

If there’s 4 of them, you need to delete them all, then when there’s NONE, run:

hp-setup

again and add just ONE copy.

I’m not understanding you, and you’re not answering my questions again :o

What happens if you click this link:
http://localhost:631/
??

The CUPS username and password are you Linux ones

Can’t you delete them from within

hp-setup

or from within:

system-config-printer

Are you saying your Linux password no longer works ? … how are you logging on ?

You’ve lost me with the shortcuts, and cut and paste comments … and CUPS should accept your Linux username and password … have you tried creating a new user, making that user an administrator, then logging into that account and seeing if everything works.

If not, and your system is that messed up that it won’t accept passwords … maybe you should consider a fresh install … specially considering 12.04 was just released.

IIRC, your PC has played up since you upgraded 10.10 → 11.10

Your printer and scanner are supposed to just work.

You’ve lost me … You have the 12.04 LiveCD ISO image downloaded ? … if so, why are you trying to extract it ?

You need to burn the ISO image to a CD or DVD with something like Brasero … or use “Startup Disk Creator” to create a LiveUSB stick with it.

There are links on how to burn the CD in Ubuntu or Windows on the right hand column of this page:
http://www.ubuntu.com/download/desktop

Then boot to it.

I have no idea what “tails live image” is ???

How did you burn the ISO image to DVD ?

Yes, set the CD/DVD drive as the first boot device in the BIOS.

Or when your system is showing the POST screen … look for a message telling you what key to press to enter the boot device selection screen … usually F12 or F10

It won’t load the HP icon on to the top bar I also looked in applications for it but no luck

it takes me to cups if I click on the local link
It won’t let me passed the password to add printer, I think this is an error on my part can I delete account and restart(sorry)

found USB scanner (vendor=0x03f0 [HP], product=0x8911 [Deskjet 1050 J410 series]) at libusb:002:002 but when I select scan I get the error fail to start scan …device I/O

gordon@gordon-desktop:~$ scanimage -L
device `hpaio:/usb/Deskjet_1050_J410_series?serial=CN19D1N19C05QT’ is a Hewlett-Packard Deskjet_1050_J410_series all-in-one
gordon@gordon-desktop:~$

I be back tomorrow should be about 6 pm
thanks for ur help so far

What’s the output from:

hp-check -t

?

I’ve attached the output it tells me theres no tray for exiting

OK first of all you have 3 print queues for that printer … click this link:
http://localhost:631
Then click Administration>Manage Printers … click the blue writing for each HP printer (in turn) and select “Delete Printer” from the Administration drop menu.

Make sure you’ve deleted ALL HP printer queues … we’ll add one back later, after sorting the other problems.


Secondly … you appear to have some missing run-time dependencies (for hplip) … With your printer turned ON, open a terminal and run:

hp-check -r

and post the output.

Here’s mine for comparison (Ubuntu 11.10 64bit):-
[spoiler]

mark@mark:~$ hp-check -r

HP Linux Imaging and Printing System (ver. 3.11.7)
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 mark 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 20:45:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Distribution:
ubuntu 11.10

Checking Python version…
OK, version 2.7.2 installed

Checking PyQt 4.x version…
OK, version 4.8.5 installed.

Checking for CUPS…
Status: scheduler is running
Version: 1.5.0
error_log is set to level: warn

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


RUNTIME DEPENDENCIES

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

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer…
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 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: Reportlab - PDF library for Python…
OK, found.

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

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

Checking for dependency: xsane - Graphical scanner frontend for SANE…
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.


HPLIP INSTALLATION

Currently installed HPLIP version…
HPLIP 3.11.7 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.11.7

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

Following values are determined at configure time and cannot be changed.

[configure]
network-build=yes
pp-build=yes
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=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.11.7
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
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:
[installation]
date_time = 13/07/12 11:16:55
version = 3.11.7

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = “hp:/usb/Photosmart_C3100_series?serial=CN747C20BC04P9”
printer_name =
working_dir = .

[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =


DISCOVERED USB DEVICES

No devices found.


INSTALLED CUPS PRINTER QUEUES

Photosmart-C3100-series

Type: Printer
Device URI: hp:/usb/Photosmart_C3100_series?serial=CN747C20BC04P9
PPD: /etc/cups/ppd/Photosmart-C3100-series.ppd
PPD Description: HP Photosmart c3100 Series, hpcups 3.11.7
Printer status: printer Photosmart-C3100-series disabled since Tue 13 Dec 2011 23:02:49 Unplugged or turned off
error: Unable to communicate with device (code=12): hp:/usb/Photosmart_C3100_series?serial=CN747C20BC04P9
error: Device not found
error: Communication status: Failed


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.


USER GROUPS

mark adm lp dialout cdrom audio plugdev lpadmin admin sambashare vboxusers


SUMMARY

error: 2 errors and/or warnings.

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

Done.

My Printer was turned OFF at the time, that’s why I got the errors[/spoiler]


Thirdly, your user account doesn’t appear to be in the “lp” group … open a terminal and run:

sudo apt-get install gnome-system-tools

then send the output from:

users; groups

The local host won’t let me past the password was I supposed to run this after deleteing the printers ?

gordon@gordon-desktop:~$ hp-check -r

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

Copyright (c) 2011-14 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 gordon-desktop 3.2.0-26-generic-pae #41-Ubuntu SMP Thu Jun 14 16:45:14 UTC 2012 i686 i686 i386 GNU/Linux

Distribution:
ubuntu 12.04

Checking Python version…
OK, version 2.7.3 installed

Checking PyQt 4.x version…
OK, version 4.9.1 installed.

Checking for CUPS…
Status: scheduler is running
warning: Version: (cups-config) Not available. Unable to determine installed version of CUPS.)
error_log is set to level: warn

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


RUNTIME DEPENDENCIES

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

Checking for dependency: CUPS DDK - CUPS driver development kit…
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer…
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 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: Reportlab - PDF library for Python…
OK, found.

Checking for dependency: SANE - Scanning library…
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.12.2 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.12.2

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

Following values are determined at configure time and cannot be changed.

[configure]
network-build=yes
pp-build=yes
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=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.12.2
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
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:
[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = “hp:/usb/Deskjet_1050_J410_series?serial=CN19D1N19C05QT”
printer_name =
working_dir = .

[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[installation]
date_time = 13/07/12 18:26:19
version = 3.12.2


DISCOVERED USB DEVICES

Device URI Model


hp:/usb/Deskjet_1050_J410_series HP Deskjet 1050 J410 series
?serial=CN19D1N19C05QT


INSTALLED CUPS PRINTER QUEUES

Deskjet_1050_J410

Type: Printer
Device URI: hp:/usb/Deskjet_1050_J410_series?serial=CN19D1N19C05QT
PPD: /etc/cups/ppd/Deskjet_1050_J410.ppd
PPD Description: HP Deskjet 1050 j410 Series, hpcups 3.12.2
Printer status: printer Deskjet_1050_J410 disabled since Fri 25 May 2012 21:26:55 BST - Backend /usr/lib/cups/backend/hp does not exist!
Communication status: Good

Deskjet_1050_J410_2

Type: Printer
Device URI: hp:/usb/Deskjet_1050_J410_series?serial=CN19D1N19C05QT
PPD: /etc/cups/ppd/Deskjet_1050_J410_2.ppd
PPD Description: HP Deskjet 1050 j410 Series hpijs, 3.12.2
Printer status: printer Deskjet_1050_J410_2 disabled since Sat 23 Jun 2012 23:15:42 BST Backend /usr/lib/cups/backend/hp does not exist!
Communication status: Good

Deskjet_1050_J410_3

Type: Printer
Device URI: hp:/usb/Deskjet_1050_J410_series?serial=CN19D1N19C05QT
PPD: /etc/cups/ppd/Deskjet_1050_J410_3.ppd
PPD Description: HP Deskjet 1050 j410 Series hpijs, 3.12.2
Printer status: printer Deskjet_1050_J410_3 disabled since Mon 09 Jul 2012 20:40:48 BST Backend /usr/lib/cups/backend/hp does not exist!
Communication status: Good

DJ

Type: Printer
Device URI: hp:/usb/Deskjet_1050_J410_series?serial=CN19D1N19C05QT
PPD: /etc/cups/ppd/DJ.ppd
PPD Description: HP Deskjet 1050 j410 Series, hpcups 3.12.2
Printer Backend /usr/lib/cups/backend/hp does not exist!2 21:36:39 BST -
Communication status: Good

HP-Deskjet-1050-J410-series

Type: Unknown
Device URI: usb://HP/Deskjet%201050%20J410%20series?serial=CN19D1N19C05QT&interface=1
PPD: /etc/cups/ppd/HP-Deskjet-1050-J410-series.ppd
PPD Description: HP Deskjet 1050 j410 Series, hpcups 3.12.2
Printer status: printer HP-Deskjet-1050-J410-series now printing HP-Deskjet-1050-J410-seProcessing page 1…ce Fri 13 Jul 2012 18:18:48 BST
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’…
‘hpaio’ in ‘/etc/sane.d/dll.d/hplip’…
OK, found. SANE backend ‘hpaio’ is properly set up.

Checking output of ‘scanimage -L’…
device `hpaio:/usb/Deskjet_1050_J410_series?serial=CN19D1N19C05QT’ is a Hewlett-Packard Deskjet_1050_J410_series all-in-one


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 0x8911 at 002:002:
Device URI: hp:/usb/Deskjet_1050_J410_series?serial=CN19D1N19C05QT
Device node: /dev/bus/usb/002/002
Mode: 0664
getfacl: Removing leading ‘/’ from absolute path names

file: dev/bus/usb/002/002

owner: root

group: lp

user::rw-
user:gordon:rw-
group::rw-
mask::rw-
other::r–


USER GROUPS

gordon adm cdrom sudo dip plugdev lpadmin sambashare

error: User needs to be member of group ‘lp’ to enable print, scan & fax.
User member of group ‘lpadmin’.


SUMMARY

error: 2 errors and/or warnings.

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

Done.
gordon@gordon-desktop:~$

I run it after and get this on the end


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 0x8911 at 002:002:
Device URI: hp:/usb/Deskjet_1050_J410_series?serial=CN19D1N19C05QT
Device node: /dev/bus/usb/002/002
Mode: 0664
getfacl: Removing leading ‘/’ from absolute path names

file: dev/bus/usb/002/002

owner: root

group: lp

user::rw-
user:gordon:rw-
group::rw-
mask::rw-
other::r–


USER GROUPS

gordon adm cdrom sudo dip plugdev lpadmin sambashare

error: User needs to be member of group ‘lp’ to enable print, scan & fax.
User member of group ‘lpadmin’.


SUMMARY

error: 2 errors and/or warnings.

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

Done.
gordon@gordon-desktop:~$

the printer is switched on with the USB connected ?

OK, first open a terminal and run:

users-admin

In the window that opens, click “Manage Groups”

In the new window, scroll down to “lp”, click it (to highlight it) and click “Properties”

In the new window, put a tick in the little box by your username, and click “OK” … enter your password when asked, then close all windows.

Now REBOOT … once rebooted, run:

groups

and check you are now in the “lp” group.

Now in your Web Browser, go to:
http://localhost:631
and delete ALL HP printer queues … when it asks for a username/password, they are your Ubuntu username and password you need to enter.

When you’ve deleted ALL HP printer queues … open a terminal and run:

hp-toolbox

If the HP Toolbox opens, set up your priter in there.