Re: hpaio scannen ja, aber Drucken NEIN!?

Taxena Gasparov <[email protected]>
Newsgroups spline.eisfair.dev
Organization spline
Message-ID <[email protected]>
Hallo Holger,

Am 13.11.23 um 17:59 schrieb Holger Bruenjes:
> Ich habe jetzt nach viel Rekursion das 'hplip-scan-utils' Paket auf Pack-Eis abgelegt

Danke dir, 121 MB Abhängigkeiten ist stattlich.
Gibt einen Typo in python310-scikit-image.tar.bz2.info:
IST: <require-package>python310-packaging 3.4.2</require-package>
SOLL: <require-package>python310-packaging 3.4.0</require-package>


Habe die Pakete python310-scikit-image + hplip-scan-utils manuell/lokal installiert bekommen:
Ist nun noch eine Konfiguration vorzunehmen?

$ scanimage -T
-> bekannter Fehler

$ hp-scan -i
warning: hp-scan should not be run as root/superuser.
HP Linux Imaging and Printing System (ver. 3.23.8)
Scan Utility ver. 2.2

-----------------
| SELECT DEVICE |
-----------------

   Num       Scan device URI
   --------  ------------------------------------------------------------------------------------------
   0         hpaio:/usb/HP_Color_LaserJet_CM1312nfi_MFP?serial=001234567890
   1         net:eis1...

Enter number 0...1 for device (q=quit) ?0
warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/usb/HP_Color_LaserJet_CM1312nfi_MFP?serial=001234567890
Opening connection to device...
error: SANE: Error during device I/O (code=9)
$


$ hp-check -r
> /usr/bin/hp-check:685: SyntaxWarning: "is not" with a literal. Did you mean "!="?
>   if 'getfacl' not in g and '' is not g and 'file' not in g:
> Saving output in log file: /tmp/hp-check.log
> 
> HP Linux Imaging and Printing System (ver. 3.23.8)
> Dependency/Version Check Utility ver. 15.1
> 
> 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
>                                                                                                                                                                               warning: 0-3.4.4 version is not supported. Using 0-0 versions dependencies to verify and install...
> 
> ---------------
> | SYSTEM INFO |
> ---------------
>                                                                                                                                                                                       Kernel: 5.15.137-eisfair-1-SMP #1 SMP Tue Nov 7 23:14:26 CET 2023 GNU/Linux
>  Host: eis1
>  Proc: 5.15.137-eisfair-1-SMP #1 SMP Tue Nov 7 23:14:26 CET 2023 GNU/Linux
>  Distribution: 0 3.4.4
>  Bitness: 32 bit
> 
> 
> -----------------------
> | HPLIP CONFIGURATION |
> -----------------------
> 
> HPLIP-Version: HPLIP 3.23.8
> HPLIP-Home: /usr/share/hplip
> warning: HPLIP-Installation: Auto installation is not supported for 0 distro  3.4.4 version 
> 
> Current contents of '/etc/hp/hplip.conf' file:
> # hplip.conf.  Generated from hplip.conf.in by configure.
> 
> [hplip]
> version=3.23.8
> 
> [dirs]
> home=/usr/share/hplip
> run=/var/run
> ppd=/usr/share/cups/model/manufacturer-PPDs/hplip
> ppdbase=/usr/share/cups/model/manufacturer-PPDs
> doc=/usr/share/doc/packages/hplip
> html=/usr/share/doc/packages/hplip
> icon=/usr/share/applications
> cupsbackend=/usr/lib/cups/backend
> cupsfilter=/usr/lib/cups/filter
> drv=/usr/lib/cups/driver
> bin=/usr/bin
> apparmor=/etc/apparmor.d
> # Following values are determined at configure time and cannot be changed.
> [configure]
> network-build=no
> 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=yes
> foomatic-drv-install=no
> foomatic-ppd-install=yes
> foomatic-rip-hplip-install=no
> hpcups-install=yes
> cups-drv-install=no
> cups-ppd-install=yes
> internal-tag=3.23.8
> restricted-build=no
> ui-toolkit=qt5
> qt3=no
> qt4=no
> qt5=yes
> policy-kit=no
> lite-build=no
> udev_sysfs_rules=no
> hpcups-only-build=no
> hpijs-only-build=no
> apparmor_build=no
> class-driver=no
> 
> 
> Current contents of '/var/lib/hp/hplip.state' file:
> Plugins are not installed. Could not access file: No such file or directory
> 
> Current contents of '~/.hplip/hplip.conf' file:
> warning: Could not access file: No such file or directory
>  <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>
> 
> -------------------------
> | External Dependencies |
> -------------------------
>                                                                                                                                                                                        cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.4.2           OK         'CUPS Scheduler is running'                gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.56.1          OK         -
>  error: xsane         xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             -               MISSING    'xsane needs to be installed'            scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.2.1           OK         -                                          error: dbus          DBus - Message bus system                                    REQUIRED        -               1.14.6          MISSING    'DBUS may not be installed or not running'
>  error: policykit     PolicyKit - Administrative policy framework                  OPTIONAL        -               -               MISSING    'policykit needs to be installed'         network              network -wget                                                OPTIONAL        -               1.21.3          OK         -
>  error: avahi-utils   avahi-utils                                                  OPTIONAL        -               -               MISSING    'avahi-utils needs to be installed'
> 
> ------------------------
> | General Dependencies |
> ------------------------
> 
>  error: libjpeg       libjpeg - JPEG library                                       REQUIRED        -               -               MISSING    'libjpeg needs to be installed'           error: cups-devel    CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.4.2           MISSING    'cups-devel needs to be installed'         error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               2.4.2           MISSING    'cups-image needs to be installed'
>  error: libpthread    libpthread - POSIX threads library                           REQUIRED        -               b'2.37'         MISSING    'libpthread needs to be installed'
>  error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
>  sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
>  error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
>  error: libavahi-dev  libavahi-dev                                                 REQUIRED        -               -               MISSING    'libavahi-dev needs to be installed'
>  error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'                                                                                                                                                                                       error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               3.1.4           MISSING    'libcrypto needs to be installed'          python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.10.12         OK         -
>  error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               MISSING    'python3-notify2 needs to be installed'
>  error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             -               MISSING    'python3-pyqt4-dbus needs to be installed'
>  error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             -               MISSING    'python3-pyqt4 needs to be installed'
>  python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.3.2           OK         -
>  python3-xml          Python XML libraries                                         REQUIRED        -               2.5.0           OK         -                                         error: python3-devel Python devel - Python development files                      REQUIRED        2.2             3.10.12         MISSING    'python3-devel needs to be installed'
>  python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               9.5.0           OK         -
>  error: python3-reportlab Reportlab - PDF library for Python                           OPTIONAL        2.0             -               MISSING    'python3-reportlab needs to be installed'
> 
> --------------
> | COMPILEDEP |
> --------------
> 
>  error: libtool       libtool - Library building support services                  REQUIRED        -               -               MISSING    'libtool needs to be installed'
>  error: gcc           gcc - GNU Project C and C++ Compiler                         REQUIRED        -               -               MISSING    'gcc needs to be installed'
>  error: make          make - GNU make utility to maintain groups of programs       REQUIRED        3.0             -               MISSING    'make needs to be installed'
> 
> ---------------------
> | Python Extentions |
> ---------------------
> 
>  cupsext              CUPS-Extension                                               REQUIRED        -               3.23.8          OK         -
>  hpmudext             IO-Extension                                                 REQUIRED        -               3.23.8          OK         -
> 
> ----------------------
> | Scan Configuration |
> ----------------------
> 
>  hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.23.8          OK         'hpaio found in /etc/sane.d/dll.conf'
>  scanext              Scan-SANE-Extension                                          REQUIRED        -               3.23.8          OK         -
> 
> ------------------------------
> | DISCOVERED SCANNER DEVICES |
> ------------------------------
>                                                                                                                                                                                        device `hpaio:/usb/HP_Color_LaserJet_CM1312nfi_MFP?serial=00CNB886DN3V' is a Hewlett-Packard HP_Color_LaserJet_CM1312nfi_MFP all-in-one
> device `net:ka-eis1.swuskas.goip.de:hpaio:/usb/HP_Color_LaserJet_CM1312nfi_MFP?serial=001234567890' is a Hewlett-Packard HP_Color_LaserJet_CM1312nfi_MFP all-in-one
> 
> 
> --------------------------
> | DISCOVERED USB DEVICES |
> --------------------------
>                                                                                                                                                                                          Device URI                                                   Model                               
>   -----------------------------------------------------------  ------------------------------------
>   hp:/usb/HP_Color_LaserJet_CM1312nfi_MFP?serial=001234567890  HP Color LaserJet CM1312nfi MFP     
> 
> ---------------------------------
> | INSTALLED CUPS PRINTER QUEUES |
> ---------------------------------
>                                                                                                                                                                                         
> usbpr1
> ------
> Type: Unknown
> Device URI: localhost
> 
> all
> ---
> Type: Unknown
> Device URI: localhost
> 
> 
> --------------
> | PERMISSION |
> --------------
>                                                                                                                                                                                       USB             None                           Required        -        -        OK       Node:'/dev/bus/usb/001/003' Perm:'  root  lp rw- rw- r--'                                       
> -----------
> | SUMMARY |
> -----------
> 
> Missing Required Dependencies
> -----------------------------
> None
> 
> Missing Optional Dependencies
> -----------------------------
> None
> 
> 
> Total Errors: 21
> Total Warnings: 1
> 
> 
> Done.

