ubuntuusers.de

Drucker sharen schlägt fehl - nur lokal drucken funktioniert

Status: Gelöst | Ubuntu-Version: Kubuntu 24.10 (Oracular Oriole)
Antworten |

caldir65

Avatar von caldir65

Anmeldungsdatum:
2. Februar 2009

Beiträge: 267

Wohnort: Melle

Hallo,

ich habe einen Kubuntu-Rechner aufgesetzt mit der Option "minimal", da dieser nicht als Arbeitsplatzrechner, sondern primär für fhem-Automation betreiben soll. Nebenbei soll auch das Drucken mit darüber laufen. Der PC ist ein i3 mit Haswell-Chipsatz und TPM1.2

Als Ducker wird ein EPSON XP-7100 driverless erkannt, sowohl wifi als auch USB. Lokales Drucken funktioniert einwandfrei, die gewünschte Testseite kommt heraus ohne Fehler.

Versuche ich jetzt, das Drucken im Netz frei zu geben, z.B. mittels

sudo cupsctl --share-printers

kommt im Cups-Errorlog der Fehler

[18/Nov/2024:15:32:32 +0100] Scheduler shutting down due to program error.

Hier einmal die gewünschten Abfragen zu Druckerproblemen:

sudo dpkg -l *cups* lpr* | grep ii
ii  apcupsd                   3.14.14-5             amd64        APC UPS Power Management (daemon)
ii  apcupsd-cgi               3.14.14-5             amd64        APC UPS Power Management (web interface)
ii  apcupsd-doc               3.14.14-5             all          APC UPS Power Management (documentation/examples)
ii  bluez-cups                5.77-0ubuntu1         amd64        Bluetooth printer driver for CUPS
ii  cpdb-backend-cups         2.0b5-1ubuntu1        amd64        Common Print Dialog Backends - CUPS/IPP Backend
ii  cups                      2.4.10-1ubuntu2       amd64        Common UNIX Printing System(tm) - PPD/driver support, web interface
ii  cups-browsed              2.0.1-0ubuntu2.1      amd64        OpenPrinting cups-browsed
ii  cups-bsd                  2.4.10-1ubuntu2       amd64        Common UNIX Printing System(tm) - BSD commands
ii  cups-client               2.4.10-1ubuntu2       amd64        Common UNIX Printing System(tm) - client programs (SysV)
ii  cups-common               2.4.10-1ubuntu2       all          Common UNIX Printing System(tm) - common files
ii  cups-core-drivers         2.4.10-1ubuntu2       amd64        Common UNIX Printing System(tm) - driverless printing
ii  cups-daemon               2.4.10-1ubuntu2       amd64        Common UNIX Printing System(tm) - daemon
ii  cups-filters              2.0.1-0ubuntu1        amd64        OpenPrinting CUPS Filters - Main Package
ii  cups-filters-core-drivers 2.0.1-0ubuntu1        amd64        OpenPrinting CUPS Filters - Driverless printing
ii  cups-ipp-utils            2.4.10-1ubuntu2       amd64        Common UNIX Printing System(tm) - IPP developer/admin utilities
ii  cups-pk-helper            0.2.6-1ubuntu8        amd64        PolicyKit helper to configure cups with fine-grained privileges
ii  cups-ppdc                 2.4.10-1ubuntu2       amd64        Common UNIX Printing System(tm) - PPD manipulation utilities
ii  cups-server-common        2.4.10-1ubuntu2       all          Common UNIX Printing System(tm) - server common files
ii  libcups2t64:amd64         2.4.10-1ubuntu2       amd64        Common UNIX Printing System(tm) - Core library
ii  libcupsfilters2-common    2.1~b1-0ubuntu3       all          OpenPrinting libcupsfilters - Auxiliary files
ii  libcupsfilters2t64:amd64  2.1~b1-0ubuntu3       amd64        OpenPrinting libcupsfilters - Shared library
ii  libcupsimage2t64:amd64    2.4.10-1ubuntu2       amd64        Common UNIX Printing System(tm) - Raster image library
ii  printer-driver-cups-pdf   3.0.1-17              amd64        printer driver for PDF writing via CUPS
ii  printer-driver-hpcups     3.24.4+dfsg0-0ubuntu3 amd64        HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii  python3-cups:amd64        2.0.4-1               amd64        Python3 bindings for CUPS
ii  python3-cupshelpers       1.5.18-3ubuntu1       all          Python utility modules around the CUPS printing system
sudo dpkg -l libusb* | grep ii
ii  libusb-0.1-4:amd64     2:0.1.12-35build1 amd64        userspace USB programming library
ii  libusb-1.0-0:amd64     2:1.0.27-1        amd64        userspace USB programming library
ii  libusb-1.0-0-dev:amd64 2:1.0.27-1        amd64        userspace USB programming library development files
ii  libusb-1.0-doc         2:1.0.27-1        all          documentation for userspace USB programming
ii  libusbmuxd6:amd64      2.0.2-4build3     amd64        USB multiplexor daemon for iPhone and iPod Touch devices - library
sudo dpkg -l | egrep Brother
sudo dpkg -l | egrep hp
sudo dpkg -l | egrep 'iscan*|esci-*|epson'
sudo dpkg -l | egrep 'scangear*|cnij*'
ii  printer-driver-brlaser                              6-3build2                                   amd64        printer driver for (some) Brother laser printers
ii  printer-driver-ptouch                               1.7-1build2                                 amd64        printer driver Brother P-touch label printers
rc  hplip                                               3.24.4+dfsg0-0ubuntu3                       amd64        HP Linux Printing and Imaging System (HPLIP)
ii  hplip-data                                          3.24.4+dfsg0-0ubuntu3                       all          HP Linux Printing and Imaging - data files
ii  kubuntu-web-shortcuts                               17.04ubuntu2                                all          web shortcuts for Kubuntu, Ubuntu, Launchpad
ii  libhpmud0:amd64                                     3.24.4+dfsg0-0ubuntu3                       amd64        HP Multi-Point Transport Driver (hpmud) run-time libraries
ii  libsane-hpaio:amd64                                 3.24.4+dfsg0-0ubuntu3                       amd64        HP SANE backend for multi-function peripherals
ii  node-watchpack                                      2.4.0+~cs2.8.1-1                            all          Wrapper library for directory and file watching
ii  printer-driver-hpcups                               3.24.4+dfsg0-0ubuntu3                       amd64        HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii  printer-driver-postscript-hp                        3.24.4+dfsg0-0ubuntu3                       amd64        HP Printers PostScript Descriptions
ii  python3-launchpadlib                                2.0.0-1                                     all          Launchpad web services client library (Python 3)
ii  epson-inkjet-printer-escpr                          1.8.6-1                                     amd64        Epson Inkjet Printer Driver (ESC/P-R) for Linux
ii  epsonscan2                                          6.7.70.0-1                                  amd64        This is scanner driver.
ii  epsonscan2-non-free-plugin                          1.0.0.6-1                                   amd64        This is scanner driver non free plugins.
systemctl --no-pager status cups*
● cups.path - CUPS Scheduler
     Loaded: loaded (/usr/lib/systemd/system/cups.path; enabled; preset: enabled)
     Active: active (running) since Mon 2024-11-18 15:34:02 CET; 18min ago
 Invocation: 1d25189470184ead82f7fa902f340f9e
   Triggers: ● cups.service

