[Imprimante] HP Photosmart C3190 (résolu)

Reconnaissance et configuration du matériel / kernel linux
Avatar de l’utilisateur
Ichigo-Roku
yeomen
Messages : 259
Inscription : jeu. 04 févr. 2010, 19:15

[Imprimante] HP Photosmart C3190 (résolu)

Message par Ichigo-Roku »

Bonjour à tous,

j'ai voulu installer mon imprimante, je suis donc allé voir ici.
J'ai regardé dans la liste pour hplip et elle est bien prise en charge.

Là où les problèmes arrivent c'est lorsque je fait hp-setup :

Code : Tout sélectionner

HP Linux Imaging and Printing System (ver. 3.9.12)
Printer/Fax Setup Utility ver. 9.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.

warning: Qt/PyQt 4 initialization failed.
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.
Lorsque je fais hp-setup --qt3 :

Code : Tout sélectionner

HP Linux Imaging and Printing System (ver. 3.9.12)
Printer/Fax Setup Utility ver. 9.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.


Installs HPLIP printers and faxes in the CUPS spooler. Tries to automatically determine the correct PPD file to use. Allows the printing of a testpage. Performs basic fax parameter setup.

Usage: hp-setup [MODE] [OPTIONS] [SERIAL NO.|USB bus:device|IP|DEVNODE]

[MODE]
  Run in graphical    -u or --gui (Default)                                 
  UI mode:                                                                  
  Run in interactive  -i or --interactive                                   
  mode:                                                                     

[OPTIONS]
  Automatic mode:     -a or --auto (-i mode only)                           
  To specify the      --port=<port> (Valid values are 1*, 2, and 3.         
  port on a           *default)                                             
  multi-port                                                                
  JetDirect:                                                                
  No testpage in      -x (-i mode only)                                     
  automatic mode:                                                           
  To specify a CUPS   -p<printer> or --printer=<printer> (-i mode only)     
  printer queue                                                             
  name:                                                                     
  To specify a CUPS   -f<fax> or --fax=<fax> (-i mode only)                 
  fax queue name:                                                           
  Type of queue(s)    -t<typelist> or --type=<typelist>. <typelist>: print*,
  to install:         fax* (*default) (-i mode only)                        
  To specify the      -d<device> or --device=<device> (--qt4 mode only)     
  device URI to                                                             
  install:                                                                  
  Remove printers or  -r or --rm or --remove (-u only)                      
  faxes instead of                                                          
  setting-up:                                                               
  Set the language:   -q <lang> or --lang=<lang>. Use -q? or --lang=? to see
                      a list of available language codes.                   
  Set the logging     -l<level> or --logging=<level>                        
  level:                                                                    
                      <level>: none, info*, error, warn, debug (*default)   
  Run in debug mode:  -g (same as option: -ldebug)                          
  This help           -h or --help                                          
  information:                                                              

[SERIAL NO.|USB ID|IP|DEVNODE]
  USB bus:device      "xxx:yyy" where 'xxx' is the USB bus and 'yyy' is the 
  (usb only):         USB device. (Note: The ':' and all leading zeros must 
                      be present.)                                          
                      Use the 'lsusb' command to obtain this information.   
  IPs (network        IPv4 address "a.b.c.d" or "hostname"                  
  only):                                                                    
  DEVNODE (parallel   "/dev/parportX", X=0,1,2,...                          
  only):                                                                    
  SERIAL NO. (usb     "serial no."                                          
  and parallel                                                              
  only):                                                                    

Examples:
  Setup using GUI     $ hp-setup                                            
  mode:                                                                     
  Setup using GUI     $ hp-setup -b usb                                     
  mode, specifying                                                          
  usb:                                                                      
  Setup using GUI     $ hp-setup 192.168.0.101                              
  mode, specifying                                                          
  an IP:                                                                    
  One USB printer     $ hp-setup -i -a                                      
  attached,                                                                 
  automatic:                                                                
  USB, IDs            $ hp-setup -i 001:002                                 
  specified:                                                                
  Network:            $ hp-setup -i 66.35.250.209                           
  Network, Jetdirect  $ hp-setup -i --port=2 66.35.250.209                  
  port 2:                                                                   
  Parallel:           $ hp-setup -i /dev/parport0                           
  USB or parallel,    $ hp-setup -i US12345678A                             
  using serial                                                              
  number:                                                                   
  USB, automatic:     $ hp-setup -i --auto 001:002                          
  Parallel,           $ hp-setup -i -a -x /dev/parport0                     
  automatic, no                                                             
  testpage:                                                                 
  Parallel, choose    $ hp-setup -i -b par                                  
  device:                                                                   

