[Risolto] Configurazione stampante Canon LBP3010

Salve grandissimi, come va? ogni tanto compaio, anche se ormai diciamo che me la cavo autonomamente con il sistema, sono diventato bravino, solo che ogni tanto ci vuol l’aiuto dei guru del forum, saluto tutti e la mia domanda è la seguente, ho provato a stampare con la stampante in questione, ma non stampa affatto, premetto che ho usato due procedure, la prima installando gli rpm del produttore, impostata come predefinita, fa partire il lavoro ma non stampa, anche se ho pure disabilitato selinux, perché avevo letto in un forum che poteva dar rogne, la seconda senza installare rpm produttore, il sistema la vede la installa, la imposta come predefinita, ma niente da fare, potete consigliarmi qualche idea? grazie in anticipo.

un saluto speciale a Virus

Up up, nessuno che ha qualche idea?..Volevo precisare, che la stampante propone pure la stampa di prova, invia il lavoro, ma rimane in attesa nello “stato stampante”…oggi posterò delle foto, …up up

Sei sicuro che hai disabilitato selinux?
Se lo disabiliti devi riavviare il pc, perché le modifiche siano effettive.

Ci posti l’output del comando:

getenforce

Prima cosa da verificare è se siano necessari driver di terze parti o meno.
https://www.openprinting.org/printer/Canon/Canon-LBP-3010 dice che servono i driver del produttore, quindi bisogna installarlo dal sisto di Canon, dove ho trovato un .tar.gz da ~120 MB contenente un RPM. Immagino tu abbia provato ad installarlo. Poi?

Ciao palir1927, come stai??? Avevo modificato con gedit, comunque oggi nel primo pomeriggio ti posto il risultato, intanto grazie, a più tardi?

Frafra, si ho installato gli rpm, la stampante viene riconosciuta, la installa, o meglio ne installa 2 in automatico, una con porta usb( che poi imposta come predefinita) e una con percorso specifico, tipo CCP/ecc ecc che rimuovo, in preferenze però lo stato della stampante non risulta “pronta” ma bensì in “attesa”, oggi posto il risultato chiesto da palir, tanto per le 4 dovrei farcela, intanto grazie

[OT]
Piccolo OT per disabilitare selinux.
Per prima cosa “disabilitare” selinux è sbagliato, meglio metterlo in modalità permissiva, da root (ovviamente) # setenforce 0 non è nenessario riavviare e con il comando # getenforce potremo controllare di aver reso permissivo (Permissive) selinux, in questa modalità selinux fa tutti i controlli ma non blocca nulla in modo da poterlo configurare. Al primo riavvio selinux tornerà a fare il suo lavoro completamente.
Per ripristinare il comportamento “normale” di selinux basta dare il comando # setenforce 1e con il solito# getenforcepotremo verificare lo stato (Enforcing)
[/OT]

P.S.
Se selinux viene disabilitato modificando il file di configurazione potrebbe succedere che riabilitandolo selinux debba ricostruirsi il suo ambiente e far dirare l’avvio parecchio tempo.

Ragazzi, sono qui, ho ascoltato il consiglio di andrea è ho reso permissivo Selinux, ma la stampa nn si avvia, ho provato, ma niente, lancia il lavoro ma non stampa…

E’ collegata via USB? E’ in attesa o pronta? Non è che è in pausa?

Eccomi, ora ho un po’ di tempo per stare al pc, è collegata via usb, ma come stato dice in attesa…

non riesco ad inviare le immagini, posto cosa mi da il terminale:

lpstat -p

la stampante Canon-LBP3010-LBP3018-LBP3050 sta stampando Canon-LBP3010-LBP3018-LBP3050-29. è stata abilitata da mer 27 gen 2016 18:27:39 CET
Invio dei dati alla stampante.
la stampante LBP3010-LBP3018-LBP3050 è inattiva. è stata abilitata da mer 27 gen 2016 18:27:39 CET
Unable to write print data: Input/output error

vi posto pure questo, non si sa mai servisse…