Nov 18 15:34:02 christoph-epc5g systemd[1]: Started cups.path - CUPS Scheduler.

● cups-browsed.service - Make remote CUPS printers available locally
     Loaded: loaded (/usr/lib/systemd/system/cups-browsed.service; enabled; preset: enabled)
     Active: active (running) since Mon 2024-11-18 15:34:02 CET; 18min ago
 Invocation: 2367196c9f6e4478ba1c4adafc76c6aa
   Main PID: 57992 (cups-browsed)
      Tasks: 4 (limit: 18930)
     Memory: 6.3M (peak: 7.2M)
        CPU: 425ms
     CGroup: /system.slice/cups-browsed.service
             └─57992 /usr/sbin/cups-browsed

Nov 18 15:34:02 christoph-epc5g systemd[1]: Started cups-browsed.service - Make remote CUPS printers available locally.

● cups.service - CUPS Scheduler
     Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; preset: enabled)
     Active: active (running) since Mon 2024-11-18 15:34:02 CET; 18min ago
 Invocation: feae585d6c064ab2aaa43230c57fd3fe
TriggeredBy: ● cups.path
             ● cups.socket
       Docs: man:cupsd(8)
   Main PID: 57975 (cupsd)
     Status: "Scheduler is running..."
      Tasks: 16 (limit: 18930)
     Memory: 17.2M (peak: 37.6M)
        CPU: 651ms
     CGroup: /system.slice/cups.service
             ├─57975 /usr/sbin/cupsd -l
             ├─57979 /usr/lib/cups/notifier/dbus dbus://
             ├─57980 /usr/lib/cups/notifier/dbus dbus://
             ├─57981 /usr/lib/cups/notifier/dbus dbus://
             ├─57982 /usr/lib/cups/notifier/dbus dbus://
             ├─57983 /usr/lib/cups/notifier/dbus dbus://
             ├─57984 /usr/lib/cups/notifier/dbus dbus://
             ├─57985 /usr/lib/cups/notifier/dbus dbus://
             ├─57986 /usr/lib/cups/notifier/dbus dbus://
             ├─57987 /usr/lib/cups/notifier/dbus dbus://
             ├─57988 /usr/lib/cups/notifier/dbus dbus://
             ├─57989 /usr/lib/cups/notifier/dbus dbus://
             ├─57990 /usr/lib/cups/notifier/dbus dbus://
             ├─57991 /usr/lib/cups/notifier/dbus dbus://
             └─58000 /usr/lib/cups/notifier/dbus dbus://

