Até cheguei a passar por este tópico, tentei seguir umas dicas ali, mas sem sucesso, também não tenho muito domínio do sistema.
Estranho que a impressora já aparece diretamente na hora de adicionar, percebi que acontece com outro modelo também.
Eu deveria conseguir acessar o cups via web por http://localhost:631?
Pois não consigo, percebo que meu arquivo /etc/cups/cupsd.conf parece ok:
# Only listen for connections from the local machine.
Port 631
Listen localhost:631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseLocalProtocols dnssd
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Web interface setting...
WebInterface Yes
# Restrict access to the server...
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
O serviço rodando:
cups.service - CUPS Scheduler
Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2019-06-26 21:47:50 -03; 10min ago
Docs: man:cupsd(8)
Main PID: 6862 (cupsd)
Tasks: 7 (limit: 4915)
CGroup: /system.slice/cups.service
├─6862 /usr/sbin/cupsd -l
├─7089 RICOH-Aficio-MP-201 15 vanderlan Test Page 1 job-uuid=urn:uuid:59941ee9-b5a2-3454-
415f-d79c2827d96c job-originating-host-name=localh
├─7090 dnssd://RICOH%20Aficio%20MP%20201%20%5B81F3C6%5D._pdl-
datastream._tcp.local/ 15 vanderlan Test Page 1 job-uuid=urn:uuid:59941ee9-b5a
├─7098 RICOH-Aficio-MP-201 15 vanderlan Test Page 1 job-uuid=urn:uuid:59941ee9-b5a2-3454-
415f-d79c2827d96c job-originating-host-name=localh
└─7099 RICOH-Aficio-MP-201 15 vanderlan Test Page 1 job-uuid=urn:uuid:59941ee9-b5a2-3454-
415f-d79c2827d96c job-originating-host-name=localh
jun 26 21:47:50 VanderlanNote systemd[1]: Started CUPS Scheduler.
Porem não há escuta na porta 631:
Conexões Internet Ativas (sem os servidores)
Proto Recv-Q Send-Q Endereço Local Endereço Remoto Estado PID/Program name
tcp 0 0 127.0.0.1:17060 0.0.0.0:* OUÇA 17185/code
tcp 0 0 0.0.0.0:139 0.0.0.0:* OUÇA -
tcp 0 0 0.0.0.0:50355 0.0.0.0:* OUÇA 13056/spotify
tcp 0 0 0.0.0.0:57621 0.0.0.0:* OUÇA 13056/spotify
tcp 0 0 0.0.0.0:445 0.0.0.0:* OUÇA -
tcp6 0 0 :::139 :::* OUÇA -
tcp6 0 0 :::40721 :::* OUÇA 17185/code
tcp6 0 0 :::445 :::* OUÇA -
udp 0 0 0.0.0.0:46934 0.0.0.0:* 13056/spotify
udp 120320 0 0.0.0.0:1900 0.0.0.0:* 13056/spotify
udp 10752 0 0.0.0.0:68 0.0.0.0:* -
udp 24576 0 192.168.0.255:137 0.0.0.0:* -
udp 0 0 192.168.0.101:137 0.0.0.0:* -
udp 302208 0 0.0.0.0:137 0.0.0.0:* -
udp 72960 0 192.168.0.255:138 0.0.0.0:* -
udp 0 0 192.168.0.101:138 0.0.0.0:* -
udp 303616 0 0.0.0.0:138 0.0.0.0:* -
udp 446976 0 0.0.0.0:57621 0.0.0.0:* 13056/spotify
udp 0 0 0.0.0.0:33949 0.0.0.0:* -
udp 272896 0 224.0.0.251:5353 0.0.0.0:* 7953/chrome --type=
udp 274432 0 224.0.0.251:5353 0.0.0.0:* 7894/chrome
udp 253184 0 0.0.0.0:5353 0.0.0.0:* -
udp6 0 0 :::51883 :::* -
udp6 282240 0 :::56300 :::* 5988/Preload.js --b
udp6 57600 0 :::5353 :::* -
Não sei se precisaria de outro pacote para interface web e o fato de não ter o serviço escutando nessa porta como sugere o arquivo de configuração, possa causar o problema, no log do cups tenho o seguinte:
localhost - - [26/Jun/2019:22:11:34 -0300] "POST /printers/RICOH-Aficio-MP-201 HTTP/1.1" 200 240 Print-Job client-error-bad-request
localhost - - [26/Jun/2019:22:11:37 -0300] "POST /printers/RICOH-Aficio-MP-201 HTTP/1.1" 200 425 Print-Job successful-ok
Ao clicar em teste de impressão, e ao clicar em imprimir pagina teste, porém a pagina teste fica na fila… com mensagem “pendente desconectada?”