Impresora HP LaserJet Pro P1102w (en Debian 6)
Comunidad! buenas tardes. He adquirido una flamante Impresora HP LaserJet Pro P1102w para mi sorpresa es la primera vez que conecto (plug&play) una hp en debian y no la reconoce automáticamente.
La impresora esta bien conectada y con corriente eléctrica altena (n_n)
jfm@bitrom:~$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 03f0:032a Hewlett-Packard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubEstuve googleando y encontré estas dos soluciones pero no no llego nunca a los pasos finales, alguien sabe donde estoy metiendo la gamba?...
1- http://hplipopensource.com/hplip-web/downloads.html
2- http://www.pumawifi.org/?q=node/99
jfm@bitrom:~/Descargas$ sh hplip-3.11.7.run
Creating directory hplip-3.11.7
Verifying archive integrity... All good.
Uncompressing HPLIP 3.11.7 Self Extracting Archivecd: 379: can't cd to hplip-3.11.7
.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................cd: 379: can't cd to hplip-3.11.7
chown: cambiando el propietario de «./.libs/libsane-hpaio.so.1.0.0T»: Operación no permitida
chown: cambiando el propietario de «./.libs/hpmudext.soT»: Operación no permitida
chown: no se puede leer el directorio «./hplip-3.11.7»: Permiso denegado
chgrp: cambiando el grupo de «./.libs/libsane-hpaio.so.1.0.0T»: Operación no permitida
chgrp: cambiando el grupo de «./.libs/hpmudext.soT»: Operación no permitida
chgrp: no se puede leer el directorio «./hplip-3.11.7»: Permiso denegado
cd: 382: can't cd to hplip-3.11.7
HP Linux Imaging and Printing System (ver. 3.11.7)
HPLIP Installer ver. 5.1
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.
Installer log saved in: hplip-install_Thu-04-Aug-2011_18:53:42.log
/
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.
Please choose the installation mode (a=automatic*, c=custom, q=quit) : c
Initializing. Please wait...
INTRODUCTION
------------
This installer will install HPLIP version 3.11.7 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).
DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Debian 6.0.2.
Is "Debian 6.0.2" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y
SELECT HPLIP OPTIONS
--------------------
You can select which HPLIP options to enable. Some options require extra dependencies.
Do you wish to enable 'Network/JetDirect I/O' (y=yes*, n=no, q=quit) ? y
Do you wish to enable 'Graphical User Interfaces (Qt4)' (y=yes*, n=no, q=quit) ? y
Do you wish to enable 'PC Send Fax support' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'Scanning support' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'HPLIP documentation (HTML)' (y=yes*, n=no, q=quit) ? y
ENTER ROOT/SUPERUSER PASSWORD
-----------------------------
Please enter the root/superuser password:
Password accepted
RUNNING PRE-INSTALL COMMANDS
----------------------------
OK
READY TO BUILD AND INSTALL
--------------------------
Ready to perform build and install. Press <enter> to continue or 'q' to quit:
PRE-BUILD COMMANDS
------------------
OK
BUILD AND INSTALL
-----------------
Running './configure --libdir=/usr/lib64 --prefix=/usr --enable-qt4 --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --enable-foomatic-ppd-install --enable-hpijs-install --disable-policykit --disable-cups-drv-install --disable-hpcups-install --enable-network-build --enable-dbus-build --disable-scan-build --disable-fax-build'
Please wait, this may take several minutes...
Command completed successfully.
Running 'make clean'
Please wait, this may take several minutes...
Command completed successfully.
Running 'make'
Please wait, this may take several minutes...
Command completed successfully.
Running 'su -c "make install"'
Please wait, this may take several minutes...
Command completed successfully.
Build complete.
POST-BUILD COMMANDS
-------------------
CLOSE HP_SYSTRAY
----------------
Sending close message to hp-systray (if it is currently running)...
RESTART OR RE-PLUG IS REQUIRED
------------------------------
If you are installing a USB connected printer, and the printer was plugged in
when you started this installer, you will need to either restart your PC or
unplug and re-plug in your printer (USB cable only). If you choose to restart,
run this command after restarting: hp-setup (Note: If you are using a parallel
connection, you will have to restart your PC. If you are using network/wireless,
you can ignore and continue).
Restart or re-plug in your printer (r=restart, p=re-plug in*, i=ignore/continue, q=quit) : p
Please unplug and re-plugin your printer now. Press <enter> to continue or 'q' to quit:
PRINTER SETUP
-------------
Would you like to setup a printer now (y=yes*, n=no, q=quit) ? y
Please make sure your printer is connected and powered on at this time.
jfm@bitrom:~/Descargas$