Notes:
1. If no serial number, USB ID, IP, or device node is specified, the USB and parallel busses will be probed for devices.
2. Using 'lsusb' to obtain USB IDs: (example)
	$ lsusb
	Bus 003 Device 011: ID 03f0:c202 Hewlett-Packard
	$ hp-setup --auto 003:011
	(Note: You may have to run 'lsusb' from /sbin or another location. Use '$ locate lsusb' to determine this.)
3. Parameters -a, -f, -p, or -t are not valid in GUI (-u) mode.

See Also:
hp-makeuri
hp-probe
Ce que j'ai pu extraire de tout ça : hp-setup -i, ça me demande si c'est usb ou net je réponds usb, ça me demande un nom je réponds m pour dire que c'est le nom de l'imprimante et après erreur bizarre avec PPD file :

Code : Tout sélectionner

Using queue name: Photosmart_C3100
Locating PPD file... Please wait.
error: No PPD found for model photosmart_c3100 using new algorithm. Trying old algorithm...
error: No PPD found for model photosmart_c3100 using old algorithm.
error: Unable to find an appropriate PPD file.

Would you like to specify the path to the correct PPD file to use (y=yes, n=no*, q=quit) ? 
Vu que je ne sais pas ce que c'est je ne peux pas savoir où il est je réponds non et j'ai ça comme réponse :

Code : Tout sélectionner

error: PPD file required. Setup cannot continue. Exiting.
J'espère que j'ai été clair et merci d'avance pour votre aide.
Dernière modification par Ichigo-Roku le ven. 12 févr. 2010, 17:36, modifié 1 fois.
Macbook Pro Retina 13" late-2014 (Archlinux + OS X Yosemite)
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17624
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Imprimante] HP Photosmart C3190

Message par benjarobin »

Installe la avec l'interface web de cups... (il te faut quand même hplib)
Voir http://wiki.archlinux.fr/howto/materiel/imprimante
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
Ichigo-Roku
yeomen
Messages : 259
Inscription : jeu. 04 févr. 2010, 19:15

Re: [Imprimante] HP Photosmart C3190

Message par Ichigo-Roku »

Je dois installer gutenprint et ghostscript ? Ou c'est bon avec hplib ?

PS : j'ai installé cups et sur l'interface WEB je ne vois pas mon imprimante.
Macbook Pro Retina 13" late-2014 (Archlinux + OS X Yosemite)
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17624
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Imprimante] HP Photosmart C3190

Message par benjarobin »

Tu as bien fait ceci: Va sur l'interface de CUPS http://localhost:631/admin and suit les étapes pour ajouter une imprimante. Elle ne s'y ajoute pas toute seule :D
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
Ichigo-Roku
yeomen
Messages : 259
Inscription : jeu. 04 févr. 2010, 19:15

Re: [Imprimante] HP Photosmart C3190

Message par Ichigo-Roku »

Justement c'est ce que j'ai fait et j'ai eu error, mais problème résolu, l'interface WEB m'a l'air plus compliqué que le hp-setup.

Elle est reconnu en tant que Photosmart C3180 (lsusb que j'ai vu ça) alors que c'est une Photosmart C3190, alors j'ai refait la manipulation de hp-setup -i, tout en remplaçant par la bonne imprimante et le tour est joué.

J'ai imprimé la page de test et je vais tester le scanner.

Par contre petite question, avant j'étais sous Windows et lorsque je scannais une page c'était de meilleure qualité que lorsque je le fait avec XSane, tu sais d'où ça pourrait provenir ?

Edit : c'est peut être dû au fait que j'ai installé cups...
Macbook Pro Retina 13" late-2014 (Archlinux + OS X Yosemite)
Répondre