Stampante HP psc 1215 all-in-one non funziona più.

Asked by Osti Giancarlo

Ciao a tutti,

ho Ubuntu 8.04.1 versione i386 e fino a pochi giorni or sono stampavo.

Ho l'abitudine di cercare sempre cose nuove e leggendo ho scoperto HPLIP Toolbox e subito installato.

Ed ecco i problemi: stampa al rallentatore fino ad arrivare a dire che la stampante forse non è connessa. Evidentemente esiste un conflitto tra Cups e Hplip.

Sempre dico di volermi tagliare le dita.... questa è l'ultima, però ora mi serve un aiuto.

Ripristinare CUPS in modo tale che la stampante funzioni e poi eliminare il toolbox hplip alla radice.

Grazie molte.

Saluti

Question information

Language:
Italian Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Daniel Schwitzgebel
Solved:
Last query:
Last reply:
Revision history for this message
Alessio Treglia (quadrispro) said :
#1

Potrebbe derivare da un problema hardware: ha provato a stampare con un altro sistema operativo?

Revision history for this message
Osti Giancarlo (ostivalentino) said :
#2

Ciao Alessio,

ho provato a stampare con W. e va bene.

Il problema è uscito quando ho installato hplip, prima stampa al rallentatore poi fermata.

Ho rimosso il tool di Hplip ed ho configurato la stampante con Cups, prima eliminandola poi aggiungendola. Niente ferma. Ho scaricato i driver Hp psc 1200 hpijs.ppd e li ho installati con Cups, niente ferma. Ho provato driver 1210, niente.

Non so che altro fare, mi domando se prima era ok, ora cosa è che non va?? forse i driver? forse altro?

Non vorrei re-installare nuovamente Ubuntu.... sarebbe la quarta volta....

Potrebbe servire il disco di installazione di Hp? credo di no.

Per favore vedi di darmi una mano a capire dove sta il problema.

Grazie tante.

Saluti

Revision history for this message
Osti Giancarlo (ostivalentino) said :
#3

Ciao Alessio,

sono ancora io.
Ho trovato il log errori in Cups server se ti può aiutare:

E [21/Jul/2008:16:26:27 +0200] CUPS-Add-Modify-Printer: Unauthorized
E [21/Jul/2008:18:10:05 +0200] Purge-Jobs: Unauthorized
E [21/Jul/2008:18:10:26 +0200] Purge-Jobs: Unauthorized
E [21/Jul/2008:18:10:50 +0200] Purge-Jobs: Unauthorized
E [21/Jul/2008:18:11:33 +0200] PID 7942 (/usr/lib/cups/filter/foomatic-rip) stopped with status 3!
E [21/Jul/2008:18:11:33 +0200] [Job 83] Job stopped due to filter errors.
E [21/Jul/2008:18:11:50 +0200] Restart-Job: Unauthorized
E [21/Jul/2008:18:12:00 +0200] PID 7963 (/usr/lib/cups/filter/foomatic-rip) stopped with status 3!
E [21/Jul/2008:18:12:00 +0200] [Job 83] Job stopped due to filter errors.
E [21/Jul/2008:18:12:46 +0200] CUPS-Set-Default: Unauthorized
E [21/Jul/2008:18:13:09 +0200] PID 7995 (/usr/lib/cups/filter/foomatic-rip) stopped with status 3!
E [21/Jul/2008:18:13:09 +0200] [Job 83] Job stopped due to filter errors.
E [21/Jul/2008:18:13:13 +0200] Purge-Jobs: Unauthorized
E [21/Jul/2008:18:42:41 +0200] CUPS-Delete-Printer: Unauthorized
E [21/Jul/2008:18:42:41 +0200] CUPS-Delete-Printer: Unauthorized
E [21/Jul/2008:18:45:54 +0200] Purge-Jobs: Unauthorized
E [21/Jul/2008:18:46:20 +0200] PID 8354 (/usr/lib/cups/filter/foomatic-rip) stopped with status 3!
E [21/Jul/2008:18:46:20 +0200] [Job 87] Job stopped due to filter errors.
E [21/Jul/2008:18:46:42 +0200] Purge-Jobs: Unauthorized
E [21/Jul/2008:18:48:10 +0200] CUPS-Add-Modify-Printer: Unauthorized
E [21/Jul/2008:18:49:12 +0200] CUPS-Delete-Printer: Unauthorized
E [21/Jul/2008:19:02:55 +0200] CUPS-Add-Modify-Printer: Unauthorized
E [21/Jul/2008:19:04:10 +0200] CUPS-Add-Modify-Printer: Unauthorized
E [21/Jul/2008:19:06:00 +0200] Pause-Printer: Unauthorized
E [21/Jul/2008:19:06:12 +0200] Resume-Printer: Unauthorized
E [21/Jul/2008:19:07:59 +0200] Pause-Printer: Unauthorized
E [21/Jul/2008:21:33:10 +0200] CUPS-Add-Modify-Printer: Unauthorized
E [21/Jul/2008:21:34:12 +0200] Resume-Printer: Unauthorized
E [21/Jul/2008:21:37:48 +0200] CUPS-Add-Modify-Printer: Unauthorized
E [21/Jul/2008:21:42:19 +0200] CUPS-Add-Modify-Printer: Unauthorized
E [21/Jul/2008:21:52:54 +0200] cupsdAuthorize: Local authentication certificate not found!
E [21/Jul/2008:21:52:54 +0200] CUPS-Add-Modify-Printer: Unauthorized
E [21/Jul/2008:21:54:57 +0200] CUPS-Add-Modify-Printer: Unauthorized
E [21/Jul/2008:21:55:55 +0200] Pause-Printer: Unauthorized
E [21/Jul/2008:21:56:09 +0200] Resume-Printer: Unauthorized
E [21/Jul/2008:22:02:56 +0200] PID 6999 (/usr/lib/cups/filter/foomatic-rip) stopped with status 3!
E [21/Jul/2008:22:02:56 +0200] [Job 95] Job stopped due to filter errors.
E [21/Jul/2008:22:05:56 +0200] Purge-Jobs: Unauthorized
E [21/Jul/2008:22:06:06 +0200] Purge-Jobs: Unauthorized
E [21/Jul/2008:22:06:34 +0200] PID 7064 (/usr/lib/cups/filter/foomatic-rip) stopped with status 3!
E [21/Jul/2008:22:06:34 +0200] [Job 96] Job stopped due to filter errors.
E [21/Jul/2008:22:06:56 +0200] Cancel-Job: Unauthorized

