Does not work after replug; HP Lj 1018

Asked by Mihail

Hello.
I have downloaded the latest HPLIP from the sourceforge, 2.7.12

First, I tried to install the self-extracting .run file. It managed to install, but after I have replugged my printer (LJ 1018), it stopped working.

Then I tried to install it manually, following the instructions posted on the site, step by step.
After all, the printer printed the test page. But after turning it down and then again up, it refused to work :)

Here is what

hp-check -t

says:

***********************************************

mihail@mihail-desktop:~$ hp-check -t

HP Linux Imaging and Printing System (ver. 2.7.12)
Dependency/Version Check Utility ver. 12.2

Copyright (c) 2001-7 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.

Saving output in log file: hp-check.log

Initializing. Please wait...

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux mihail-desktop 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007 i686 GNU/Linux

Distribution:
ubuntu 7.10

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.5.1 installed

Checking PyQt version...
OK, version 3.17 installed.

Checking SIP version...
OK, Version 4.7 installed

Checking for CUPS...
Status: планировщик запущен
Version: 1.3.2

Checking for Reportlab...
OK, version >= 2.0

----------------
| DEPENDENCIES |
----------------

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: 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: ppdev - Parallel port support kernel module....
OK, found.

Checking for dependency: PyQt - Qt interface for Python...
OK, found.

Checking for dependency: python-devel - Python development files...
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...
warning: NOT FOUND! This is an OPTIONAL dependency. Some HPLIP functionality may not function properly.
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes libsane

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

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

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

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

[hpssd]
# Note: hpssd does not support dynamic ports
# Port 2207 is the IANA assigned port for hpssd
port=2207

[hplip]
version=2.7.12

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-2.7.12
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
foomatic=/usr/share/foomatic

# 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
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-xml-install=yes
foomatic-ppd-install=no
internal-tag=2.7.12.10

-------------------------------
| DISCOVERED PARALLEL DEVICES |
-------------------------------

No devices found.

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

  Device URI Model
  -------------------------------- ----------------
  hp:/usb/HP_LaserJet_1018?serial= HP LaserJet 1018
  KP1C2FL

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

warning: No queues found.

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

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

Checking output of 'scanimage -L'...
error: scanimage not found.

---------------------
| 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 0x4117 at 002:008:
    Device URI: hp:/usb/HP_LaserJet_1018?serial=KP1C2FL
    Device node: /dev/bus/usb/002/008
    Mode: 0666

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

error: 1 error or warning.

Summary of needed commands to run to satisfy missing dependencies:
sudo apt-get install --yes --force-yes libsane

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

****************************************************

Please help me out :) thanks for support

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Mihail
Solved:
Last query:
Last reply:
Revision history for this message
Mihail (goloff) said :
#1

Forgot to say, Ubuntu 7.10

Revision history for this message
Mihail (goloff) said :
#2

I have executed

sudo apt-get install --yes --force-yes libsane

but the system says that the latest version of libsane is already installed.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#3

libsane is only for scanning so it's no problem.

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

warning: No queues found.

is the main problem at this point..

can you run hp-setup -g

and post the output?

Thanks!

A

Revision history for this message
Mihail (goloff) said :
#4

Hello!
You know, I dont quiet understand what to post :) 'cause, as I understand, I need to install the printer again and post here all the text that the command line writes; but it's too long and when I scroll it up, I see that not all text remains. So I'll post the very first text, before installing... if you need more, please tell me :)

mihail@mihail-desktop:~$ sudo hp-setup -g
hp-setup[6350]: debug: param=

HP Linux Imaging and Printing System (ver. 2.7.12)
Printer/Fax Setup Utility ver. 7.0

Copyright (c) 2001-7 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.

hp-setup[6350]: debug: Using system locale: ru_RU.UTF-8
hp-setup[6350]: debug: Trying to load .qm file for ru_RU.UTF-8 locale.
hp-setup[6350]: debug: Name of .qm file: hplip_ru_RU.UTF-8.qm
hp-setup[6350]: debug: Using locale: ru_RU.UTF-8
Qt: Locales not supported on X server
QInputContext: no input method context available
QInputContext: no input method context available
qstring_to_xtp result code -2
hp-setup[6350]: debug: Startup: Trying to connect to hpssd on localhost:2207
hp-setup[6350]: debug: Connected to hpssd on localhost:2207
hp-setup[6350]: debug: ******************** showPage(ConnectionPage) ********************
hp-setup[6350]: debug: --> ConnectionPage

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#5

Yeah I'll need all of it. You might want to change your terminal history setting to a large quantity. Then you can either paste here or to pastebin.

Hope this helps!

A

Revision history for this message
Launchpad Janitor (janitor) said :
#6

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Revision history for this message
Mihail (goloff) said :
#7

Damn, I completely forgot about the issue :) New year, etc...

In fact, I can't say what happened, but I removed all files and folders created during HPLIP installation, then reboot,,, and my printer began to work... with some bugs and sometimes it refuses to respond, but in general it prints, and I'm sort of happy :) and don't want to touch it anymore, hope the next time I deside to reinstall HPLIP I won't have such problems :)

Thank you for your work and support :) think this question can be closed

Revision history for this message
Mihail (goloff) said :
#8

Oh, there is the button "Problem solved".. okay

Revision history for this message
Rick Richardson (rick-richardson) said :
#9

Use:

http://foo2zjs.rkkda.com

For an Open Source solution, instead of a closed source solution like HPLIP.