In /var/log/messages wird noch folgendes bei Aufruf von "hp-check -r" gelogt:
>    258 Nov 14 00:33:36 ka-eis1 hp-check: hp-check[25212]: warning: 0-3.4.4 version is not supported. Using 0-0 versions dependencies to verify and install...
>    259 Nov 14 00:33:37 ka-eis1 hp-check: hp-check[25212]: warning: HPLIP-Installation: Auto installation is not supported for 0 distro  3.4.4 version
>    260 Nov 14 00:33:37 ka-eis1 hp-check: hp-check[25212]: warning: Could not access file: No such file or directory
>    261 Nov 14 00:33:40 ka-eis1 saned[26050]: saned (AF-indep+IPv6) from sane-backends 1.2.1 starting up
>    262 Nov 14 00:33:40 ka-eis1 saned[26050]: check_host: access by remote host: ::ffff:192.168.7.22
>    263 Nov 14 00:33:40 ka-eis1 saned[26050]: init: access granted to saned-user@::ffff:192.168.7.22
>    264 Nov 14 00:33:40 ka-eis1 saned[26050]: saned exiting
>    265 Nov 14 00:33:40 ka-eis1 hp-check: io/hpmud/musb.c 2187: [25212] hpmud_make_usb_uri() bus=001 dev=003
>    266 Nov 14 00:33:40 ka-eis1 hp-check: io/hpmud/musb.c 2284: hpmud_make_usb_uri() uri=hp:/usb/HP_Color_LaserJet_CM1312nfi_MFP?serial=001234567890 bytes_read=59

Hast du einen Verdacht? Welche Test kann ich ggf. noch machen?

Taxi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.