Forse è da configurare bene Cups??? scegliere la stampante giusta?? ma quando ho installato Ubuntu mica mi ha fatto tutte queste storie... ha riconosciuto subito la stampante e tutto è filato liscio.

Bah..

Ciao e grazie

Revision history for this message
Daniel Schwitzgebel (schwitzd) said :
#4

conflitti li escluderei.... hplip e cups lavorano assieme :)
prova a guardare questa
http://wiki.ubuntu-it.org/Hardware/StampantiScanner/HPAllInOne

Revision history for this message
Osti Giancarlo (ostivalentino) said :
#5

Ciao Daniel,

grazie molte per la risposta che è stata molto utile. ha risolto in gran parte il problema. Ho seguito la guida, ho visto che mancavano delle librerie, ho installato Hplit. Probabilmente quando ho rimosso Hplip, alcune librerie sono andate perdute e la stampante non funzionava più.

Nella guida dice di decommentare la riga:

#hpoj

nel file /etc/sane.d/dll.conf

ma leggendo il predetto file non esiste questa riga. La devo aggiungere io??

Da Hplip ho fatto stampare la pagina di prova che è uscita regolarmente:
Hp Printer Test Page.

Sono andato in Preferenze--> Stampa, in elenco ci sono due:

psc 1200 (e con questa ho provato a stampare un documento e funziona)

psc 1200 series ---> (nota in alto a destra dice che: è possibile che la stampante non sia connessa)

In effetti ora stampo selezionando psc 1200

Invece se seleziono psc 1200 series non si stampa.

La settimana scorsa, prima di incasinare tutto, in Stampa c'era solo questa psc 1200 e si stampava correttamente. Dopo l'installazione di Hplit toolbox in Stampa ne risultano due e la psc 1200 series NON stampa. Ecco la confusione, qualcosa non va tra Cups e Hplip!!!

Tuttavia al momento la stampante funziona e mi farebbe piacere avere un tuo commento riguardo alla riga.

Cordiali saluti.

Revision history for this message
Daniel Schwitzgebel (schwitzd) said :
#6

nono quel pezzo lascialo via...
è per un altro modello che a te non interessa.

ora cancella la stampante che non va ( psc 1200 series ) ed usa l'altra

con quella riesci a stampare tutto correttamente?