- Inicie sesión o regístrese para enviar comentarios
- 2050 lecturas


Comunidad! buenas tardes. He adquirido una flamante Impresora HP LaserJet Pro P1102w para mi sorpresa es la primera vez que conecto (plug&play) una hp en debian y no la reconoce automáticamente.
EL camino que indicas con el link de la impresora te lleva a hplip, el cual lo puedes encontrar e instalar en Debian,
solamente hacer
oroot@debian:/home/masat# aptitude install hplip
como root, y con esto ya tendrás funcionando infinidad de impresoras hp.
¿Ya lo has hecho?
Si pero nada. Ya está instalado en su versión mas moderna creo...
root@bitrom:/home/jfm# aptitude install hplipNo se instalará, actualizará o eliminará ningún paquete.
0 paquetes actualizados, 0 nuevos instalados, 0 para eliminar y 0 sin actualizar.
Necesito descargar 0 B de ficheros. Después de desempaquetar se usarán 0 B
Si pero nada. Ya está instalado en su versión mas moderna creo... [...]
Mejor busca o muestra hplip, para que estés seguro:
$ aptitude search hplip$ aptitude show hplip #(busca la línea que indica el estado: instalado/no instalado)
Saludos,
Sidd.
jfm@bitrom:~$ aptitude search hplipi hplip - HP Linux Printing and Imaging System (HPLI
i A hplip-cups - HP Linux Printing and Imaging - CUPS Raste
i A hplip-data - HP Linux Printing and Imaging - data files
p hplip-doc - HP Linux Printing and Imaging - documentat
p hplip-gui - HP Linux Printing and Imaging - GUI utilit
v hplip-ppds -
fm@bitrom:~$ aptitude show hplipPaquete: hplip
Estado: instalado
Instalado automáticamente: no
Versión: 3.10.6-2
Prioridad: opcional
Sección: utils
Desarrollador: Debian HPIJS and HPLIP maintainers <pkg-hpijs-devel@lists.alioth.debian.org>
Tamaño sin comprimir: 573 k
Depende de: libc6 (>= 2.3.2), libcups2 (>= 1.4.0), libdbus-1-3 (>= 1.0.2), libhpmud0 (= 3.10.6-2),
libsane (>= 1.0.11-3), libssl0.9.8 (>= 0.9.8m-1), hplip-data (= 3.10.6-2), hplip-cups (=
3.10.6-2), libsane-hpaio (= 3.10.6-2), python (> 2.6), python (< 2.7), python-support (>=
0.90.0), python-dbus (>= 0.80), python-imaging, python-pexpect, coreutils (>= 5.1.0),
lsb-base (>= 3), adduser (>= 3.34), cups (>= 1.1.20), cups-client (>= 1.1.20), policykit-1
Recomienda: sane-utils, avahi-daemon
Sugiere: kdeprint | gtklp | xpp, hplip-gui, hplip-doc, python-notify
Tiene conflictos con: hpijs (< 2.1), hplip-base, hplip-dbg (< 3.10.5-1ubuntu1), hplip-gui (< 2.8.10),
hpoj
Reemplaza: hplip-base, hplip-data (< 0.9.3), hplip-gui (< 2.8.10)
Descripción: HP Linux Printing and Imaging System (HPLIP)
The HP Linux Printing and Imaging System provides full support for printing on most HP SFP (single
function peripheral) inkjets and many LaserJets, and for scanning, sending faxes and for photo-card
access on most HP MFP (multi-function peripheral) printers.
HPLIP is composed of:
* System services to handle communications with the printers
* HP CUPS backend driver (hp:) with bi-directional communication with HP printers (provides printer
status feedback to CUPS and enhanced HPIJS functionality such as 4-side full-bleed printing support)
* HP CUPS backend driver for sending faxes (hpfax:)
* hpcups CUPS Raster driver to turn rasterized input from the CUPS filter chain into the printer's
native format (PCL, LIDIL, ...). (hpcups is shipped in a separate package)
* HPIJS Ghostscript IJS driver to rasterize output from PostScript(tm) files or from any other input
format supported by Ghostscript, and also for PostScript(tm) to fax conversion support (HPIJS is
shipped in a separate package)
* Command line utilities to perform printer maintenance, such as ink-level monitoring or pen cleaning
and calibration
* GUI and command line utility to download data from the photo card interfaces in MFP devices
* GUI and command line utilities to interface with the fax functions
* A GUI toolbox to access all these functions in a friendly way
* HPAIO SANE backend (hpaio) for flatbed and Automatic Document Feeder (ADF) scanning using MFP devices
USB, JetDirect (network) and parallel-port devices are supported.
Página principal: http://hplip.sourceforge.net/
jfm@bitrom:~$ aptitude search hplipi hplip - HP Linux Printing and Imaging System (HPLI
i A hplip-cups - HP Linux Printing and Imaging - CUPS Raste
i A hplip-data - HP Linux Printing and Imaging - data files
p hplip-doc - HP Linux Printing and Imaging - documentat
p hplip-gui - HP Linux Printing and Imaging - GUI utilit
v hplip-ppds -
¿Alguien sabe que significan estas letras?
A
p
v
jfm@bitrom:~$ hp-check -tHP 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 bitrom 2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64 GNU/Linux
Distribution:
debian 6.0.2
Checking Python version...
OK, version 2.6.6 installed
Checking PyQt 4.x version...
OK, version 4.7.3 installed.
Checking for CUPS...
Status: el planificador de tareas se está ejecutando
Version: 1.4.4
error_log is set to level: warn
Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.1
------------------------------------
| 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.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/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.11.7
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=no
fax-build=no
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=no
cups-drv-install=no
cups-ppd-install=no
internal-tag=3.11.7
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]
printer_name =
working_dir = .
device_uri = "hp:/usb/HP_LaserJet_Professional_P1102w?serial=000000000RK1CFPAPR1a"
[commands]
scan = /usr/bin/xsane -V %SANE_URI%
[installation]
version = 3.11.7
date_time = 17/08/11 10:08:06
[settings]
systray_messages = 0
systray_visible = 0
[fax]
email_address =
voice_phone =
[refresh]
rate = 30
enable = false
type = 1
[polling]
enable = false
device_list =
interval = 5
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
No devices found.
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
lpstat
------
Type: Unknown
Device URI: No destinations added.
---------------------
| PYTHON EXTENSIONS |
---------------------
Checking 'cupsext' CUPS extension...
OK, found.
Checking 'pcardext' Photocard extension...
OK, found.
Checking 'hpmudext' I/O extension...
OK, found.
-----------------
| USB I/O SETUP |
-----------------
Checking for permissions of USB attached printers...
HP Device 0x32a at 005:002:
Device URI: hp:/usb/HP_LaserJet_Professional_P1102w?serial=000000000RK1CFPASI1c
HP Linux Imaging and Printing System (ver. 3.11.7)
System Tray Status Service ver. 2.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.
/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
set_interactive(1)
Device node: /dev/bus/usb/005/002
Mode: 0664
---------------
| USER GROUPS |
---------------
jfm adm dialout fax cdrom floppy tape audio dip video plugdev netdev bluetooth lpadmin fuse scanner
-----------
| SUMMARY |
-----------
No errors or warnings.
Done.
A veces he tenido miles de problemas cuando mi usuario no se encuentra en "lp" y en "lpadmin" en el archivo /etc/group y tuve que agregarlo, desconozco porque razón no se agrega automágicamente
root:x:0:daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:masat
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:
dialout:x:20:
fax:x:21:
voice:x:22:
cdrom:x:24:masat
floppy:x:25:masat
tape:x:26:
sudo:x:27:
audio:x:29:masat
dip:x:30:masat
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:masat
sasl:x:45:
plugdev:x:46:masat
staff:x:50:
games:x:60:
users:x:100:
nogroup:x:65534:
libuuid:x:101:
crontab:x:102:
messagebus:x:103:
Debian-exim:x:104:
mlocate:x:105:
ssh:x:106:
lpadmin:x:107:masat
ssl-cert:x:108:
Debian-gdm:x:109:
netdev:x:110:masat
masat:x:1000:
cl-builder:x:111:
avahi:x:112:
rdma:x:113:
haldaemon:x:114:
powerdev:x:115:
vboxusers:x:116:masat
utempter:x:117:
bluetooth:x:118:
scanner:x:119:saned,masat
saned:x:120:masat
gdm:x:121:
[...]
¿Alguien sabe que significan estas letras?
A
p
v
http://www.esdebian.org/wiki/tutorial-aptitude (mira el punto 2.4)
Sidd.
[...]
¿Alguien sabe que significan estas letras? [...]
buenísimo gracias