ubuntuusers.de

OKI C542 wird erkannt, druckt nicht

Status: Ungelöst | Ubuntu-Version: Ubuntu 23.10 (Mantic Minotaur)
Antworten |

Surgakor

Anmeldungsdatum:
9. Februar 2024

Beiträge: 20

Hallo liebe Gemeinschaft

Ich scheitere daran einen Drucker OKI C542 zu benutzen. Der Drucker wird über die GUI gefunden, ich kann ihn hinzufügen, dann aber nicht drucken. Auch die Testseite in den Druckoptionen bleibt in der Verarbeitung hängen. Treiber hab ich einen passend bezeichneten in der Liste gefunden. Druckt nicht. Auch jener auf der webseite von OKI mit Linux hab ich heruntergeladen und wollte den hinzufügen. Das hat nicht funktioniert. Nach dem Auswählen passiert nichts. Mit Anleitungen aus diesem Forum und mittels CUPS hab ich das ganze nochmals versucht. Ebenfalls erfolglos. Ich glaube, dass alles vorhanden ist, was es braucht, ich nur nicht richtig einrichten kann. Wie geht das via Terminal? Dies mal meine Herausforderung hier. Welche Infos braucht Ihr, damit eine Hilfe möglich ist?

Surgakor

(Themenstarter)

Anmeldungsdatum:
9. Februar 2024

Beiträge: 20

Weiterführend von mir:

Der Drucker ist mit Ethernet an einen Router angeschlossen zu dem Netzwerk ich via W-Lan zugreife. Ich habe mich noch mit

sudo system-config-printer

versucht. Auch da finde ich den Drucker Kann ihn mit ipps oder dnssd einrichten. Von der OKI webseite heruntergeladener Treiber für Linux und Chrome OS anwählen. Dann, Testseite Drucken, passiert nichts. "Drucker verbindet" da bleibts hängen.

HarryD

Anmeldungsdatum:
14. Juni 2006

Beiträge: 2795

Wohnort: Germany - BW

Fang nochmal hiermit an https://forum.ubuntuusers.de/topic/welche-angaben-zum-system-sind-fuer-ein-neues--4/

Speziell bei Netzwerkanschluss wäre ein Zugriff über cups in einem Browser hilfreich.

Surgakor

(Themenstarter)

Anmeldungsdatum:
9. Februar 2024

Beiträge: 20

Hallo Harry

Vielen Dank für deine Nachricht. Der Befehl

sudo dpkg -l *cups* lpr* | grep ii
sudo dpkg -l libusb* | grep ii
sudo dpkg -l | egrep Brother
sudo dpkg -l | egrep hp
sudo dpkg -l | egrep 'iscan*|esci-*|epson'
sudo dpkg -l | egrep 'scangear*|cnij*'
systemctl --no-pager status cups*
lpstat -t
lpinfo -v
hp-info -i
uname -rm
lsusb
id
ls -l /etc/cups/ppd/* 

Hat folgendes ergeben

ii  bluez-cups                5.68-0ubuntu1.1        amd64        Bluetooth printer driver for CUPS
ii  cpdb-backend-cups         2.0~b5-0ubuntu2        amd64        Common Print Dialog Backends - CUPS/IPP Backend
ii  cups                      2.4.6-0ubuntu3         amd64        Common UNIX Printing System(tm) - PPD/driver support, web interface
ii  cups-browsed              2.0.0-0ubuntu2         amd64        OpenPrinting cups-browsed
ii  cups-bsd                  2.4.6-0ubuntu3         amd64        Common UNIX Printing System(tm) - BSD commands
ii  cups-client               2.4.6-0ubuntu3         amd64        Common UNIX Printing System(tm) - client programs (SysV)
ii  cups-common               2.4.6-0ubuntu3         all          Common UNIX Printing System(tm) - common files
ii  cups-core-drivers         2.4.6-0ubuntu3         amd64        Common UNIX Printing System(tm) - driverless printing
ii  cups-daemon               2.4.6-0ubuntu3         amd64        Common UNIX Printing System(tm) - daemon
ii  cups-filters              2.0.0-0ubuntu1         amd64        OpenPrinting CUPS Filters - Main Package
ii  cups-filters-core-drivers 2.0.0-0ubuntu1         amd64        OpenPrinting CUPS Filters - Driverless printing
ii  cups-ipp-utils            2.4.6-0ubuntu3         amd64        Common UNIX Printing System(tm) - IPP developer/admin utilities
ii  cups-pk-helper            0.2.6-1ubuntu5         amd64        PolicyKit helper to configure cups with fine-grained privileges
ii  cups-ppdc                 2.4.6-0ubuntu3         amd64        Common UNIX Printing System(tm) - PPD manipulation utilities
ii  cups-server-common        2.4.6-0ubuntu3         all          Common UNIX Printing System(tm) - server common files
ii  libcups2:amd64            2.4.6-0ubuntu3         amd64        Common UNIX Printing System(tm) - Core library
ii  libcups2:i386             2.4.6-0ubuntu3         i386         Common UNIX Printing System(tm) - Core library
ii  libcupsfilters2:amd64     2.0.0-0ubuntu1         amd64        OpenPrinting libcupsfilters - Shared library
ii  libcupsfilters2-common    2.0.0-0ubuntu1         all          OpenPrinting libcupsfilters - Auxiliary files
ii  libcupsimage2:amd64       2.4.6-0ubuntu3         amd64        Common UNIX Printing System(tm) - Raster image library
ii  printer-driver-hpcups     3.22.10+dfsg0-2ubuntu1 amd64        HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii  python3-cups:amd64        2.0.1-5build3          amd64        Python3 bindings for CUPS
ii  python3-cupshelpers       1.5.18-1ubuntu3        all          Python utility modules around the CUPS printing system
ii  libusb-1.0-0:amd64       2:1.0.26-1   amd64        userspace USB programming library
ii  libusb-1.0-0:i386        2:1.0.26-1   i386         userspace USB programming library
ii  libusbmuxd6:amd64        2.0.2-4      amd64        USB multiplexor daemon for iPhone and iPod Touch devices - library
ii  libusbredirhost1:amd64   0.13.0-2     amd64        Implementing the usb-host (*) side of a usbredir connection (runtime)
ii  libusbredirparser1:amd64 0.13.0-2     amd64        Parser for the usbredir protocol (runtime)
ii  printer-driver-brlaser                        6-3                                          amd64        printer driver for (some) Brother laser printers
ii  printer-driver-ptouch                         1.6-2build1                                  amd64        printer driver Brother P-touch label printers
ii  flashplugin-installer                         32.0.0.465ubuntu0.20.04.2                    amd64        Adobe Flash Player plugin installer (transitional package)
ii  hplip                                         3.22.10+dfsg0-2ubuntu1                       amd64        HP Linux Printing and Imaging System (HPLIP)
ii  hplip-data                                    3.22.10+dfsg0-2ubuntu1                       all          HP Linux Printing and Imaging - data files
ii  libhpmud0:amd64                               3.22.10+dfsg0-2ubuntu1                       amd64        HP Multi-Point Transport Driver (hpmud) run-time libraries
ii  libpathplan4:amd64                            2.42.2-7build3                               amd64        rich set of graph drawing tools - pathplan library
ii  libsane-hpaio:amd64                           3.22.10+dfsg0-2ubuntu1                       amd64        HP SANE backend for multi-function peripherals
ii  printer-driver-hpcups                         3.22.10+dfsg0-2ubuntu1                       amd64        HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii  printer-driver-postscript-hp                  3.22.10+dfsg0-2ubuntu1                       amd64        HP Printers PostScript Descriptions
ii  python3-launchpadlib                          1.11.0-1                                     all          Launchpad web services client library (Python 3)
● cups-browsed.service - Make remote CUPS printers available locally
     Loaded: loaded (/lib/systemd/system/cups-browsed.service; enabled; preset: enabled)
     Active: active (running) since Fri 2024-04-26 11:20:06 CEST; 2h 24min ago
   Main PID: 68430 (cups-browsed)
      Tasks: 4 (limit: 8699)
     Memory: 3.5M
        CPU: 558ms
     CGroup: /system.slice/cups-browsed.service
             └─68430 /usr/sbin/cups-browsed

● cups.socket - CUPS Scheduler
     Loaded: loaded (/lib/systemd/system/cups.socket; enabled; preset: enabled)
     Active: active (running) since Fri 2024-04-26 11:20:05 CEST; 2h 24min ago
   Triggers: ● cups.service
     Listen: /run/cups/cups.sock (Stream)
     CGroup: /system.slice/cups.socket

● cups.path - CUPS Scheduler
     Loaded: loaded (/lib/systemd/system/cups.path; enabled; preset: enabled)
     Active: active (running) since Fri 2024-04-26 11:20:05 CEST; 2h 24min ago
   Triggers: ● cups.service

● cups.service - CUPS Scheduler
     Loaded: loaded (/lib/systemd/system/cups.service; enabled; preset: enabled)
     Active: active (running) since Fri 2024-04-26 11:20:06 CEST; 2h 24min ago
TriggeredBy: ● cups.socket
             ● cups.path
       Docs: man:cupsd(8)
   Main PID: 68424 (cupsd)
     Status: "Scheduler is running..."
      Tasks: 4 (limit: 8699)
     Memory: 20.0M
        CPU: 14.216s
     CGroup: /system.slice/cups.service
             ├─68424 /usr/sbin/cupsd -l
             ├─68426 /usr/lib/cups/notifier/dbus dbus://
             ├─68427 /usr/lib/cups/notifier/dbus dbus://
             └─68466 /usr/lib/cups/notifier/dbus dbus://
Zeitplandienst läuft
systemvoreingestelltes Ziel: TS6300
Gerät für HP-LaserJet-1018: hp:/usb/HP_LaserJet_1018?serial=KP36VPS
Gerät für TS6300: dnssd://Canon%20TS6300%20series._ipp._tcp.local/?uuid=00000000-0000-1000-8000-00188d117929
Gerät für WF-7840: ipps://EPSON%20WF-7840%20Series._ipps._tcp.local/
Gerät für WF-7840-2: dnssd://EPSON%20WF-7840%20Series._ipp._tcp.local/?uuid=cfe92100-67c4-11d4-a45f-dccd2f7c5633
HP-LaserJet-1018 akzeptiert Anfragen seit Mo 30 Jan 2023 12:29:58
TS6300 akzeptiert Anfragen seit Do 25 Apr 2024 19:50:04
WF-7840 akzeptiert Anfragen seit Mi 25 Okt 2023 09:30:51
WF-7840-2 akzeptiert Anfragen seit Mi 18 Okt 2023 08:28:29
Drucker HP-LaserJet-1018 ist im Leerlauf.  Aktiviert seit Mo 30 Jan 2023 12:29:58
Drucker TS6300 ist im Leerlauf.  Aktiviert seit Do 25 Apr 2024 19:50:04
Drucker WF-7840 ist im Leerlauf.  Aktiviert seit Mi 25 Okt 2023 09:30:51
Drucker WF-7840-2 ist im Leerlauf.  Aktiviert seit Mi 18 Okt 2023 08:28:29
HP-LaserJet-1018-4      anonymous         1024   Mo 08 Jun 2020 23:01:21
HP-LaserJet-1018-4      anonymous         1024   Mo 08 Jun 2020 23:01:21
HP-LaserJet-1018-4      anonymous         1024   Mo 08 Jun 2020 23:01:21
HP-LaserJet-1018-4      anonymous         1024   Mo 08 Jun 2020 23:01:21
HP-LaserJet-1018-11     anonymous         1024   Mo 08 Jun 2020 23:09:03
HP-LaserJet-1018-11     anonymous         1024   Mo 08 Jun 2020 23:09:03
HP-LaserJet-1018-11     anonymous         1024   Mo 08 Jun 2020 23:09:03
HP-LaserJet-1018-11     anonymous         1024   Mo 08 Jun 2020 23:09:03
HP-LaserJet-1018-14     anonymous         1024   Mo 08 Jun 2020 23:41:51
HP-LaserJet-1018-14     anonymous         1024   Mo 08 Jun 2020 23:41:51
HP-LaserJet-1018-14     anonymous         1024   Mo 08 Jun 2020 23:41:51
HP-LaserJet-1018-14     anonymous         1024   Mo 08 Jun 2020 23:41:51
HP-LaserJet-1018-15     anonymous         1024   Mo 08 Jun 2020 23:42:37
HP-LaserJet-1018-15     anonymous         1024   Mo 08 Jun 2020 23:42:37
HP-LaserJet-1018-15     anonymous         1024   Mo 08 Jun 2020 23:42:37
HP-LaserJet-1018-15     anonymous         1024   Mo 08 Jun 2020 23:42:37
network ipp
network ipps
network beh
network http
serial serial:/dev/ttyS4?baud=115200
serial serial:/dev/ttyUSB0?baud=230400
network lpd
direct hp
network socket
network https
network smb
direct hpfax
network ipps://OKI-C542-91C627._ipps._tcp.local/
network dnssd://OKI-C542-91C627._pdl-datastream._tcp.local/

HP Linux Imaging and Printing System (ver. 3.22.10)
Device Information Utility ver. 5.2

Copyright (c) 2001-18 HP 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.


HP Linux Imaging and Printing System (ver. 3.22.10)
System Tray Status Service ver. 2.0

Copyright (c) 2001-18 HP 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.

QSocketNotifier: Can only be used with threads started with QThread

hp:/usb/HP_LaserJet_1018?serial=KP36VPS

error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_1018?serial=KP36VPS
error: Error opening device (Device not found).
Device Parameters (dynamic data):
  Parameter                     Value(s)                                                  
  ----------------------------  ----------------------------------------------------------
  back-end                      hp                                                        
  cups-printers                 ['HP-LaserJet-1018']                                      
  cups-uri                      hp:/usb/HP_LaserJet_1018?serial=KP36VPS                   
  dev-file                                                                                
  device-state                  -1                                                        
  device-uri                    hp:/usb/HP_LaserJet_1018?serial=KP36VPS                   
  deviceid                                                                                
  error-state                   101                                                       
  host                                                                                    
  is-hp                         True                                                      
  panel                         0                                                         
  panel-line1                                                                             
  panel-line2                                                                             
  port                          1                                                         
  serial                        KP36VPS                                                   
  status-code                   5002                                                      
  status-desc                                                                             

Model Parameters (static data):
  Parameter                     Value(s)                                                  
  ----------------------------  ----------------------------------------------------------
  align-type                    0                                                         
  clean-type                    0                                                         
  color-cal-type                0                                                         
  copy-type                     0                                                         
  embedded-server-type          0                                                         
  family-class                  ['LJ-Class4']                                             
  fax-type                      0                                                         
  fw-download                   True                                                      
  icon                          HP_LaserJet_1012.png                                      
  io-mfp-mode                   6                                                         
  io-mode                       1                                                         
  io-support                    2                                                         
  job-storage                   0                                                         
  linefeed-cal-type             0                                                         
  model                         HP_LaserJet_1018                                          
  model-ui                      HP LaserJet 1018                                          
  model1                        HP LaserJet 1018 Printer                                  
  model2                        HP LaserJet 1018s Printer                                 
  monitor-type                  0                                                         
  panel-check-type              0                                                         
  pcard-type                    0                                                         
  plugin                        1                                                         
  plugin-reason                 1                                                         
  power-settings                0                                                         
  pq-diag-type                  0                                                         
  r-type                        0                                                         
  r0-agent1-kind                4                                                         
  r0-agent1-sku                 Q2612A                                                    
  r0-agent1-type                1                                                         
  scan-src                      0                                                         
  scan-type                     0                                                         
  status-battery-check          0                                                         
  status-dynamic-counters       0                                                         
  status-type                   8                                                         
  support-released              True                                                      
  support-subtype               2202411                                                   
  support-type                  2                                                         
  support-ver                   2.7.10                                                    
  tech-class                    ['LJZjsMono']                                             
  tech-subclass                 ['Normal']                                                
  tech-type                     3                                                         
  usb-pid                       16663                                                     
  usb-vid                       1008                                                      
  wifi-config                   0                                                         

Status History (most recent first):
  Date/Time             Code   Status Description                        User      Job ID  
  --------------------  -----  ----------------------------------------  --------  --------
  04/26/24 13:44:23     5012   Device communication error                zentrale  0       
                                                                         pratteln          


Done.
6.5.0-28-generic x86_64
Bus 001 Device 002: ID 8087:8000 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 005: ID 0424:5534 Microchip Technology, Inc. (formerly SMSC) Hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 008: ID 05c8:035d Cheng Uei Precision Industry Co., Ltd (Foxlink) HP HD Webcam
Bus 002 Device 007: ID 03f0:581d HP, Inc lt4112 Gobi 4G Module Network Device
Bus 002 Device 005: ID 138a:003f Validity Sensors, Inc. VFS495 Fingerprint Reader
Bus 002 Device 003: ID 8087:07dc Intel Corp. Bluetooth wireless interface
Bus 002 Device 021: ID 04b4:00ff Cypress Semiconductor Corp.  PS2toUSB KBM Bridge V2.02a
Bus 002 Device 020: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse
Bus 002 Device 018: ID 0424:2134 Microchip Technology, Inc. (formerly SMSC) Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
uid=1001(****) gid=1001(****) Gruppen=1001(****),27(sudo),116(lpadmin),143(libvirt)
-rw-r----- 1 root lp 24653 Apr 26  2022 /etc/cups/ppd/HP-LaserJet-1018.ppd
-rw-r----- 1 root lp 24653 Jun 10  2020 /etc/cups/ppd/HP-LaserJet-1018.ppd.O
-rw-r----- 1 root lp 17946 Feb 25  2023 /etc/cups/ppd/TS6300.ppd
-rw-r----- 1 root lp 21269 Okt 16  2023 /etc/cups/ppd/WF-7840-2.ppd
-rw-r----- 1 root lp 21269 Okt 16  2023 /etc/cups/ppd/WF-7840.ppd

perlicon

Anmeldungsdatum:
18. Dezember 2023

Beiträge: 54

Für mein Vorgehen gilt die Vorrede aus 9424572. Hier funktioniert ein ähnliches Gerät unauffällig unter Ubuntu 20.04. Probiere folgendes Vorgehen:

  1. Dem Drucker im Router eine feste IP vergeben.

  2. Zip-Archiv mit den PPD-Dateien von der OKI-Seite herunterladen.

  3. Zip-Archiv entpacken.

  4. Die erhaltene Datei OKI C542 PS.ppd.gz nochmals entpacken.

  5. Druckerkonfiguration im Browser mittels http://localhost:631 aufrufen.

  6. OKI-Drucker neu anlegen oder ändern mit folgenden Einstellungen:

    • URI: versuchsweise socket://<IP-Adresse>

    • als Treiber die Datei OKI C542 PS.ppd auswählen

Falls das funktioniert kannst du die URI in ipp://<IP-Adresse> ändern und wenn das funktioniert in ipps://<IP-Adresse>:443. (Wobei die IPPS-Adresse auch etwas anders lauten kann, mein OKI-Drucker kann nur IPP.)

Antworten |