Revision history for this message
Osti Giancarlo (ostivalentino) said :
#7

Ciao Daniel,

ritorno in merito alla stampante.

Dal terminale ho lanciato questo comando: hp-check -t

ed ecco il risultato, ci sono 3 errori, uno riguarda proprio hpoj.

il secondo : SIP version (????)

il terzo penso sia : hpaio

Per favore puoi controllare? grazie.

"""
giancarlo@giancarlo-desktop:~$ hp-check -t

HP Linux Imaging and Printing System (ver. 2.8.2)
Dependency/Version Check Utility ver. 13.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.

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...
warning: Invalid drv_dir value: /usr/share/cups/drv/hp/

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

Basic system information:
Linux giancarlo-desktop 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux

Distribution:
ubuntu 8.04

HPOJ running?
error: Yes, HPOJ is running. HPLIP is not compatible with HPOJ. To run HPLIP, please remove HPOJ.

Checking Python version...
OK, version 2.5.2 installed

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

Checking SIP version...
error: SIP not installed or version not found.

Checking for CUPS...
Status: la stampa programmata è in esecuzione
Version: 1.3.7

------------------------------------
| 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-ddk - CUPS driver development kit...
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...
OK, found.

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

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

Currently installed HPLIP version...
HPLIP 2.8.2 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.8.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
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
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
internal-tag=2.8.2.10

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

No devices found.

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

  Device URI Model
  -------------------------------- ------------------
  hp:/usb/psc_1200_series?serial=M HP psc 1200 series
  Y52IG31HKT0

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

warning: No queues found.

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

'hpaio' in '/etc/sane.d/dll.conf'...
error: Not found. SANE backend 'hpaio' NOT properly setup (needs to be added to /etc/sane.d/dll.conf).

Checking output of 'scanimage -L'...
device `v4l:/dev/video0' is a Noname OV519 USB Camera virtual device
device `hpoj:mlc:usb:psc_1200_series' is a Hewlett-Packard psc 1200 series multi-function peripheral
device `hpaio:/usb/psc_1200_series?serial=MY52IG31HKT0' is a Hewlett-Packard psc_1200_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 0x2f11 at 001:006:
    Device URI: hp:/usb/psc_1200_series?serial=MY52IG31HKT0
    Device node: /dev/bus/usb/001/006
    Mode: 0660
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/006
# owner: lp
# group: scanner
user::rw-
user:giancarlo:rw-
group::rw-
mask::rw-
other::---

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

error: 3 errors and/or warnings.

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

giancarlo@giancarlo-desktop:~$

"""
Cordiali saluti.

PS. La stampante che non va psc 1200 series la devo eliminare da Cups:

Sistema-->Amministrazione---> Stampa ???????

oppure da Hplip toolbox??? in questo momento mi da:

Errore: dispositivo non trovato. Verificare la connessione e accendere il dispositivo.

La stampante era accesa è collegata.

Aspetto ciao

Revision history for this message
Daniel Schwitzgebel (schwitzd) said :
#8

allora un problema lo risolvi cosi

sudo apt-get remove hpoj hpoj-xojpanel

ma non sono grandi problemi.... la stampante funziona lo stesso giusto?

Revision history for this message
Osti Giancarlo (ostivalentino) said :
#9

Ciao Daniel,

grazie per la risposta. Ho rimosso hpoj. La stampante funziona.

Errore: hpaio, devo aggiungere a /etc/sane.d/dll.conf ???

errore: getface : removing '/' from absolute path names ???? cosa devo fare???

errore: SIP version : SIP not installed or version not found .. cosa devo fare??

Poi la stampante che devo eliminare, lo faccio tramite CUPS o tramite Hplip???

Attendo notizie.

Cordiali saluti:

Revision history for this message
Best Daniel Schwitzgebel (schwitzd) said :
#10

non saprei per risolvere quegli errori... ma non sono niente di grave visto che la stampante funziona :)
per rimuovere la stampante che non va lo puoi fare da cups

Revision history for this message
Osti Giancarlo (ostivalentino) said :
#11

Ciao Daniel,

prendo atto e ti ringrazio sentitamente per l'aiuto nel risolvere questo problema.

Chiudo la question evt. se avrò bisogno di altro la riaprirò.

Cordiali saluti e buon lavoro

Revision history for this message
Osti Giancarlo (ostivalentino) said :
#12

Thanks Daniel Schwitzgebel, that solved my question.