Nov 18 15:34:02 christoph-epc5g systemd[1]: Starting cups.service - CUPS Scheduler...
Nov 18 15:34:02 christoph-epc5g systemd[1]: Started cups.service - CUPS Scheduler.

● cups.socket - CUPS Scheduler
     Loaded: loaded (/usr/lib/systemd/system/cups.socket; enabled; preset: enabled)
     Active: active (running) since Mon 2024-11-18 15:34:02 CET; 18min ago
 Invocation: 827c7552c4584d5c9d5e33f2cd41da9d
   Triggers: ● cups.service
     Listen: /run/cups/cups.sock (Stream)
     CGroup: /system.slice/cups.socket

Nov 18 15:34:02 christoph-epc5g systemd[1]: Closed cups.socket - CUPS Scheduler.
Nov 18 15:34:02 christoph-epc5g systemd[1]: Stopping cups.socket - CUPS Scheduler...
Nov 18 15:34:02 christoph-epc5g systemd[1]: Listening on cups.socket - CUPS Scheduler.
lpstat -t
lpinfo -v
Zeitplandienst läuft
systemvoreingestelltes Ziel: EPSON_XP_7100
Gerät für EPSON_XP_7100_USB: implicitclass://EPSON_XP_7100_USB/
Gerät für PDF: cups-pdf:/
EPSON_XP_7100_USB akzeptiert Anfragen seit Mo 18 Nov 2024 15:34:18 CET
PDF akzeptiert Anfragen seit Fr 15 Nov 2024 16:51:15 CET
Drucker EPSON_XP_7100_USB ist im Leerlauf.  Aktiviert seit Mo 18 Nov 2024 15:34:18 CET
Drucker PDF ist im Leerlauf.  Aktiviert seit Fr 15 Nov 2024 16:51:15 CET
network socket
network ipp
network ipps
network beh
network http
network https
file cups-pdf:/
serial serial:/dev/ttyS0?baud=115200
serial serial:/dev/ttyS1?baud=115200
serial serial:/dev/ttyUSB0?baud=230400
network lpd
network smb
network dnssd://EPSON%20XP-7100._ipp._tcp.local/?uuid=cfe92100-67c4-11d4-a45f-389d92add6fb
network ipp://EPSON%20XP-7100%20(USB)._ipp._tcp.local/
id
uid=1000(christoph) gid=1000(christoph) Gruppen=1000(christoph),4(adm),20(dialout),24(cdrom),27(sudo),30(dip),46(plugdev),114(lpadmin),988(sambashare)

christoph@christoph-epc5g:~$ ls -l /etc/cups/ppd/*
-rw-r----- 1 root lp 18957 Nov 18 15:34 /etc/cups/ppd/EPSON_XP_7100.ppd
-rw-r----- 1 root lp 18957 Nov 18 15:26 /etc/cups/ppd/EPSON_XP_7100.ppd.O
-rw-r----- 1 root lp 18775 Nov 18 15:34 /etc/cups/ppd/EPSON_XP_7100_USB.ppd
-rw-r----- 1 root lp 18775 Nov 18 15:26 /etc/cups/ppd/EPSON_XP_7100_USB.ppd.O
-rw-r----- 1 root lp 22243 Nov 15 16:51 /etc/cups/ppd/PDF.ppd
-rw-r----- 1 root lp 22243 Nov 15 16:51 /etc/cups/ppd/PDF.ppd.O

christoph@christoph-epc5g:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8000 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 8087:8008 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 003 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 003 Device 004: ID 04b8:1147 Seiko Epson Corp. XP-7100 Series
Bus 003 Device 005: ID 0424:2534 Microchip Technology, Inc. (formerly SMSC) BA9X-USB-HUB V04
Bus 003 Device 006: ID 03eb:204b Atmel Corp. LUFA USB to Serial Adapter Project
Bus 003 Device 007: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 008: ID 10d7:b012 Actions general adapter
Bus 003 Device 009: ID 0d8c:0103 C-Media Electronics, Inc. CM102-A+/102S+ Audio Controller
Bus 003 Device 010: ID 1cf1:0030 Dresden Elektronik ZigBee gateway [ConBee II]
Bus 003 Device 011: ID 0eef:0001 D-WAV Scientific Co., Ltd Titan6001 Surface Acoustic Wave Touchscreen Controller [eGalax]
Bus 003 Device 012: ID 03eb:204b Atmel Corp. LUFA USB to Serial Adapter Project
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Gruß, Christoph

caldir65

(Themenstarter)
Avatar von caldir65

Anmeldungsdatum:
2. Februar 2009

Beiträge: 267

Wohnort: Melle

Moin,

ich habe jetzt alles rund um Cups noch einmal deinstalliert (gepurged), neu installiert, einen Drucker lokal angelegt mit der auf der Druckerseite angegebenen URL, Netzwerk freigegeben (ging aber nur über KDE-Druckereinrichtung), und jetzt kann ich auch wieder im Netz drucken.

Gruß, Christoph

Antworten |