Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Ubu 15.04 - instalace ovladače pro tiskárnu HP LaserJet Pro M1132 MFP [vyřešeno]  (Přečteno 6667 krát)

Petr Fiedler

  • Host
Zdravím,

     předesílám, že co se Linuxu týče, jsem úplný nováček. Mám jej asi týden. Mám problém s instalací ovladače pro mojí tiskárnu HP LaserJet Pro M1132 MFP. Zkoušel jsem všechno možné, co jsem vyčetl na internetu, ale nic mi nepomohlo. Tady na fóru je ohledně tohoto modelu 5 příspěvků. Nic z toho mi nefunguje. Může mi tu prosím někdo pomoci?

     Mám nainstalovanou aktuální verzi hplip. Když spustím terminál a napíšu sudo hp-setup, tak to vypíše tohle:

HP Linux Imaging and Printing System (ver. 3.15.2)
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.

error: HPLIP is not installed properly or is installed without graphical support. Please reinstall HPLIP
warning: Qt/PyQt 4 initialization failed.
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.

     Když zkusím sudo hp-setup --gt3, vypíše to:

HP Linux Imaging and Printing System (ver. 3.15.2)
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.


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                               
  faxes instead of                                                         
  setting-up:                                                               
  Set the language:   --loc=<lang> or --lang=<lang>. Use --loc=? 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

error: option --gt3 not recognized

     Když zkusím sudo hp-setup -i
                           enter
                           d, vypíše to:

HP Linux Imaging and Printing System (ver. 3.15.2)
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.)


--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------

  Num       Connection  Description                                               
            Type                                                                 
  --------  ----------  ----------------------------------------------------------
  0*        usb         Universal Serial Bus (USB)                               
  1         net         Network/Ethernet/Wireless (direct connection or JetDirect)
  2         par         Parallel Port (LPT:)                                     

Enter number 0...2 for connection type (q=quit, enter=usb*) ?

Using connection type: usb

Using device: hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH69PPDSI1c


Setting up device: hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH69PPDSI1c



------------------------
| PLUG-IN INSTALLATION |
------------------------


HP Linux Imaging and Printing System (ver. 3.15.2)
Plugin Download and Install Utility ver. 2.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: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.15.2 |
-----------------------------------------

  Option      Description                                       
  ----------  --------------------------------------------------
  d           Download plug-in from HP (recomended)             
  p           Specify a path to the plug-in (advanced)         
  q           Quit hp-plugin (skip installation)               

Enter option (d=download*, p=specify path, q=quit) ? d

-------------------
| DOWNLOAD PLUGIN |
-------------------

Checking for network connection...
Downloading plug-in from:
Downloading plug-in: [\                                   ] 0%     
error: /home/petr/.hplip/hplip-3.15.2-plugin.run file does not match its checksum. File may have been corrupted or altered
error: Failed to install Plugin.

     hplip jsem zkoušel úplně odstranit a znovu nainstalovat jak ze Synapticu, tak z Terminálu. Nic nepomohlo a pořád to vypisuje to samé:

error: /home/petr/.hplip/hplip-3.15.2-plugin.run file does not match its checksum. File may have been corrupted or altered
error: Failed to install Plugin.

     A tomuhle návodu moc nerozumím a už asi ani není aktuální:

http://www.abclinuxu.cz/hardware/vystupni-zarizeni/multifunkcni-zarizeni/hp-laserjet-m1132-mfp

Díky za jakoukoliv radu, nebo snahu pomoci,
Petr
« Poslední změna: 27 Srpna 2015, 23:18:53 od Petr Fiedler »

Milhouse

  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 5726
Citace
error: /home/petr/.hplip/hplip-3.15.2-plugin.run file does not match its checksum. File may have been corrupted or altered
error: Failed to install Plugin.

Špatně stažený soubor, bez toho to nepůjde nikdy. Buď to ho stáhnout jiným programem, nebo z jiného zdroje a umístit ho do uvedené adresy.

N. Á. V. O. D. Y.
 "...naše práce není vidět, ale je důležitá!"

Petr Fiedler

  • Host
Díky za radu,

   už tisknu, skenuju i kopíruju.

Tady je jednoduchý, skvělý a funkční návod jak zprovoznit tuhle tiskárnu:
http://cd-rw.org/t/fix-the-broken-hp-printer-driver-installation-on-ubuntu-15-04-linux-mint-17-02-and-others/33

V tom návodu je link na stažení dvou souborů (hplip-3.15.2-plugin.run a hplip-3.15.2-plugin.run.asc). Ty jsem stáhl, dal do /home/super_user a v terminálu jsem napsal:

sudo hp-setup -i
Pak to chtělo vybrat připojení, takže usb se vybere enterem.
Pak se to ptá, jestli chci stáhnout ovladače a tady se zmáčkne p+enter.
Pak myslím stačí tlačítkem y souhlasit s licenčními podmínkami a šichta.

Tento postup je trochu jiný, než v tom návodu, ale funguje.
Tak snad to tu někomu pomůže.

Petr

 

Provoz zaštiťuje spolek OpenAlt.