#1 Le 06/09/2015, à 20:46
- serguntu
[Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
Bonjour à tous,
j'essaie d'installer mon imprimante HP envy 4503 en wifi sur mon nouveau PC fixe mais sans succès.
J'ai installé HPLIP en suivant la méthode de la documentation. L'imprimante est bien détectée mais je ne peux pas imprimer...
A savoir que j'ai réussi à installer cette même imprimante en wifi sur mon PC portable sans pb. Du coup, je ne comprends pas trop...
J'aurais besoin d'un petit coup de main.
Si ca peut aider :
papi@papi-bricoulou-cpu:~$ hp-probe
HP Linux Imaging and Printing System (ver. 3.15.7)
Printer Discovery Utility ver. 4.1
Copyright (c) 2001-15 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.
--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------
Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
Enter number 0...1 for connection type (q=quit, enter=usb*) ?
Merci d'avance
Dernière modification par serguntu (Le 11/09/2015, à 19:20)
Serge heureux utilisateur de Lubuntu
Hors ligne
#2 Le 06/09/2015, à 21:21
- serguntu
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
Au cas où :
papi@papi-bricoulou-cpu:~$ /usr/sbin/lpinfo -v
network ipp
network ipps
serial serial:/dev/ttyS0?baud=115200
network https
network http
network socket
network ipp14
network lpd
direct hp
network smb
direct hpfax
network dnssd://HP%20ENVY%204500%20series%20%5B65F056%5D._ipp._tcp.local/
network socket://192.168.1.15:9100
papi@papi-bricoulou-cpu:~$ sudo /etc/init.d/cups restart
[sudo] password for papi:
* Restarting Common Unix Printing System cupsd [ OK ]
papi@papi-bricoulou-cpu:~$ sudo cat /var/log/cups/error_log
[sudo] password for papi:
E [06/Sep/2015:09:17:31 +0200] Unknown directive BrowseAddress on line 26 of /etc/cups/cupsd.conf.
E [06/Sep/2015:11:51:54 +0200] Unknown directive BrowseAddress on line 26 of /etc/cups/cupsd.conf.
E [06/Sep/2015:16:42:39 +0200] Unknown directive BrowseAddress on line 26 of /etc/cups/cupsd.conf.
E [06/Sep/2015:18:31:05 +0200] Unknown directive BrowseAddress on line 26 of /etc/cups/cupsd.conf.
E [06/Sep/2015:19:12:03 +0200] Unknown directive BrowseAddress on line 26 of /etc/cups/cupsd.conf.
E [06/Sep/2015:19:20:11 +0200] [Job 7] Stopping unresponsive job.
W [06/Sep/2015:19:28:16 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'ENVY_4500_wifi-Gray..' already exists
W [06/Sep/2015:19:28:16 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'ENVY_4500_wifi-RGB..' already exists
E [06/Sep/2015:19:35:43 +0200] [Job 12] Stopping unresponsive job.
E [06/Sep/2015:20:09:36 +0200] [Job 12] Stopping unresponsive job.
E [06/Sep/2015:20:14:49 +0200] [Job 12] Stopping unresponsive job.
E [06/Sep/2015:20:15:01 +0200] [Job 12] Job aborted after 5 unsuccessful attempts.
D [06/Sep/2015:20:15:01 +0200] [Job 12] The following messages were recorded from 20:14:59 to 20:15:01
D [06/Sep/2015:20:15:01 +0200] [Job 12] Job submission timed out.
D [06/Sep/2015:20:15:01 +0200] [Job 12] time-at-processing=1441563299
D [06/Sep/2015:20:15:01 +0200] [Job 12] 3 filters for job:
D [06/Sep/2015:20:15:01 +0200] [Job 12] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [06/Sep/2015:20:15:01 +0200] [Job 12] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99)
D [06/Sep/2015:20:15:01 +0200] [Job 12] hpcups (application/vnd.cups-raster to printer/ENVY_4500_wifi, cost 0)
D [06/Sep/2015:20:15:01 +0200] [Job 12] job-sheets=none,none
D [06/Sep/2015:20:15:01 +0200] [Job 12] argv[0]="ENVY_4500_wifi"
D [06/Sep/2015:20:15:01 +0200] [Job 12] argv[1]="12"
D [06/Sep/2015:20:15:01 +0200] [Job 12] argv[2]="papi"
D [06/Sep/2015:20:15:01 +0200] [Job 12] argv[3]="activités"
D [06/Sep/2015:20:15:01 +0200] [Job 12] argv[4]="1"
D [06/Sep/2015:20:15:01 +0200] [Job 12] argv[5]="InputSlot=Auto PageSize=A4 job-uuid=urn:uuid:2fac8013-62b7-31a2-58c5-9d82e65c7664 media=33 output-bin=0 print-color-mode=color print-quality=4 job-originating-host-name=localhost time-at-creation=1441560359 time-at-processing=1441563299"
D [06/Sep/2015:20:15:01 +0200] [Job 12] argv[6]="/var/spool/cups/d00012-001"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[8]="HOME=/var/spool/cups/tmp"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[10]="SERVER_ADMIN=root@papi-bricoulou-cpu"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[11]="SOFTWARE=CUPS/1.7.2"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[13]="USER=root"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[14]="CUPS_MAX_MESSAGE=2047"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[17]="IPP_PORT=631"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[18]="CHARSET=utf-8"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[19]="LANG=fr_FR.UTF-8"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[20]="PPD=/etc/cups/ppd/ENVY_4500_wifi.ppd"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[21]="RIP_MAX_CACHE=128m"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[22]="CONTENT_TYPE=application/pdf"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[23]="DEVICE_URI=hp:/usb/ENVY_4500_series?serial=CN48J120CG060D"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[24]="PRINTER_INFO=ENVY_4500 wifi"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[25]="PRINTER_LOCATION="
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[26]="PRINTER=ENVY_4500_wifi"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[27]="PRINTER_STATE_REASONS=none"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[28]="CUPS_FILETYPE=document"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[29]="FINAL_CONTENT_TYPE=printer/ENVY_4500_wifi"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[30]="AUTH_I****"
D [06/Sep/2015:20:15:01 +0200] [Job 12] Started filter /usr/lib/cups/filter/pdftopdf (PID 4314)
D [06/Sep/2015:20:15:01 +0200] [Job 12] Started filter /usr/lib/cups/filter/gstoraster (PID 4315)
D [06/Sep/2015:20:15:01 +0200] [Job 12] Started filter /usr/lib/cups/filter/hpcups (PID 4316)
D [06/Sep/2015:20:15:01 +0200] [Job 12] Started backend /usr/lib/cups/backend/hp (PID 4317)
D [06/Sep/2015:20:15:01 +0200] [Job 12] PID 4314 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [06/Sep/2015:20:15:01 +0200] [Job 12] Calling FindDeviceById(cups-ENVY_4500_wifi)
D [06/Sep/2015:20:15:01 +0200] [Job 12] Found device /org/freedesktop/ColorManager/devices/cups_ENVY_4500_wifi
D [06/Sep/2015:20:15:01 +0200] [Job 12] Calling org.freedesktop.ColorManager.Device.Get(ProfilingInhibitors)
D [06/Sep/2015:20:15:01 +0200] [Job 12] PPD uses qualifier 'RGB.Plain.'
D [06/Sep/2015:20:15:01 +0200] [Job 12] Calling FindDeviceById(cups-ENVY_4500_wifi)
D [06/Sep/2015:20:15:01 +0200] [Job 12] Found device /org/freedesktop/ColorManager/devices/cups_ENVY_4500_wifi
D [06/Sep/2015:20:15:01 +0200] [Job 12] Calling GetProfileForQualifiers(RGB.Plain....)
D [06/Sep/2015:20:15:01 +0200] [Job 12] Failed to send: org.freedesktop.ColorManager.Device.NothingMatched:nothing matched expression 'RGB.Plain.,RGB.Plain.*,RGB.*.,RGB.*.*,*'
D [06/Sep/2015:20:15:01 +0200] [Job 12] Failed to get profile filename for cups-ENVY_4500_wifi
D [06/Sep/2015:20:15:01 +0200] [Job 12] no profiles specified in PPD
D [06/Sep/2015:20:15:01 +0200] [Job 12] Set job-printer-state-message to "no profiles specified in PPD", current level=INFO
D [06/Sep/2015:20:15:01 +0200] [Job 12] Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -sMediaType=Plain -sOutputType=0 -dDuplex -r600x300 -dMediaPosition=7 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=841 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=17 -dcupsInteger0=26 -scupsPageSizeName=A4 -I/usr/share/cups/fonts -c '<</.HWMargins[9.000000 9.000000 9.000000 9.000000] /Margins[0 0]>>setpagedevice' -f -_
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[8]="HOME=/var/spool/cups/tmp"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[10]="SERVER_ADMIN=root@papi-bricoulou-cpu"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[11]="SOFTWARE=CUPS/1.7.2"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[12]="USER=root"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[13]="CUPS_MAX_MESSAGE=2047"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[15]="CUPS_ENCRYPTION=IfRequested"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[16]="IPP_PORT=631"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[17]="CHARSET=utf-8"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[18]="LANG=fr_FR.UTF-8"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[19]="PPD=/etc/cups/ppd/ENVY_4500_wifi.ppd"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[20]="RIP_MAX_CACHE=128m"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[21]="CONTENT_TYPE=application/pdf"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[22]="DEVICE_URI=hp:/usb/ENVY_4500_series?serial=CN48J120CG060D"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[23]="PRINTER_INFO=ENVY_4500 wifi"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[24]="PRINTER_LOCATION="
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[25]="PRINTER=ENVY_4500_wifi"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[26]="PRINTER_STATE_REASONS=none"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[27]="CUPS_FILETYPE=document"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[28]="FINAL_CONTENT_TYPE=printer/ENVY_4500_wifi"
D [06/Sep/2015:20:15:01 +0200] [Job 12] envp[29]="AUTH_INFO_REQUIRED=none"
D [06/Sep/2015:20:15:01 +0200] [Job 12] Start rendering...
D [06/Sep/2015:20:15:01 +0200] [Job 12] Set job-printer-state-message to "Start rendering...", current level=INFO
D [06/Sep/2015:20:15:01 +0200] [Job 12] Processing page 1...
D [06/Sep/2015:20:15:01 +0200] [Job 12] Set job-printer-state-message to "Processing page 1...", current level=INFO
D [06/Sep/2015:20:15:01 +0200] [Job 12] STATE: +connecting-to-device
D [06/Sep/2015:20:15:01 +0200] [Job 12] PAGE: 1 1
D [06/Sep/2015:20:15:01 +0200] [Job 12] prnt/backend/hp.c 824: ERROR: open device failed stat=12: hp:/usb/ENVY_4500_series?serial=CN48J120CG060D
D [06/Sep/2015:20:15:01 +0200] [Job 12] PID 4317 (/usr/lib/cups/backend/hp) stopped with status 1.
D [06/Sep/2015:20:15:01 +0200] [Job 12] Hint: Try setting the LogLevel to "debug" to find out more.
D [06/Sep/2015:20:15:01 +0200] [Job 12] PID 4316 (/usr/lib/cups/filter/hpcups) did not catch or ignore signal 13.
D [06/Sep/2015:20:15:01 +0200] [Job 12] Processing page 2...
D [06/Sep/2015:20:15:01 +0200] [Job 12] Set job-printer-state-message to "Processing page 2...", current level=INFO
D [06/Sep/2015:20:15:01 +0200] [Job 12] Processing page 3...
D [06/Sep/2015:20:15:01 +0200] [Job 12] Set job-printer-state-message to "Processing page 3...", current level=INFO
D [06/Sep/2015:20:15:01 +0200] [Job 12] Rendering completed
D [06/Sep/2015:20:15:01 +0200] [Job 12] Set job-printer-state-message to "Rendering completed", current level=INFO
D [06/Sep/2015:20:15:01 +0200] [Job 12] PID 4315 (/usr/lib/cups/filter/gstoraster) exited with no errors.
D [06/Sep/2015:20:15:01 +0200] [Job 12] Backend returned status 1 (failed)
D [06/Sep/2015:20:15:01 +0200] [Job 12] time-at-completed=1441563301
D [06/Sep/2015:20:15:01 +0200] [Job 12] End of messages
D [06/Sep/2015:20:15:01 +0200] [Job 12] printer-state=3(idle)
D [06/Sep/2015:20:15:01 +0200] [Job 12] printer-state-message="Rendering completed"
D [06/Sep/2015:20:15:01 +0200] [Job 12] printer-state-reasons=none
E [06/Sep/2015:21:20:20 +0200] Unknown directive BrowseAddress on line 26 of /etc/cups/cupsd.conf.
E [06/Sep/2015:21:20:20 +0200] Unknown directive BrowseAddress on line 26 of /etc/cups/cupsd.conf.
W [06/Sep/2015:21:20:20 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'ENVY-4500-series-Gray..' already exists
W [06/Sep/2015:21:20:20 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'ENVY-4500-series-RGB..' already exists
W [06/Sep/2015:21:20:20 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'ENVY_4500_wifi-Gray..' already exists
W [06/Sep/2015:21:20:20 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'ENVY_4500_wifi-RGB..' already exists
E [06/Sep/2015:21:20:20 +0200] Unable to bind socket for address [v1.::1]:631 - Address already in use.
E [06/Sep/2015:21:20:20 +0200] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
Serge heureux utilisateur de Lubuntu
Hors ligne
#3 Le 07/09/2015, à 08:46
- sylvain3800
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
bonjour serguntu ,
question bebete :
le hp-probe de ton premier message l'as tu laisser se faire jusqu'au bout ?
c'est a dire as tu repondu 1 à la question ? car sur ton premier message on ne voit pas la suite
peux tu donner le retour de ces commandes :
hp-check
cat -n /etc/cups/cupsd.conf
et comme tu as installé hplip manuellement :
dpkg -l | grep hplip
apt-cache policy hplip
Dernière modification par sylvain3800 (Le 07/09/2015, à 08:52)
Cogito ergo sum = je consome donc je suis : je pense, donc je suis !
Hors ligne
#4 Le 07/09/2015, à 17:16
- serguntu
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
Bonjour Sylvain,
non je ne suis pas allé jusqu'au bout, en effet, du coup je relance et voici le résultat ;
papi@papi-bricoulou-cpu:~$ hp-probe
HP Linux Imaging and Printing System (ver. 3.15.7)
Printer Discovery Utility ver. 4.1
Copyright (c) 2001-15 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.
--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------
Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
Enter number 0...1 for connection type (q=quit, enter=usb*) ? 1
Using connection type: net
--------------------
| DEVICE DISCOVERY |
--------------------
Probing network for printers. Please wait, this will take approx. 10 seconds...
warning: No devices found on the 'net' bus. If this isn't the result you are expecting,
warning: check your network connections and make sure your internet
warning: firewall software is disabled.
Done.
hp-check :
papi@papi-bricoulou-cpu:~$ hp-check
Saving output in log file: /home/papi/hp-check.log
HP Linux Imaging and Printing System (ver. 3.15.7)
Dependency/Version Check Utility ver. 15.1
Copyright (c) 2001-15 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).
Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION
Status Types:
OK
MISSING - Missing Dependency or Permission or Plug-in
INCOMPAT - Incompatible dependency-version or Plugin-version
---------------
| SYSTEM INFO |
---------------
Kernel: 3.13.0-63-generic #103-Ubuntu SMP Fri Aug 14 21:42:59 UTC 2015 GNU/Linux
Host: papi-bricoulou-cpu
Proc: 3.13.0-63-generic #103-Ubuntu SMP Fri Aug 14 21:42:59 UTC 2015 GNU/Linux
Distribution: ubuntu 14.04
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.15.7
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro 14.04 version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.15.7
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.15.7
html=/usr/share/doc/hplip-3.15.7
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
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=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.15.7
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: Aucun fichier ou dossier de ce type
Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
latest_available_version = 3.15.7
notify_upgrade = false
last_upgraded_time = 1441536377
pending_upgrade_time = 0
[settings]
systray_visible = 0
systray_messages = 0
[last_used]
device_uri = "hp:/usb/ENVY_4500_series?serial=CN48J120CG060D"
printer_name =
working_dir = .
[commands]
scan = /usr/bin/xsane -V %SANE_URI%
[refresh]
rate = 30
enable = false
type = 1
[polling]
enable = false
interval = 5
device_list =
[fax]
voice_phone =
email_address =
[installation]
date_time = 07/09/2015 17:13:49
version = 3.15.7
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
--------------------------
| External Dependencies |
--------------------------
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.10 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.23 OK -
xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.998 OK -
cups CUPS - Common Unix Printing System REQUIRED 1.1 1.7.2 OK 'CUPS Scheduler is running'
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
network network -wget OPTIONAL - 1.15 OK -
avahi-utils avahi-utils OPTIONAL - 0.6.31 OK -
dbus DBus - Message bus system REQUIRED - 1.6.18 OK -
-------------------------
| General Dependencies |
-------------------------
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.1 OK -
python-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.0 OK -
reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.0 OK -
python-notify Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.10.4 OK -
python-xml Python XML libraries REQUIRED - 2.1.0 OK -
libusb libusb - USB library REQUIRED - 1.0 OK -
cups-image CUPS image - CUPS image development files REQUIRED - 1.7.2 OK -
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.2 OK -
sane-devel SANE - Scanning library development files REQUIRED - 1.0.23 OK -
pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
python2X Python 2.2 or greater - Python programming language REQUIRED 2.2 2.7.6 OK -
pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 REQUIRED 4.0 4.10.4 OK -
libjpeg libjpeg - JPEG library REQUIRED - - OK -
libpthread libpthread - POSIX threads library REQUIRED - 2.19 OK -
python-devel Python devel - Python development files REQUIRED 2.2 2.7.6 OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 1.7.2 OK -
sane SANE - Scanning library REQUIRED - 1.0.23 OK -
---------------
| COMPILEDEP |
---------------
libtool libtool - Library building support services REQUIRED - 2.4.2 OK -
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 4.8.4 OK -
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 3.81 OK -
----------------------
| Python Extentions |
----------------------
cupsext CUPS-Extension REQUIRED - 3.15.7 OK -
hpmudext IO-Extension REQUIRED - 3.15.7 OK -
-----------------------
| Scan Configuration |
-----------------------
scanext Scan-SANE-Extension REQUIRED - 3.15.7 OK -
hpaio HPLIP-SANE-Backend REQUIRED - 3.15.7 OK 'hpaio found in /etc/sane.d/dll.conf'
-----------------------
| Other Dependencies |
-----------------------
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
No Scanner found.
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
No devices found.
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
ENVY-4500-series
----------------
Type: Printer
Device URI: hp:/usb/ENVY_4500_series?serial=CN48J120CG060D
PPD: /etc/cups/ppd/ENVY-4500-series.ppd
PPD Description: HP Envy 4500 Series, hpcups 3.14.3
Printer status: printer ENVY-4500-series is idle. enabled since dim. 06 sept. 2015 19:20:41 CEST
error: Unable to communicate with device (code=12): hp:/usb/ENVY_4500_series?serial=CN48J120CG060D
error: Device not found
error: Communication status: Failed
ENVY_4500_wifi
--------------
Type: Printer
Device URI: hp:/usb/ENVY_4500_series?serial=CN48J120CG060D
PPD: /etc/cups/ppd/ENVY_4500_wifi.ppd
PPD Description: HP Envy 4500 Series, hpcups 3.15.7
Printer status: printer ENVY_4500_wifi is idle. enabled since dim. 06 sept. 2015 19:28:24 CEST
error: Unable to communicate with device (code=12): hp:/usb/ENVY_4500_series?serial=CN48J120CG060D
error: Device not found
error: Communication status: Failed
--------------
| PERMISSION |
--------------
-----------
| SUMMARY |
-----------
Missing Required Dependencies
-----------------------------
None
Missing Optional Dependencies
-----------------------------
None
Total Errors: 2
Total Warnings: 0
Done.
cat -n /etc/cups/cupsd.conf :
papi@papi-bricoulou-cpu:~$ cat -n /etc/cups/cupsd.conf
1 #
2 #
3 # Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
4 # complete description of this file.
5 #
6
7 # Log general information in error_log - change "warn" to "debug"
8 # for troubleshooting...
9 LogLevel warn
10
11 # Deactivate CUPS' internal logrotating, as we provide a better one, especially
12 # LogLevel debug2 gets usable now
13 MaxLogSize 0
14
15 # Administrator user group...
16 SystemGroup lpadmin
17
18
19 # Only listen for connections from the local machine.
20 Listen localhost:631
21 Listen /var/run/cups/cups.sock
22
23 # Show shared printers on the local network.
24 Browsing Off
25 BrowseLocalProtocols dnssd
26 BrowseAddress @LOCAL
27
28 # Default authentication type, when authentication is required...
29 DefaultAuthType Basic
30
31 # Web interface setting...
32 WebInterface Yes
33
34 # Restrict access to the server...
35 <Location />
36 Order allow,deny
37 </Location>
38
39 # Restrict access to the admin pages...
40 <Location /admin>
41 Order allow,deny
42 </Location>
43
44 # Restrict access to configuration files...
45 <Location /admin/conf>
46 AuthType Default
47 Require user @SYSTEM
48 Order allow,deny
49 </Location>
50
51 # Set the default printer/job policies...
52 <Policy default>
53 # Job/subscription privacy...
54 JobPrivateAccess default
55 JobPrivateValues default
56 SubscriptionPrivateAccess default
57 SubscriptionPrivateValues default
58
59 # Job-related operations must be done by the owner or an administrator...
60 <Limit Create-Job Print-Job Print-URI Validate-Job>
61 Order deny,allow
62 </Limit>
63
64 <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
65 Require user @OWNER @SYSTEM
66 Order deny,allow
67 </Limit>
68
69 # All administration operations require an administrator to authenticate...
70 <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
71 AuthType Default
72 Require user @SYSTEM
73 Order deny,allow
74 </Limit>
75
76 # All printer operations require a printer operator to authenticate...
77 <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
78 AuthType Default
79 Require user @SYSTEM
80 Order deny,allow
81 </Limit>
82
83 # Only the owner or an administrator can cancel or authenticate a job...
84 <Limit Cancel-Job CUPS-Authenticate-Job>
85 Require user @OWNER @SYSTEM
86 Order deny,allow
87 </Limit>
88
89 <Limit All>
90 Order deny,allow
91 </Limit>
92 </Policy>
93
94 # Set the authenticated printer/job policies...
95 <Policy authenticated>
96 # Job/subscription privacy...
97 JobPrivateAccess default
98 JobPrivateValues default
99 SubscriptionPrivateAccess default
100 SubscriptionPrivateValues default
101
102 # Job-related operations must be done by the owner or an administrator...
103 <Limit Create-Job Print-Job Print-URI Validate-Job>
104 AuthType Default
105 Order deny,allow
106 </Limit>
107
108 <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
109 AuthType Default
110 Require user @OWNER @SYSTEM
111 Order deny,allow
112 </Limit>
113
114 # All administration operations require an administrator to authenticate...
115 <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
116 AuthType Default
117 Require user @SYSTEM
118 Order deny,allow
119 </Limit>
120
121 # All printer operations require a printer operator to authenticate...
122 <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
123 AuthType Default
124 Require user @SYSTEM
125 Order deny,allow
126 </Limit>
127
128 # Only the owner or an administrator can cancel or authenticate a job...
129 <Limit Cancel-Job CUPS-Authenticate-Job>
130 AuthType Default
131 Require user @OWNER @SYSTEM
132 Order deny,allow
133 </Limit>
134
135 <Limit All>
136 Order deny,allow
137 </Limit>
138 </Policy>
139
140 #
141 #
dpkg -l | grep hplip :
papi@papi-bricoulou-cpu:~$ dpkg -l | grep hplip
ii hplip 3.14.3-0ubuntu3.4 amd64 HP Linux Printing and Imaging System (HPLIP)
ii hplip-data 3.14.3-0ubuntu3.4 all HP Linux Printing and Imaging - data files
ii hplip-gui 3.14.3-0ubuntu3.4 all HP Linux Printing and Imaging - GUI utilities (Qt-based)
apt-cache policy hplip :
papi@papi-bricoulou-cpu:~$ apt-cache policy hplip
hplip:
Installé : 3.14.3-0ubuntu3.4
Candidat : 3.14.3-0ubuntu3.4
Table de version :
*** 3.14.3-0ubuntu3.4 0
500 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
100 /var/lib/dpkg/status
3.14.3-0ubuntu3 0
500 http://fr.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
Merci d'avance
Serge heureux utilisateur de Lubuntu
Hors ligne
#5 Le 07/09/2015, à 17:48
- grigouille
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
J'ai installé HPLIP en suivant la méthode de la documentation.
Pourquoi avoir installé hplip alors que tu as ubuntu 14.04 (d'après ta signature) ?
La HP Envy 4503 E-all-in-one a besoin de hplip 3.13.6.
Après pour l'installer sur le réseau tu peux faire :
sudo hp-setup -i adress_ip_imprimante
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#6 Le 07/09/2015, à 17:52
- serguntu
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
Slt Grigouille,
j'ai installé HPLIP car cela ne fonctionnait pas, tout simplement.
J'ai installé le 3.15.7 de hplip, cela pourrait venir de là ?
Serge heureux utilisateur de Lubuntu
Hors ligne
#7 Le 07/09/2015, à 19:36
- grigouille
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
La 3.15.7 ou le paquet hplip d'ubuntu font l'affaire.
As-tu essayé ma commande ?
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#8 Le 07/09/2015, à 20:26
- serguntu
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
sudo hp-setup -i adress_ip_imprimante :
papi@papi-bricoulou-cpu:~$ sudo hp-setup -i adress_ip_imprimante
[sudo] password for papi:
HP Linux Imaging and Printing System (ver. 3.15.7)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-15 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.)
getaddrinfo: adress_ip_imprimante No address associated with hostname
getaddrinfo: adress_ip_imprimante No address associated with hostname
--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------
Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
Enter number 0...1 for connection type (q=quit, enter=usb*) ? 1
Using connection type: net
error: No device selected/specified or that supports this functionality.
Serge heureux utilisateur de Lubuntu
Hors ligne
#9 Le 07/09/2015, à 20:45
- LeoMajor
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
Unable to bind socket for address 127.0.0.1:631 - Address already in use
nc -z 127.0.0.1 631; [ "$?" -eq 0 ] && echo "631 accessible" || echo "631 inaccessible"
sudo netstat -plante | grep 631
Hors ligne
#10 Le 07/09/2015, à 20:49
- serguntu
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
Slt Tewis,
J'ai pas tt compris , tu peux etre plus clair stp ?
merci
Serge heureux utilisateur de Lubuntu
Hors ligne
#11 Le 07/09/2015, à 20:57
- cqfd93
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
Bonjour,
Slt Tewis,
J'ai pas tt compris , tu peux etre plus clair stp ?
merci
Modération : merci de respecter la langue du forum qui est le français : pas de SMS, ni de l33t.
− cqfd93 −
Hors ligne
#12 Le 08/09/2015, à 08:47
- sylvain3800
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
bonjour serguntu,
d'après le retour des commandes nous pouvons voir qu'il y a un problème pour accéder à ton imprimante depuis le resau
error: Unable to communicate with device (code=12): hp:/usb/ENVY_4500_series?serial=CN48J120CG060D
error: Device not found
error: Communication status: Failed
hp-check ne peux acceder à ton imprimmante
D [06/Sep/2015:20:15:01 +0200] [Job 12] prnt/backend/hp.c 824: ERROR: open device failed stat=12: hp:/usb/ENVY_4500_series?serial=CN48J120CG060D
D [06/Sep/2015:20:15:01 +0200] [Job 12] PID 4317 (/usr/lib/cups/backend/hp) stopped with status 1.
E [06/Sep/2015:21:20:20 +0200] Unknown directive BrowseAddress on line 26 of /etc/cups/cupsd.conf.
E [06/Sep/2015:21:20:20 +0200] Unknown directive BrowseAddress on line 26 of /etc/cups/cupsd.conf.
E [06/Sep/2015:21:20:20 +0200] Unable to bind socket for address [v1.::1]:631 - Address already in use.
E [06/Sep/2015:21:20:20 +0200] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
les logs nous disent qu'il y a un problème dans ton fichier de configuration cupsd.conf : ligne 26 une mauvaise adresse
et nous dit que l'adresse qu'utilise cups est déjà utilisé
donc Tewis te demande de copier coller les 2 ligne de sa commande afin de savoir si le port 127.0.0.1:631 est accessible et d'"écouter" ce port pour savoir ce qui s'y trouve
donc en resumé :
rentre la commande donné par Tewis au post #9 depuis ton ordinateur fixe
puis depuis ton ordinateur portable , ça m’intéresserai de savoir ce que donne cette commande
cat -n /etc/cups/cupsd.conf
histoire de comparer les fichiers de conf
Cogito ergo sum = je consome donc je suis : je pense, donc je suis !
Hors ligne
#13 Le 08/09/2015, à 18:14
- serguntu
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
Merci pour les explications Sylvain,
alors voici le retour de
cat -n /etc/cups/cupsd.conf
depuis mon PC fixe (celui qui bug) :
papi@papi-bricoulou-cpu:~$ cat -n /etc/cups/cupsd.conf
1 #
2 #
3 # Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
4 # complete description of this file.
5 #
6
7 # Log general information in error_log - change "warn" to "debug"
8 # for troubleshooting...
9 LogLevel warn
10
11 # Deactivate CUPS' internal logrotating, as we provide a better one, especially
12 # LogLevel debug2 gets usable now
13 MaxLogSize 0
14
15 # Administrator user group...
16 SystemGroup lpadmin
17
18
19 # Only listen for connections from the local machine.
20 Listen localhost:631
21 Listen /var/run/cups/cups.sock
22
23 # Show shared printers on the local network.
24 Browsing Off
25 BrowseLocalProtocols dnssd
26 BrowseAddress @LOCAL
27
28 # Default authentication type, when authentication is required...
29 DefaultAuthType Basic
30
31 # Web interface setting...
32 WebInterface Yes
33
34 # Restrict access to the server...
35 <Location />
36 Order allow,deny
37 </Location>
38
39 # Restrict access to the admin pages...
40 <Location /admin>
41 Order allow,deny
42 </Location>
43
44 # Restrict access to configuration files...
45 <Location /admin/conf>
46 AuthType Default
47 Require user @SYSTEM
48 Order allow,deny
49 </Location>
50
51 # Set the default printer/job policies...
52 <Policy default>
53 # Job/subscription privacy...
54 JobPrivateAccess default
55 JobPrivateValues default
56 SubscriptionPrivateAccess default
57 SubscriptionPrivateValues default
58
59 # Job-related operations must be done by the owner or an administrator...
60 <Limit Create-Job Print-Job Print-URI Validate-Job>
61 Order deny,allow
62 </Limit>
63
64 <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
65 Require user @OWNER @SYSTEM
66 Order deny,allow
67 </Limit>
68
69 # All administration operations require an administrator to authenticate...
70 <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
71 AuthType Default
72 Require user @SYSTEM
73 Order deny,allow
74 </Limit>
75
76 # All printer operations require a printer operator to authenticate...
77 <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
78 AuthType Default
79 Require user @SYSTEM
80 Order deny,allow
81 </Limit>
82
83 # Only the owner or an administrator can cancel or authenticate a job...
84 <Limit Cancel-Job CUPS-Authenticate-Job>
85 Require user @OWNER @SYSTEM
86 Order deny,allow
87 </Limit>
88
89 <Limit All>
90 Order deny,allow
91 </Limit>
92 </Policy>
93
94 # Set the authenticated printer/job policies...
95 <Policy authenticated>
96 # Job/subscription privacy...
97 JobPrivateAccess default
98 JobPrivateValues default
99 SubscriptionPrivateAccess default
100 SubscriptionPrivateValues default
101
102 # Job-related operations must be done by the owner or an administrator...
103 <Limit Create-Job Print-Job Print-URI Validate-Job>
104 AuthType Default
105 Order deny,allow
106 </Limit>
107
108 <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
109 AuthType Default
110 Require user @OWNER @SYSTEM
111 Order deny,allow
112 </Limit>
113
114 # All administration operations require an administrator to authenticate...
115 <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
116 AuthType Default
117 Require user @SYSTEM
118 Order deny,allow
119 </Limit>
120
121 # All printer operations require a printer operator to authenticate...
122 <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
123 AuthType Default
124 Require user @SYSTEM
125 Order deny,allow
126 </Limit>
127
128 # Only the owner or an administrator can cancel or authenticate a job...
129 <Limit Cancel-Job CUPS-Authenticate-Job>
130 AuthType Default
131 Require user @OWNER @SYSTEM
132 Order deny,allow
133 </Limit>
134
135 <Limit All>
136 Order deny,allow
137 </Limit>
138 </Policy>
139
140 #
141 #
Serge heureux utilisateur de Lubuntu
Hors ligne
#14 Le 08/09/2015, à 18:15
- serguntu
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
...et de mon portable depuis lequel je peux imprimer en wifi :
serge@serge-Aspire-7730G:~$ cat -n /etc/cups/cupsd.conf
1 #
2 #
3 # Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
4 # complete description of this file.
5 #
6
7 # Log general information in error_log - change "warn" to "debug"
8 # for troubleshooting...
9 LogLevel warn
10
11 # Deactivate CUPS' internal logrotating, as we provide a better one, especially
12 # LogLevel debug2 gets usable now
13 MaxLogSize 0
14
15 # Only listen for connections from the local machine.
16 Listen localhost:631
17 Listen /var/run/cups/cups.sock
18
19 # Show shared printers on the local network.
20 Browsing Off
21 BrowseLocalProtocols dnssd
22
23 # Default authentication type, when authentication is required...
24 DefaultAuthType Basic
25
26 # Web interface setting...
27 WebInterface Yes
28
29 # Restrict access to the server...
30 <Location />
31 Order allow,deny
32 </Location>
33
34 # Restrict access to the admin pages...
35 <Location /admin>
36 Order allow,deny
37 </Location>
38
39 # Restrict access to configuration files...
40 <Location /admin/conf>
41 AuthType Default
42 Require user @SYSTEM
43 Order allow,deny
44 </Location>
45
46 # Set the default printer/job policies...
47 <Policy default>
48 # Job/subscription privacy...
49 JobPrivateAccess default
50 JobPrivateValues default
51 SubscriptionPrivateAccess default
52 SubscriptionPrivateValues default
53
54 # Job-related operations must be done by the owner or an administrator...
55 <Limit Create-Job Print-Job Print-URI Validate-Job>
56 Order deny,allow
57 </Limit>
58
59 <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
60 Require user @OWNER @SYSTEM
61 Order deny,allow
62 </Limit>
63
64 # All administration operations require an administrator to authenticate...
65 <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
66 AuthType Default
67 Require user @SYSTEM
68 Order deny,allow
69 </Limit>
70
71 # All printer operations require a printer operator to authenticate...
72 <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
73 AuthType Default
74 Require user @SYSTEM
75 Order deny,allow
76 </Limit>
77
78 # Only the owner or an administrator can cancel or authenticate a job...
79 <Limit Cancel-Job CUPS-Authenticate-Job>
80 Require user @OWNER @SYSTEM
81 Order deny,allow
82 </Limit>
83
84 <Limit All>
85 Order deny,allow
86 </Limit>
87 </Policy>
88
89 # Set the authenticated printer/job policies...
90 <Policy authenticated>
91 # Job/subscription privacy...
92 JobPrivateAccess default
93 JobPrivateValues default
94 SubscriptionPrivateAccess default
95 SubscriptionPrivateValues default
96
97 # Job-related operations must be done by the owner or an administrator...
98 <Limit Create-Job Print-Job Print-URI Validate-Job>
99 AuthType Default
100 Order deny,allow
101 </Limit>
102
103 <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
104 AuthType Default
105 Require user @OWNER @SYSTEM
106 Order deny,allow
107 </Limit>
108
109 # All administration operations require an administrator to authenticate...
110 <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
111 AuthType Default
112 Require user @SYSTEM
113 Order deny,allow
114 </Limit>
115
116 # All printer operations require a printer operator to authenticate...
117 <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
118 AuthType Default
119 Require user @SYSTEM
120 Order deny,allow
121 </Limit>
122
123 # Only the owner or an administrator can cancel or authenticate a job...
124 <Limit Cancel-Job CUPS-Authenticate-Job>
125 AuthType Default
126 Require user @OWNER @SYSTEM
127 Order deny,allow
128 </Limit>
129
130 <Limit All>
131 Order deny,allow
132 </Limit>
133 </Policy>
134
135 #
136 #
Serge heureux utilisateur de Lubuntu
Hors ligne
#15 Le 09/09/2015, à 11:24
- sylvain3800
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
avec le pc fixe (qui bug)
rentre cette commande
sudo gedit /etc/cups/cupsd.conf
cerla va t'ouvrir un document texte dedans
tu supprime la ligne 26 :
BrowseAddress @LOCAL
que tu trouvera dans ce bloc situé au debut :
# Show shared printers on the local network.
Browsing Off
BrowseLocalProtocols dnssd
BrowseAddress @LOCAL
ensuite tu enregistre et quitte .
ensuite tu rentre cette commande :
sudo /etc/init.d/cups restart
pour que cups prenne en compte les modif
puis tu nous dit si tu peux accéder à ton imprimante depuis ce lien :
localhost:631
si elle est visible
lance une page de test
si tu ne peux pas acceder au lien :
donne nous le retour des commande que t'as donné Tewis au post #9
Cogito ergo sum = je consome donc je suis : je pense, donc je suis !
Hors ligne
#16 Le 09/09/2015, à 14:06
- serguntu
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
La page de test ne s'imprime pas après les scrips suivants :
papi@papi-bricoulou-cpu:~$ sudo gedit /etc/cups/cupsd.conf
[sudo] password for papi:
(gedit:2364): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:2364): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
papi@papi-bricoulou-cpu:~$ sudo /etc/init.d/cups restart
* Restarting Common Unix Printing System cupsd [ OK ]
J'ai bien trouvé mon imprimante dans localhost:631, puis lancé une page de test. L'info est bien reçue mais rien ne s'imprime...
Voici le retour du script donné par Tewis :
papi@papi-bricoulou-cpu:~$ nc -z 127.0.0.1 631; [ "$?" -eq 0 ] && echo "631 accessible" || echo "631 inaccessible"
631 accessible
papi@papi-bricoulou-cpu:~$ sudo netstat -plante | grep 631
[sudo] password for papi:
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 16603 2451/cupsd
tcp 0 0 127.0.0.1:46375 127.0.0.1:631 TIME_WAIT 0 0 -
tcp6 0 0 ::1:631 :::* LISTEN 0 16602 2451/cupsd
tcp6 1 0 ::1:49348 ::1:631 CLOSE_WAIT 0 15550 935/cups-browsed
...
Serge heureux utilisateur de Lubuntu
Hors ligne
#17 Le 09/09/2015, à 14:18
- Korak
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
Bonjour,
Il faut savoir que certaines imprimantes HP demandent d'être installées en USB puis convertie en Wi-Fi.
OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur. Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !
Hors ligne
#18 Le 09/09/2015, à 14:20
- serguntu
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
Bien sur, c'est ce que j'ai fait. USB, puis config wifi...
Serge heureux utilisateur de Lubuntu
Hors ligne
#19 Le 09/09/2015, à 17:59
- cqfd93
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
Bonjour,
sudo gedit /etc/cups/cupsd.conf
Attention !!! Avec gedit qui est une application graphique, il faut utiliser gksudo.
gksudo gedit /etc/cups/cupsd.conf
− cqfd93 −
Hors ligne
#20 Le 09/09/2015, à 18:10
- serguntu
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
J'ai refait la même manip avec gksudo et il me semble que le résultat est exactement le même. Voici le retour de cette commande, surtout le fichier texte qui s'ouvre :
#
#
# Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
# complete description of this file.
#
# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn
# Deactivate CUPS' internal logrotating, as we provide a better one, especially
# LogLevel debug2 gets usable now
MaxLogSize 0
# Administrator user group...
SystemGroup lpadmin
# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing Off
BrowseLocalProtocols dnssd
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Web interface setting...
WebInterface Yes
# Restrict access to the server...
<Location />
Order allow,deny
</Location>
# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
</Location>
# Set the default printer/job policies...
<Policy default>
# Job/subscription privacy...
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
# Job-related operations must be done by the owner or an administrator...
<Limit Create-Job Print-Job Print-URI Validate-Job>
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
# Set the authenticated printer/job policies...
<Policy authenticated>
# Job/subscription privacy...
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
# Job-related operations must be done by the owner or an administrator...
<Limit Create-Job Print-Job Print-URI Validate-Job>
AuthType Default
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
#
#
Cela parle-t-il à quelqu'un ? parce que là, moi, je suis complètement largué...
Merci encore pour votre aide.
Dernière modification par serguntu (Le 09/09/2015, à 18:12)
Serge heureux utilisateur de Lubuntu
Hors ligne
#21 Le 11/09/2015, à 11:58
- serguntu
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
Si je comprends bien, il y aurait un conflit entre mon pc portable et mon fixe ?
Pour l'instant, je ne peux toujours pas imprimer.
Si vous avez le temps ce soir de me donner un coup de main...merci d'avance.
Serge heureux utilisateur de Lubuntu
Hors ligne
#22 Le 11/09/2015, à 13:10
- Korak
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
Si ça peut aider, voici le contenu de mon fichier cupsd.conf:
#
#
# Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
# complete description of this file.
#
# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn
# Deactivate CUPS' internal logrotating, as we provide a better one, especially
# LogLevel debug2 gets usable now
MaxLogSize 0
# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing Off
BrowseLocalProtocols dnssd
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Web interface setting...
WebInterface Yes
# Restrict access to the server...
<Location />
Order allow,deny
</Location>
# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
</Location>
# Set the default printer/job policies...
<Policy default>
# Job/subscription privacy...
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
# Job-related operations must be done by the owner or an administrator...
<Limit Create-Job Print-Job Print-URI Validate-Job>
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
# Set the authenticated printer/job policies...
<Policy authenticated>
# Job/subscription privacy...
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
# Job-related operations must be done by the owner or an administrator...
<Limit Create-Job Print-Job Print-URI Validate-Job>
AuthType Default
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
#
#
Il faut savoir que mon imprimante est une HP LaserJet Pro 200 Color M251nw. Elle a été installée directement en Wi-Fi, je n'ai pas eu besoin de passer par l'USB.
Dernière modification par Korak (Le 11/09/2015, à 13:14)
OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur. Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !
Hors ligne
#23 Le 11/09/2015, à 17:13
- serguntu
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
Bonjour Korac,
c'est sympa d'essayer de m'aider mais je ne comprends pas toutes ces lignes de config...
Peut-être faudrait-il desinstaller hplip, mon imprimante, et recommencer de zéro...?
Je ne sais plus trop à vrai dire.
Qu'en pensez-vous ?
Serge heureux utilisateur de Lubuntu
Hors ligne
#25 Le 11/09/2015, à 18:54
- grigouille
Re : [Résolu] HPLIP , pb install HP envvy 4503 en wifi, aide svp
papi@papi-bricoulou-cpu:~$ sudo hp-setup -i adress_ip_imprimante
Il faudrait mettre l'adresse IP de ton imprimante à la place de adress_ip_imprimante .
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne