Stampante HP via USB stampa solo il primo job

Sono alcuni mesi (purtroppo non sono in grado di dire a quale aggiornamento risale il problema) che la mia HP CP1025 connessa via USB stampa solo il primo job che le invio. Se devo stamparne piu’ di uno sono costretta a spegnerla, comandare la stampa mentre è spenta, e riaccenderla dopo un po’.
Se non lo faccio, in coda di stampa vedo comparire i job, ma scompaiono in un battibaleno, senza errori, e sulla stampante non succede niente.

La stampante è stata installata in automatico da fedora mentre se cerco di gestirla da HP Device Manager non la trova.

Se eseguo hp-check ottengo l’errore:
error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT ‘CUPS may not be installed or not running’
ed infatti su F32 c’è cups 2.3.3.op1

Se eseguo hp-diagnose_queues ottengo:
warning: Device HP-LaserJet-CP-1025 is not HPLIP installed. Device must use the hp: or hpfax: to function in HPLIP.
error: ‘HP-LaserJet-CP-1025’ is not configured using HPLIP. Need to remove and re-cofigure using hp-setup.
Ma quando vado ad eseguire hp-setup purtroppo non la trova:
error: No devices found on bus: usb
perchè come dicevo neanche HP Device Manager la vede.

Lanciando invece hp-diagnose_plugin ricevo:
Device Plugin is already installed

Cosa posso fare??
Dipende tutto dal fatto che un cups diverso da quello che cerca??
Come si risolve.

Licia

Assolutamente no… provando a dare il comando hp-check l’output restituisce lo stesso errore anche a me, oltre ad errori di altre dipendenze non risolte, ma la mia stampante funziona senza problemi.
Al limite prova a controllare la presenza di documenti nello spooler di stampa con il comando lpq

Potresti farlo anche tramite system-config-printer, l’utility per la configurazione delle stampanti.
Nel caso occorresse, questo strumento ti consente anche di aggiungere/rimuovere una stampante.

$ lpq
HP-LaserJet-CP-1025 è pronta
nessuna voce

system-config-printer vede correttamente la stampante (come del resto Impostazioni di Sistema) ma comunque il secondo job dopo l’accensione della stampante , sparisce dalla coda di stampa senza venire stampato

Ho abilitato il log di debug su system-config-printer e questo è il risultato (o almeno il pezzo che sono riuscita a inserire nel messaggio), ma io non l’ho capito

“”"
D [12/dic/2020:15:43:10] [Client 1] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [12/dic/2020:15:43:10] [Client 1] bytes=0, http_state=0, data_remaining=75
D [12/dic/2020:15:43:10] [Client 1] Flushing write buffer.
D [12/dic/2020:15:43:10] [Client 1] New state is HTTP_STATE_WAITING
D [12/dic/2020:15:43:10] [Client 1] Waiting for request.
D [12/dic/2020:15:43:10] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Active clients and dirty files”
D [12/dic/2020:15:43:10] [Client 1] POST / HTTP/1.1
D [12/dic/2020:15:43:10] cupsdSetBusyState: newbusy=“Active clients and dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:10] [Client 1] Read: status=200, state=6
D [12/dic/2020:15:43:10] [Client 1] No authentication data provided.
D [12/dic/2020:15:43:10] [Client 1] 2.0 Get-Printer-Attributes 172
D [12/dic/2020:15:43:10] Get-Printer-Attributes ipp://[email protected]:631/printers/HP-LaserJet-CP-1025
D [12/dic/2020:15:43:10] [Client 1] Returning IPP successful-ok for Get-Printer-Attributes (ipp://[email protected]:631/printers/HP-LaserJet-CP-1025) from localhost.
D [12/dic/2020:15:43:10] [Client 1] Content-Length: 464
D [12/dic/2020:15:43:10] [Client 1] cupsdSendHeader: code=200, type=“application/ipp”, auth_type=0
D [12/dic/2020:15:43:10] [Client 1] con->http=0x5598b624b7d0
D [12/dic/2020:15:43:10] [Client 1] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=464, response=0x5598b6240ad0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [12/dic/2020:15:43:10] [Client 1] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [12/dic/2020:15:43:10] [Client 1] bytes=0, http_state=0, data_remaining=464
D [12/dic/2020:15:43:10] [Client 1] Flushing write buffer.
D [12/dic/2020:15:43:10] [Client 1] New state is HTTP_STATE_WAITING
D [12/dic/2020:15:43:10] [Client 1] Waiting for request.
D [12/dic/2020:15:43:10] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Active clients and dirty files”
D [12/dic/2020:15:43:10] cupsdSetBusyState: newbusy=“Active clients and dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:10] [Client 36] Server address is “/run/cups/cups.sock”.
D [12/dic/2020:15:43:10] [Client 36] Accepted from localhost (Domain)
D [12/dic/2020:15:43:10] [Client 36] Waiting for request.
D [12/dic/2020:15:43:10] [Client 36] POST / HTTP/1.1
D [12/dic/2020:15:43:10] cupsdSetBusyState: newbusy=“Active clients and dirty files”, busy=“Active clients and dirty files”
D [12/dic/2020:15:43:10] [Client 36] Read: status=200, state=6
D [12/dic/2020:15:43:10] [Client 36] No authentication data provided.
D [12/dic/2020:15:43:10] [Client 36] 2.0 Get-Notifications 65
D [12/dic/2020:15:43:10] Get-Notifications /
D [12/dic/2020:15:43:10] cupsdIsAuthorized: requesting-user-name=“licia”
D [12/dic/2020:15:43:10] [Client 36] Returning IPP successful-ok for Get-Notifications (/) from localhost.
D [12/dic/2020:15:43:10] [Client 36] Content-Length: 579
D [12/dic/2020:15:43:10] [Client 36] cupsdSendHeader: code=200, type=“application/ipp”, auth_type=0
D [12/dic/2020:15:43:10] [Client 36] con->http=0x5598b6284920
D [12/dic/2020:15:43:10] [Client 36] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=579, response=0x5598b6242060(IPP_STATE_DATA), pipe_pid=0, file=-1
D [12/dic/2020:15:43:10] [Client 36] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [12/dic/2020:15:43:10] [Client 36] bytes=0, http_state=0, data_remaining=579
D [12/dic/2020:15:43:10] [Client 36] Flushing write buffer.
D [12/dic/2020:15:43:10] [Client 36] New state is HTTP_STATE_WAITING
D [12/dic/2020:15:43:10] [Client 36] Waiting for request.
D [12/dic/2020:15:43:10] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Active clients and dirty files”
D [12/dic/2020:15:43:10] [Client 36] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [12/dic/2020:15:43:10] [Client 36] Closing connection.
D [12/dic/2020:15:43:10] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:10] [Client 2] POST / HTTP/1.1
D [12/dic/2020:15:43:10] cupsdSetBusyState: newbusy=“Active clients and dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:10] [Client 2] Read: status=200, state=6
D [12/dic/2020:15:43:10] [Client 2] No authentication data provided.
D [12/dic/2020:15:43:10] [Client 2] 2.0 Get-Notifications 66
D [12/dic/2020:15:43:10] Get-Notifications /
D [12/dic/2020:15:43:10] cupsdIsAuthorized: requesting-user-name=“licia”
D [12/dic/2020:15:43:10] [Client 2] Returning IPP successful-ok for Get-Notifications (/) from localhost.
D [12/dic/2020:15:43:10] [Client 2] Content-Length: 1776
D [12/dic/2020:15:43:10] [Client 2] cupsdSendHeader: code=200, type=“application/ipp”, auth_type=0
D [12/dic/2020:15:43:10] [Client 2] con->http=0x5598b624ee70
D [12/dic/2020:15:43:10] [Client 2] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=1776, response=0x5598b6242060(IPP_STATE_DATA), pipe_pid=0, file=-1
D [12/dic/2020:15:43:10] [Client 2] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [12/dic/2020:15:43:10] [Client 2] bytes=0, http_state=0, data_remaining=1776
D [12/dic/2020:15:43:10] [Client 2] Flushing write buffer.
D [12/dic/2020:15:43:10] [Client 2] New state is HTTP_STATE_WAITING
D [12/dic/2020:15:43:10] [Client 2] Waiting for request.
D [12/dic/2020:15:43:10] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Active clients and dirty files”
D [12/dic/2020:15:43:10] [Client 18] POST / HTTP/1.1
D [12/dic/2020:15:43:10] cupsdSetBusyState: newbusy=“Active clients and dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:10] [Client 18] Read: status=200, state=6
D [12/dic/2020:15:43:10] [Client 18] No authentication data provided.
D [12/dic/2020:15:43:10] [Client 18] 2.0 CUPS-Get-Printers 67
D [12/dic/2020:15:43:10] CUPS-Get-Printers
D [12/dic/2020:15:43:10] [Client 18] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost.
D [12/dic/2020:15:43:10] [Client 18] Content-Length: 545
D [12/dic/2020:15:43:10] [Client 18] cupsdSendHeader: code=200, type=“application/ipp”, auth_type=0
D [12/dic/2020:15:43:10] [Client 18] con->http=0x5598b626c2a0
D [12/dic/2020:15:43:10] [Client 18] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=545, response=0x5598b624aee0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [12/dic/2020:15:43:10] [Client 18] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [12/dic/2020:15:43:10] [Client 18] bytes=0, http_state=0, data_remaining=545
D [12/dic/2020:15:43:10] [Client 18] Flushing write buffer.
D [12/dic/2020:15:43:10] [Client 18] New state is HTTP_STATE_WAITING
D [12/dic/2020:15:43:10] [Client 18] Waiting for request.
D [12/dic/2020:15:43:10] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Active clients and dirty files”
D [12/dic/2020:15:43:10] [Client 18] POST / HTTP/1.1
D [12/dic/2020:15:43:10] cupsdSetBusyState: newbusy=“Active clients and dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:10] [Client 18] Read: status=200, state=6
D [12/dic/2020:15:43:10] [Client 18] No authentication data provided.
D [12/dic/2020:15:43:10] [Client 18] 2.0 CUPS-Get-Classes 68
D [12/dic/2020:15:43:10] CUPS-Get-Classes
D [12/dic/2020:15:43:10] [Client 18] Returning IPP successful-ok for CUPS-Get-Classes (no URI) from localhost.
D [12/dic/2020:15:43:10] [Client 18] Content-Length: 75
D [12/dic/2020:15:43:10] [Client 18] cupsdSendHeader: code=200, type=“application/ipp”, auth_type=0
D [12/dic/2020:15:43:10] [Client 18] con->http=0x5598b626c2a0
D [12/dic/2020:15:43:10] [Client 18] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=75, response=0x5598b6242060(IPP_STATE_DATA), pipe_pid=0, file=-1
D [12/dic/2020:15:43:10] [Client 18] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [12/dic/2020:15:43:10] [Client 18] bytes=0, http_state=0, data_remaining=75
D [12/dic/2020:15:43:10] [Client 18] Flushing write buffer.
D [12/dic/2020:15:43:10] [Client 18] New state is HTTP_STATE_WAITING
D [12/dic/2020:15:43:10] [Client 18] Waiting for request.
D [12/dic/2020:15:43:10] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Active clients and dirty files”
D [12/dic/2020:15:43:10] [Client 18] POST / HTTP/1.1
D [12/dic/2020:15:43:10] cupsdSetBusyState: newbusy=“Active clients and dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:10] [Client 18] Read: status=200, state=6
D [12/dic/2020:15:43:10] [Client 18] No authentication data provided.
D [12/dic/2020:15:43:10] [Client 18] 2.0 CUPS-Get-Default 69
D [12/dic/2020:15:43:10] CUPS-Get-Default
D [12/dic/2020:15:43:10] [Client 18] Returning IPP successful-ok for CUPS-Get-Default (no URI) from localhost.
D [12/dic/2020:15:43:10] [Client 18] Content-Length: 10640
D [12/dic/2020:15:43:10] [Client 18] cupsdSendHeader: code=200, type=“application/ipp”, auth_type=0
D [12/dic/2020:15:43:10] [Client 18] con->http=0x5598b626c2a0
D [12/dic/2020:15:43:10] [Client 18] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=10640, response=0x5598b624aee0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [12/dic/2020:15:43:10] [Client 18] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [12/dic/2020:15:43:10] [Client 18] bytes=0, http_state=0, data_remaining=10640
D [12/dic/2020:15:43:10] [Client 18] Flushing write buffer.
D [12/dic/2020:15:43:10] [Client 18] New state is HTTP_STATE_WAITING
D [12/dic/2020:15:43:10] [Client 18] Waiting for request.
D [12/dic/2020:15:43:10] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Active clients and dirty files”
I [12/dic/2020:15:43:11] Expiring subscriptions…
D [12/dic/2020:15:43:11] Unloading…
D [12/dic/2020:15:43:16] [Client 2] POST / HTTP/1.1
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Active clients and dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:16] [Client 2] Read: status=200, state=6
D [12/dic/2020:15:43:16] [Client 2] No authentication data provided.
D [12/dic/2020:15:43:16] [Client 2] 2.0 Get-Job-Attributes 70
D [12/dic/2020:15:43:16] Get-Job-Attributes ipp://localhost/jobs/341
D [12/dic/2020:15:43:16] Loading attributes…
D [12/dic/2020:15:43:16] [Client 2] Returning IPP successful-ok for Get-Job-Attributes (ipp://localhost/jobs/341) from localhost.
D [12/dic/2020:15:43:16] [Client 2] Content-Length: 1437
D [12/dic/2020:15:43:16] [Client 2] cupsdSendHeader: code=200, type=“application/ipp”, auth_type=0
I [12/dic/2020:15:43:16] Expiring subscriptions…
D [12/dic/2020:15:43:16] [Client 2] con->http=0x5598b624ee70
D [12/dic/2020:15:43:16] [Client 2] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=1437, response=0x5598b6281620(IPP_STATE_DATA), pipe_pid=0, file=-1
D [12/dic/2020:15:43:16] [Client 2] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [12/dic/2020:15:43:16] [Client 2] bytes=0, http_state=0, data_remaining=1437
D [12/dic/2020:15:43:16] [Client 2] Flushing write buffer.
D [12/dic/2020:15:43:16] [Client 2] New state is HTTP_STATE_WAITING
D [12/dic/2020:15:43:16] [Client 2] Waiting for request.
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Active clients and dirty files”
D [12/dic/2020:15:43:16] [Client 2] POST / HTTP/1.1
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Active clients and dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:16] [Client 2] Read: status=200, state=6
D [12/dic/2020:15:43:16] [Client 2] No authentication data provided.
D [12/dic/2020:15:43:16] [Client 2] 2.0 Get-Job-Attributes 71
D [12/dic/2020:15:43:16] Get-Job-Attributes ipp://localhost/jobs/342
D [12/dic/2020:15:43:16] Loading attributes…
D [12/dic/2020:15:43:16] [Client 2] Returning IPP successful-ok for Get-Job-Attributes (ipp://localhost/jobs/342) from localhost.
D [12/dic/2020:15:43:16] [Client 2] Content-Length: 1437
D [12/dic/2020:15:43:16] [Client 2] cupsdSendHeader: code=200, type=“application/ipp”, auth_type=0
D [12/dic/2020:15:43:16] [Client 2] con->http=0x5598b624ee70
D [12/dic/2020:15:43:16] [Client 2] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=1437, response=0x5598b6242120(IPP_STATE_DATA), pipe_pid=0, file=-1
D [12/dic/2020:15:43:16] [Client 2] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [12/dic/2020:15:43:16] [Client 2] bytes=0, http_state=0, data_remaining=1437
D [12/dic/2020:15:43:16] [Client 2] Flushing write buffer.
D [12/dic/2020:15:43:16] [Client 2] New state is HTTP_STATE_WAITING
D [12/dic/2020:15:43:16] [Client 2] Waiting for request.
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Active clients and dirty files”
D [12/dic/2020:15:43:16] [Client 2] POST / HTTP/1.1
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Active clients and dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:16] [Client 2] Read: status=200, state=6
D [12/dic/2020:15:43:16] [Client 2] No authentication data provided.
D [12/dic/2020:15:43:16] [Client 2] 2.0 Cancel-Subscription 72
D [12/dic/2020:15:43:16] Cancel-Subscription /
D [12/dic/2020:15:43:16] cupsdIsAuthorized: requesting-user-name=“licia”
D [12/dic/2020:15:43:16] cupsdMarkDirty(----S)
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Active clients and dirty files”, busy=“Active clients and dirty files”
D [12/dic/2020:15:43:16] [Client 2] Returning IPP successful-ok for Cancel-Subscription (/) from localhost.
D [12/dic/2020:15:43:16] [Client 2] Content-Length: 75
D [12/dic/2020:15:43:16] [Client 2] cupsdSendHeader: code=200, type=“application/ipp”, auth_type=0
D [12/dic/2020:15:43:16] [Client 2] con->http=0x5598b624ee70
D [12/dic/2020:15:43:16] [Client 2] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=75, response=0x5598b6281620(IPP_STATE_DATA), pipe_pid=0, file=-1
D [12/dic/2020:15:43:16] [Client 2] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [12/dic/2020:15:43:16] [Client 2] bytes=0, http_state=0, data_remaining=75
I [12/dic/2020:15:43:16] REQUEST localhost - - “POST / HTTP/1.1” 200 153 Cancel-Subscription successful-ok
D [12/dic/2020:15:43:16] [Client 2] Flushing write buffer.
D [12/dic/2020:15:43:16] [Client 2] New state is HTTP_STATE_WAITING
D [12/dic/2020:15:43:16] [Client 2] Waiting for request.
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Active clients and dirty files”
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Active clients and dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:16] [Client 37] Server address is “/run/cups/cups.sock”.
D [12/dic/2020:15:43:16] [Client 37] Accepted from localhost (Domain)
D [12/dic/2020:15:43:16] [Client 37] Waiting for request.
D [12/dic/2020:15:43:16] [Client 37] PUT /admin/conf/cupsd.conf HTTP/1.1
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Active clients and dirty files”, busy=“Active clients and dirty files”
D [12/dic/2020:15:43:16] [Client 37] Read: status=200, state=9
D [12/dic/2020:15:43:16] [Client 37] No authentication data provided.
D [12/dic/2020:15:43:16] cupsdIsAuthorized: username=""
I [12/dic/2020:15:43:16] REQUEST localhost - - “PUT /admin/conf/cupsd.conf HTTP/1.1” 401 0 - -
D [12/dic/2020:15:43:16] [Client 37] cupsdSendHeader: code=401, type=“text/html”, auth_type=0
D [12/dic/2020:15:43:16] [Client 37] WWW-Authenticate: Basic realm=“CUPS”, PeerCred, Local trc=“y”
D [12/dic/2020:15:43:16] [Client 37] Closing connection.
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Active clients and dirty files”
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Active clients and dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:16] [Client 38] Server address is “/run/cups/cups.sock”.
D [12/dic/2020:15:43:16] [Client 38] Accepted from localhost (Domain)
D [12/dic/2020:15:43:16] [Client 38] Waiting for request.
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Active clients and dirty files”, busy=“Active clients and dirty files”
D [12/dic/2020:15:43:16] [Client 39] Server address is “/run/cups/cups.sock”.
D [12/dic/2020:15:43:16] [Client 39] Accepted from localhost (Domain)
D [12/dic/2020:15:43:16] [Client 39] Waiting for request.
D [12/dic/2020:15:43:16] [Client 38] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [12/dic/2020:15:43:16] [Client 38] Closing connection.
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Active clients and dirty files”
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Active clients and dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:16] [Client 40] Server address is “/run/cups/cups.sock”.
D [12/dic/2020:15:43:16] [Client 40] Accepted from localhost (Domain)
D [12/dic/2020:15:43:16] [Client 40] Waiting for request.
D [12/dic/2020:15:43:16] [Client 39] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [12/dic/2020:15:43:16] [Client 39] Closing connection.
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Active clients and dirty files”
D [12/dic/2020:15:43:16] [Client 40] PUT /admin/conf/cupsd.conf HTTP/1.1
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Active clients and dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:16] [Client 40] Read: status=200, state=9
D [12/dic/2020:15:43:16] [Client 40] Authorized as root using PeerCred.
D [12/dic/2020:15:43:16] cupsdIsAuthorized: username=“root”
D [12/dic/2020:15:43:16] [Client 40] Read: status=100, state=9
I [12/dic/2020:15:43:16] [Client 40] Installing config file “/etc/cups/cupsd.conf”…
I [12/dic/2020:15:43:16] REQUEST localhost - root “PUT /admin/conf/cupsd.conf HTTP/1.1” 201 4741 - -
D [12/dic/2020:15:43:16] [Client 40] cupsdSendHeader: code=201, type="(null)", auth_type=0
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Active clients and dirty files”
D [12/dic/2020:15:43:16] [Client 1] Closing connection.
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:16] [Client 2] Closing connection.
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:16] [Client 5] Closing connection.
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:16] [Client 16] Closing connection.
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:16] [Client 18] Closing connection.
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:16] [Client 22] Closing connection.
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Dirty files”
D [12/dic/2020:15:43:16] [Client 40] Closing connection.
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Dirty files”
E [12/dic/2020:15:43:16] Scheduler shutting down due to program error.
D [12/dic/2020:15:43:16] cupsdMarkDirty(----S)
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Dirty files”, busy=“Dirty files”
I [12/dic/2020:15:43:16] Expiring subscriptions…
I [12/dic/2020:15:43:16] Saving job.cache…
I [12/dic/2020:15:43:16] Saving subscriptions.conf…
D [12/dic/2020:15:43:16] cupsdSetBusyState: newbusy=“Not busy”, busy=“Dirty files”
D [12/dic/2020:15:43:16] Creating KeepAlive/PID file “/var/cache/cups/org.cups.cupsd”.
I [12/dic/2020:15:43:16] Saving job.cache…
D [12/dic/2020:15:43:16] Unloading…
D [12/dic/2020:15:43:16] Unloading…
D [12/dic/2020:15:43:16] cupsdStopSelect()
E [12/dic/2020:15:43:17] Unknown directive JobPrivateAccess on line 123 of /etc/cups/cupsd.conf.
E [12/dic/2020:15:43:17] Unknown directive JobPrivateValues on line 124 of /etc/cups/cupsd.conf.
E [12/dic/2020:15:43:17] Unknown directive SubscriptionPrivateAccess on line 125 of /etc/cups/cupsd.conf.
E [12/dic/2020:15:43:17] Unknown directive SubscriptionPrivateValues on line 126 of /etc/cups/cupsd.conf.
“”"

Queste sono le linee 123-126

JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default

… ma ci sono degli errori anche a metà

[ma come si fa ad allegare in file di testo al messaggio??]

Il problema si presenta con diversi programmi o lo stai riscontrando solo con un unico programma?
Un problema del genere l’ho avuto anch’io in passato ma si verificava soprattutto quando provavo a stampare qualche documento con Atril (quando ancora utilizzavo Mate).
Anch’io ero costretto a spegnere e riaccendere la stampante, poi per aggirare il problema iniziai ad utilizzare la stampante configurata in rete che, al contrario, non mi dava alcun problema… finché poi, per ripicca, disinstallai Atril e installai qpdfview. Anche in quel caso non avevo problemi a stampare.

Certo però, se il problema si presenta anche con altri programmi, allora potrebbe dipendere da qualcosa che interferisce con lo spooler. Poi si dovrebbe capire cosa.

sarebbe raccomandabile usare fpaste, oppure il Testo preformattato (Ctrl+Maiusc+C)

con qualunque programma
succede anche se faccio due stampe della pagina di prova di seguito

:thinking: so che sembrerà una cosa stupida, ma ad essere sincero avrei fatto un tentativo a sostituire il cavo usb della stampante… giusto per togliermi ogni dubbio.

Potresti provare a disinstallare hplip e provare ad installarlo tramite l’installer ufficiale… anche se alla fine non cambia molto, sui repo di fedora c’è già l’ultima versione di hplip;

piuttosto prova magari a rimuovere la stampante dalle impostazioni di stampa, provando a controllare se viene rilevata correttamente dopo averla rimossa

Ho già provato con hplip ufficiale ma non cambia niente.
Ho già provato a disinstallarla e ricollegarla e la rileva sempre correttamente
Il cavo non l’ho cambiato ma se boostrappo windows invece di Fedora, la stampante si comporta bene.

Prova a dare un’occhiata a questa guida alla risoluzione dei problemi più comuni con HPLIP:
Basic HPLIP Troubleshooting Steps

Potresti trovare risolutivi i passaggi sul paragrafo Printer Not Printing… magari l’ipotesi di impostare SELinux in modalità permissiva, così come consigliato nel paragrafo, potrebbe essere plausibile.

Is SELinux enabled? If so, it should be set to permissive or disabled mode.

Beh, innanzi tutto voglio ringraziarti per la perseverante assistenza!
Purtroppo però anche l’ultimo tentativo è andato buco.
Ho settato direttamente su disabled ma non è cambiato niente.
Mi fa veramente rabbia perchè con le passate versioni di Fedora non avevo avuto nessun problema, non devo piu’ farmi tentare dagli aggiornamenti …sai cosa lasci ma non sai cosa trovi :-((

Ma hai fatto qualche tentativo anche con gli altri suggerimenti presenti sul link che avevo aggiunto?

Basic HPLIP Troubleshooting Steps # Printer Not Printing

I punti di maggior rilievo sono i seguenti:

  • Is the printer installed and detected by HPLIP correctly? Run “hp-check -t” and verify under the “Installed Queues” section that there are no errors, and under “Discovered USB Devices” that your printer is listed.
  • Under the “Installed Queues” section of hp-check if there is a note saying “Required plug-in status:” verify that the plugin says “Installed”. If it is NOT installed the printer will not work. To correct this, delete the printer queue and run “hp-setup” again to configure the printer, or you can try running “hp-plugin” to install the plugin directly.
  • Fedora only: Is SELinux enabled? If so, it should be set to permissive or disabled mode.
  • Is the user part of the lp group? Run “groups” in a terminal window and verifiy the user is a part of the lp group. If not, consult your Linux distro documentation on how to add the user to the lp group. In most distros you can run (as root): “usermod -g lp yourusername”

Magari fai un tentativo ad eseguire hp-check -t e controlla se ci sono messaggi di errore in INSTALLED CUPS PRINTER QUEUES

Non credo che sia particolarmente rilevante, però magari potresti aggiungere il tuo utente al gruppo lp, così come consigliato… anche se, nel mio caso non è così e la stampante non sembra darmi problemi.

Comunque sembra influire, soprattutto perché è un gruppo che gestisce le porte usb stampanti…

USB             Officejet_4630                 Required        -        -        
 OK       Node:'/dev/bus/usb/001/005' Perm:'  root  lp rw- rw- rw- rw- r--'

come si può vedere anche nella sezione PERMISSION di hp-check

Questo è l’output di hp-check -t

… cut …

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

HP_LaserJet_CP_1025
-------------------
Type: Unknown
Device URI: usb://HP/LaserJet%20CP%201025?serial=0W042RRKPR1a
PPD: /etc/cups/ppd/HP_LaserJet_CP_1025.ppd
PPD Description: HP LaserJet cp1025, hpcups 3.20.11, requires proprietary plugin
Printer status: la stampante HP_LaserJet_CP_1025 è inattiva. è stata abilitata da mer 6 gen 2021, 21:31:50
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

--------------
| PERMISSION |
--------------

error: Unsupported model: HP_LaserJet_CP_1025

-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: ‘cups’ package is missing or ‘cups’ service is not running.

Oltre all’errore della diversa release di cups (che però hai detto che hai anche tu nonostante la tua stamante funzioni) ho quello nuovo sotto PERMISSION dove dice che la stampante non è supportata mentre sul loro elenco c’è

Anche qui continua a non vedere la stampante collegata sotto USB

Ho provato anche con il gruppo lp, ma non cambia niente.

E poi teniamo presente che non è che la stampante non stampi, ma solo che vuole essere spenta tra un job e l’altro :scream: :scream: :scream:

Non so proprio piu’ che fare!

In effetti, ho controllato sul sito di HPLIP e la stampante è tra i modelli supportati.

Comunque dopo il primo job la stampante non stampa, è un dato di fatto… anche se quando la spegni e la riaccendi ovviamente torna a stampare.

Tralasciando l’errore sulla versione di CUPS che è del tutto ininfluente (anche perché la versione di CUPS richiesta, la 1.1, è stata rilasciata 15 anni fa), è molto più probabile, secondo me, che la causa possa essere il cavo usb oppure la porta usb dove è collegata la stampante.

Hai mai provato a controllare con il comando lsusb che il sistema riesca a rilevare correttamente la stampante? Riesci a visualizzare tra i vari dispositivi un elemento riportante la dicitura HP, Inc sia prima del primo job, sia successivamente?

Su cavo e porta usb sarei tranquilla perchè quando bootstrappo windows non ho problemi.

PRIMA
$ lsusb
Bus 005 Device 012: ID 03f0:112a HP, Inc
$ hp-config_usb_printer 005:012
error: This is not a valid device

DOPO
$ lsusb
Bus 005 Device 012: ID 03f0:112a HP, Inc

La stampante smette di processare altri job quando è sospesa. Puoi verificare se questo è il caso e se riesci a riabilitarla tra un job e l’altro così da stampare senza doverla spegnere e riaccendere?

Se di questo si tratta, bisognerebbe capire cosa fa sì che CUPS la sospenda. Forse un errore? A me capitava che la stampante venisse sospesa in caso di disconnessione del cavo USB.

La stampante smette di processare altri job quando è sospesa.

non è questo il caso, anche perché i successivi jobs entrano regolarmente in coda di stampa, fanno il rendering e poi scompaiono senza errori. E’ solo se la spengo e lancio il job che questo rimane bloccato nella coda di stampa e ne esce solo quando riaccendo la stampane e la stampa mi va a buon fine.

Hai provato a controllare se vengono riportati errori per i job che “scompaiono” o se ne rimane almeno traccia?

Se apri un browser puoi controllare la lista di tutti i job all’indirizzo http://localhost:631/jobs?which_jobs=all

Comunque hai provato ad eseguire hp-plugin?
Sull’output del comando hp-check -t in PPD Description si legge, oltre al modello e alla versione del plugin hpcups, che

requires proprietary plugin

I job che compaiono in coda di stampa fanno la regolare trafila: rendering, invio dati alla stampante e uscita dalla coda: peccato poi che la stampa non avvenga.

Lanciando hp-diagnose_plugin ricevo:
Device Plugin is already installed

Prova a consultare la pagina della wiki ufficiale per fare un debug degli eventuali problemi, il link è il seguente:

How to debug printing problems

Ci sono diversi paragrafi e capitoli riguardanti anche HPLIP… evito di aggiungere tutti i link, ai vari paragrafi/capitoli specifici, anche perché molti hanno permalink ad altri paragrafi del wiki.

Insomma, è da leggere tutto con attenzione… almeno per provare a capire dove si perdono questi jobs.