[root@Miky ~]# lpoptions
copies=1 device-uri=usb://Canon/LBP3010/LBP3018/LBP3050?serial=0000B391PGkh finishings=3 job-cancel-after=10800 job-hold-until=no-hold job-priority=50 job-sheets=none,none marker-change-time=0 number-up=1 printer-commands=AutoConfigure,Clean,PrintSelfTestPage printer-info=‘Canon LBP3010/LBP3018/LBP3050’ printer-is-accepting-jobs=true printer-is-shared=true printer-location=Miky printer-make-and-model=‘Canon LBP3010/LBP3018/LBP3050 CAPT (UK)’ printer-state=4 printer-state-change-time=1453917086 printer-state-reasons=none printer-type=8523908 printer-uri-supported=ipp://localhost/printers/Canon-LBP3010-LBP3018-LBP3050

Qualcuno ha qualche idea???

Ti prego di non scrivere “up up” a distanza di 12 ore o di frammentare le tue risposte in 4 post.
L’output è meglio metterlo tra i tag “code”.

Come dicevo: non è che è in pausa o disabilitata? Nel pannello delle stampanti di Gnome dovresti avere un segno di spunta per abilitare/disabilitare la stampante.
Hai detto però che te ne vengono aggiunte due: è così? Quali sono le differenze?

Ciao, nessuna differenza tranne la porta d’entrata cioè, una usb, una via ccp// ecc ecc

Ed il risultato è lo stesso? Non riesci ad abilitare né una né l’altra? Prova a rimuoverle entrambe, a creare una nuova stampante ed assicurati di selezionare il driver installato dal sito della Canon.

Chiedo scusa a frafra & andreamal per l’intromissione.

Assumendo che il driver sia in “home/tuo_utente/Scaricati”, che abbia la stessa versione di quello reperito da me e che il tuo sistema sia a 64bit, prova i seguenti passaggi (con il cavo usb inserito).

$ cd ~/Scaricati
$ tar -xzvf Linux_CAPT_PrinterDriver_V270_uk_EN.tar.gz 
$ cd Linux_CAPT_PrinterDriver_V270_uk_EN/64-bit_Driver/RPM
$ su
# dnf install ghostscript ./cndrvcups-capt-2.70-1.x86_64.rpm ./cndrvcups-common-3.20-1.x86_64.rpm
# systemctl restart cups
# /usr/sbin/lpadmin -p LBP3010 -P /usr/share/cups/model/CNCUPSLBP3050CAPTK.ppd -v ccp://localhost:59687 -E
# /usr/sbin/ccpdadmin -p LBP3010 -o /dev/usb/lp0

In seguito, prova a stampare. Se funziona, abilitiamo il servizio ad ogni avvio.

Se non funziona, mostraci:

# ll /dev/usb

ho provato a fare pure questo:

[root@Miky ~]# grep udev-configure-printer /var/log/messages
Jan 26 17:26:03 Miky udev-configure-printer: No ID match for device usb://Canon/LBP3010/LBP3018/LBP3050?serial=0000B391PGkh:
Jan 26 17:26:03 Miky udev-configure-printer: MFG:Canon;MDL:LBP3010/LBP3018/LBP3050;CMD:CAPT;DES:Canon LBP3010/LBP3018/LBP3050;
Jan 26 17:26:03 Miky udev-configure-printer: Using lsb/usr/cupsfilters/textonly.ppd (status: 3)
Jan 26 17:26:46 Miky udev-configure-printer: No ID match for device usb://Canon/LBP3010/LBP3018/LBP3050?serial=0000B391PGkh:
Jan 26 17:26:46 Miky udev-configure-printer: MFG:Canon;MDL:LBP3010/LBP3018/LBP3050;CMD:CAPT;DES:Canon LBP3010/LBP3018/LBP3050;
Jan 26 17:26:46 Miky udev-configure-printer: Using lsb/usr/cupsfilters/textonly.ppd (status: 3)
Jan 26 17:26:51 Miky udev-configure-printer: No ID match for device usb://Canon/LBP3010/LBP3018/LBP3050?serial=0000B391PGkh:
Jan 26 17:26:51 Miky udev-configure-printer: MFG:Canon;MDL:LBP3010/LBP3018/LBP3050;CMD:CAPT;DES:Canon LBP3010/LBP3018/LBP3050;
Jan 26 17:26:51 Miky udev-configure-printer: Using lsb/usr/cupsfilters/textonly.ppd (status: 3)
Jan 26 17:27:54 Miky udev-configure-printer: No ID match for device usb://Canon/LBP3010/LBP3018/LBP3050?serial=0000B391PGkh:
Jan 26 17:27:54 Miky udev-configure-printer: MFG:Canon;MDL:LBP3010/LBP3018/LBP3050;CMD:CAPT;DES:Canon LBP3010/LBP3018/LBP3050;
Jan 26 17:27:54 Miky udev-configure-printer: Using lsb/usr/cupsfilters/textonly.ppd (status: 3)
Jan 26 17:49:35 Miky udev-configure-printer: No ID match for device usb://Canon/LBP3010/LBP3018/LBP3050?serial=0000B391PGkh:
Jan 26 17:49:35 Miky udev-configure-printer: MFG:Canon;MDL:LBP3010/LBP3018/LBP3050;CMD:CAPT;DES:Canon LBP3010/LBP3018/LBP3050;
Jan 26 17:49:35 Miky udev-configure-printer: Using CNCUPSLBP3050CAPTK.ppd (status: 0)
Jan 26 17:51:09 Miky udev-configure-printer: Disabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050 as the corresponding device was unplugged or turned off
Jan 26 17:51:15 Miky udev-configure-printer: Re-enabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050
Jan 26 17:56:37 Miky udev-configure-printer: failed to send CUPS-Get-Printers request
Jan 26 17:56:37 Miky systemd-udevd: Process ‘udev-configure-printer remove /devices/pci0000:00/0000:00:1d.1/usb3/3-1’ failed with exit code 1.
Jan 26 18:03:23 Miky udev-configure-printer: Disabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050 as the corresponding device was unplugged or turned off
Jan 26 18:03:35 Miky udev-configure-printer: Re-enabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050
Jan 26 18:03:54 Miky udev-configure-printer: Disabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050 as the corresponding device was unplugged or turned off
Jan 26 18:04:43 Miky udev-configure-printer: Re-enabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050
Jan 26 18:07:18 Miky udev-configure-printer: Disabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050 as the corresponding device was unplugged or turned off
Jan 26 18:16:38 Miky udev-configure-printer: Re-enabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050
Jan 26 18:23:18 Miky udev-configure-printer: Disabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050 as the corresponding device was unplugged or turned off
Jan 26 18:52:45 Miky udev-configure-printer: No ID match for device usb://Canon/LBP3010/LBP3018/LBP3050?serial=0000B391PGkh:
Jan 26 18:52:45 Miky udev-configure-printer: MFG:Canon;MDL:LBP3010/LBP3018/LBP3050;CMD:CAPT;DES:Canon LBP3010/LBP3018/LBP3050;
Jan 26 18:52:45 Miky udev-configure-printer: Using CNCUPSLBP3050CAPTK.ppd (status: 0)
Jan 26 18:55:59 Miky udev-configure-printer: Disabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050 as the corresponding device was unplugged or turned off
Jan 26 19:00:33 Miky udev-configure-printer: Re-enabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050
Jan 26 19:10:30 Miky udev-configure-printer: Disabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050 as the corresponding device was unplugged or turned off
Jan 26 19:10:45 Miky udev-configure-printer: Re-enabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050
Jan 26 19:22:26 Miky udev-configure-printer: Disabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050 as the corresponding device was unplugged or turned off
Jan 26 19:22:40 Miky udev-configure-printer: Re-enabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050
Jan 26 19:29:50 Miky udev-configure-printer: Disabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050 as the corresponding device was unplugged or turned off
Jan 26 19:00:33 Miky udev-configure-printer: Re-enabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050
Jan 26 19:10:30 Miky udev-configure-printer: Disabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050 as the corresponding device was unplugged or turned off
Jan 26 19:10:45 Miky udev-configure-printer: Re-enabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050
Jan 26 19:22:26 Miky udev-configure-printer: Disabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050 as the corresponding device was unplugged or turned off
Jan 26 19:22:40 Miky udev-configure-printer: Re-enabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050
Jan 26 19:29:50 Miky udev-configure-printer: Disabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050 as the corresponding device was unplugged or turned off
Jan 26 19:33:21 Miky udev-configure-printer: Re-enabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050
Jan 26 19:39:29 Miky udev-configure-printer: No ID match for device usb://Canon/LBP3010/LBP3018/LBP3050?serial=0000B391PGkh:
Jan 26 19:39:29 Miky udev-configure-printer: MFG:Canon;MDL:LBP3010/LBP3018/LBP3050;CMD:CAPT;DES:Canon LBP3010/LBP3018/LBP3050;
Jan 26 19:39:29 Miky udev-configure-printer: Using CNCUPSLBP3050CAPTK.ppd (status: 0)
Jan 26 23:40:53 Miky udev-configure-printer: No ID match for device usb://Canon/LBP3010/LBP3018/LBP3050?serial=0000B391PGkh:
Jan 26 23:40:53 Miky udev-configure-printer: MFG:Canon;MDL:LBP3010/LBP3018/LBP3050;CMD:CAPT;DES:Canon LBP3010/LBP3018/LBP3050;
Jan 26 23:40:53 Miky udev-configure-printer: Using CNCUPSLBP3050CAPTK.ppd (status: 0)
Jan 26 23:48:10 Miky udev-configure-printer: Disabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050 as the corresponding device was unplugged or turned off
Jan 26 23:48:20 Miky udev-configure-printer: Re-enabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050
Jan 26 23:54:58 Miky udev-configure-printer: no corresponding CUPS device found
Jan 27 16:08:57 Miky udev-configure-printer: no corresponding CUPS device found
Jan 27 16:18:05 Miky udev-configure-printer: udev_enumerate_scan_devices failed
Jan 27 18:15:09 Miky udev-configure-printer: Disabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050 as the corresponding device was unplugged or turned off
Jan 27 18:15:16 Miky udev-configure-printer: Re-enabled printer ipp://localhost/printers/LBP3010-LBP3018-LBP3050
Jan 27 18:16:36 Miky udev-configure-printer: No ID match for device usb://Canon/LBP3010/LBP3018/LBP3050?serial=0000B391PGkh:
Jan 27 18:16:36 Miky udev-configure-printer: MFG:Canon;MDL:LBP3010/LBP3018/LBP3050;CMD:CAPT;DES:Canon LBP3010/LBP3018/LBP3050;
Jan 27 18:16:36 Miky udev-configure-printer: Using CNCUPSLBP3050CAPTK.ppd (status: 0)

nn c capisco granchè…

allora, io ho il sistema 32 bit,…ho eseguito quello scritto da arkanoid, mi è comparsa una stampante in più denominata, lbp3010, ho comunque provato a stampare, ma niente, ora le rimuovo tutto e riprovo la procedura di arkanoid e vi so dire…

Se è 32bit, la procedura è leggermente diversa…

$ cd ~/Scaricati
$ tar -xzvf Linux_CAPT_PrinterDriver_V270_uk_EN.tar.gz 
$ cd Linux_CAPT_PrinterDriver_V270_uk_EN/32-bit_Driver/RPM
$ su
# dnf install ghostscript ./cndrvcups-capt-2.70-1.i386.rpm ./cndrvcups-common-3.20-1.i386.rpm
# systemctl restart cups
# /usr/sbin/lpadmin -p LBP3010 -P /usr/share/cups/model/CNCUPSLBP3050CAPTK.ppd -v ccp://localhost:59687 -E
# /usr/sbin/ccpdadmin -p LBP3010 -o /dev/usb/lp0
# ll /dev/usb

Mostra qui l’output completo dei comandi che esegui. Come già detto, incolla gli output di terminale utilizzando il tag code

[code]così[/code]

post-edit: chiedo scusa, corretto terzo passaggio…