[cups] l'imprimante ne répond pas (résolu)

Reconnaissance et configuration du matériel / kernel linux
Répondre
draffin
archer de cavalerie
Messages : 164
Inscription : mar. 17 juil. 2012, 09:11

[cups] l'imprimante ne répond pas (résolu)

Message par draffin »

Bonjour,

Je tente désespérément d'installer l'imprimante Canon MF8200C. Cupsd est bien lancé et l'interface localhost:631 me permet de l'installer de plein de manières différentes (soit en réseau, soit en USB). Comme j'ai cru que mes échecs venaient du pilote déjà présent sur mon PC (sans doute via gutenprint), à savoir "Canon MF8200C Series CARPS2 ver.3.0 (color)", j'en ai installé un autre (via AUR) : "Canon MF8200C Series UFRII LT ver.3.0 (color)". Bref, ça m'a fait pas mal de combinaisons à tester. Mais aucune ne fonctionne.

Ce qu'il y a de commun, quelle que soit la méthode, c'est ce message d'erreur qui envahit le fichier "/var/log/cups/error_log" :

Code : Tout sélectionner

W [30/Dec/2015:15:52:02 +0100] CreateProfile failed: org.freedesktop.DBus.Error.NoReply:Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
W [30/Dec/2015:15:52:07 +0100] CreateDevice failed: org.freedesktop.DBus.Error.NoReply:Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
W [30/Dec/2015:15:53:23 +0100] CreateProfile failed: org.freedesktop.DBus.Error.NoReply:Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
W [30/Dec/2015:15:53:28 +0100] CreateProfile failed: org.freedesktop.DBus.Error.NoReply:Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
W [30/Dec/2015:15:53:33 +0100] CreateDevice failed: org.freedesktop.DBus.Error.NoReply:Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Journalctl renvoie :

Code : Tout sélectionner

# journalctl -r
-- Logs begin at mar. 2015-12-29 10:23:07 CET, end at mer. 2015-12-30 15:53:38 CET. --
déc. 30 15:53:38 orque dbus[228]: [system] Failed to activate service 'org.freedesktop.ColorManager': timed out
déc. 30 15:53:13 orque systemd[1]: Started Manage, Install and Generate Color Profiles.
déc. 30 15:53:13 orque systemd[1]: Starting Manage, Install and Generate Color Profiles...
déc. 30 15:53:13 orque dbus[228]: [system] Activating via systemd: service name='org.freedesktop.ColorManager' unit='colord.service'
déc. 30 15:52:30 orque kernel: usblp 5-3:1.2: usblp1: USB Bidirectional printer dev 3 if 2 alt 0 proto 2 vid 0x04A9 pid 0x2779
déc. 30 15:52:30 orque kernel: usblp1: removed
déc. 30 15:52:30 orque kernel: usblp 5-3:1.1: usblp0: USB Bidirectional printer dev 3 if 1 alt 0 proto 2 vid 0x04A9 pid 0x2779
déc. 30 15:52:30 orque kernel: usblp0: removed
déc. 30 15:52:12 orque dbus[228]: [system] Failed to activate service 'org.freedesktop.ColorManager': timed out
déc. 30 15:51:47 orque systemd[1]: Started Manage, Install and Generate Color Profiles.
déc. 30 15:51:47 orque systemd[1]: Starting Manage, Install and Generate Color Profiles...
déc. 30 15:51:47 orque dbus[228]: [system] Activating via systemd: service name='org.freedesktop.ColorManager' unit='colord.service'
déc. 30 15:51:16 orque kernel: usblp 5-3:1.2: usblp1: USB Bidirectional printer dev 3 if 2 alt 0 proto 2 vid 0x04A9 pid 0x2779
déc. 30 15:51:16 orque kernel: usblp1: removed
déc. 30 15:51:16 orque kernel: usblp 5-3:1.1: usblp0: USB Bidirectional printer dev 3 if 1 alt 0 proto 2 vid 0x04A9 pid 0x2779
déc. 30 15:51:16 orque kernel: usblp0: removed
déc. 30 15:48:32 orque kernel: usblp 5-3:1.2: usblp1: USB Bidirectional printer dev 3 if 2 alt 0 proto 2 vid 0x04A9 pid 0x2779
déc. 30 15:48:32 orque kernel: usblp1: removed
déc. 30 15:48:32 orque kernel: usblp 5-3:1.1: usblp0: USB Bidirectional printer dev 3 if 1 alt 0 proto 2 vid 0x04A9 pid 0x2779
déc. 30 15:48:32 orque kernel: usblp0: removed
déc. 30 15:44:49 orque systemd[1]: Started Cleanup of Temporary Directories.
déc. 30 15:44:49 orque systemd[1]: Starting Cleanup of Temporary Directories...
Où on constate que le service org.freedektop.ColorManager ne se lance pas.

Qu'en pensez-vous ?

Merci d'avance

Denis
Dernière modification par draffin le sam. 09 janv. 2016, 23:08, modifié 1 fois.
draffin
archer de cavalerie
Messages : 164
Inscription : mar. 17 juil. 2012, 09:11

Re: [cups] l'imprimante ne répond pas

Message par draffin »

J'ai fait des essais avec un autre PC (sous arch aussi), j'arrive à imprimer en utilisant la connexion réseau quel que soit le pilote.

Bref, j'ai vraiment besoin d'aide !
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17618
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [cups] l'imprimante ne répond pas

Message par benjarobin »

Bonjour, un sujet similaire : viewtopic.php?t=15555
Ce que tu devrait faire c'est nous donner la sortie (via pastebin ou similaire) des commandes suivantes en root :

Code : Tout sélectionner

journalctl -b --no-pager
systemctl --all --failed
pacman -Qkkq
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
draffin
archer de cavalerie
Messages : 164
Inscription : mar. 17 juil. 2012, 09:11

Re: [cups] l'imprimante ne répond pas

Message par draffin »

J'ai tenté d'installer l'imprimante et de lui faire imprimer une page de test, puis j'ai lancé tes trois commandes :

Code : Tout sélectionner

# journalctl -b --no-pager
Réponse ici : https://ptpb.pw/lPcD

Code : Tout sélectionner

# systemctl --all --failed
Réponse ici : https://ptpb.pw/0GpW

Code : Tout sélectionner

# pacman -Qkkq
Réponse ici : http://pastebin.archlinux.fr/1888047
Je ne sais pas ce que demande cette commande mais colord et cups sortent en premier !

Concernant le lien mentionné, je l'avais déjà consulté mais ce qu'il propose (désinstalller et réinstaller colord) n'a pas fonctionné...
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17618
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [cups] l'imprimante ne répond pas

Message par benjarobin »

Alors tu vas déjà essayer ceci :

Code : Tout sélectionner

rm -rf /var/lib/colord
systemctl disable httpd.service # Ta configuration est invalide
pacman -S colord cups device-mapper libusbmuxd libx264 lua52 lua52-expat lua52-socket texlive-core tree
reboot
Peux tu donner la sortie (ensuite) de :

Code : Tout sélectionner

ls -ld /etc/cups
tree /etc/systemd/system
find /etc/systemd/system -xtype l
pacman -Qkkq
Sinon à part le plantage de Samba que je ne comprend pas, il n'y a aucune erreur dans les logs qui me semble étrange
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
draffin
archer de cavalerie
Messages : 164
Inscription : mar. 17 juil. 2012, 09:11

Re: [cups] l'imprimante ne répond pas

Message par draffin »

Après reboot, l'ordinateur n'imprime toujours pas... Snif !

Code : Tout sélectionner

# ls -ld /etc/cups
drwxr-xr-x 5 root lp 4096  8 janv. 23:42 /etc/cups

Code : Tout sélectionner

# tree /etc/systemd/system
/etc/systemd/system
├── dbus-org.freedesktop.Avahi.service -> /usr/lib/systemd/system/avahi-daemon.service
├── display-manager.service -> /usr/lib/systemd/system/lightdm.service
├── getty.target.wants
│   └── getty@tty1.service -> /usr/lib/systemd/system/getty@.service
├── multi-user.target.wants
│   ├── avahi-daemon.service -> /usr/lib/systemd/system/avahi-daemon.service
│   ├── cups.path -> /usr/lib/systemd/system/cups.path
│   ├── dhcpcd@eth0.service -> /usr/lib/systemd/system/dhcpcd@.service
│   ├── mysqld.service -> /usr/lib/systemd/system/mysqld.service
│   ├── nmbd.service -> /usr/lib/systemd/system/nmbd.service
│   ├── org.cups.cupsd.path -> /usr/lib/systemd/system/org.cups.cupsd.path
│   ├── remote-fs.target -> /usr/lib/systemd/system/remote-fs.target
│   └── smbd.service -> /usr/lib/systemd/system/smbd.service
├── printer.target.wants
│   ├── cups.service -> /usr/lib/systemd/system/cups.service
│   └── org.cups.cupsd.service -> /usr/lib/systemd/system/org.cups.cupsd.service
└── sockets.target.wants
    ├── avahi-daemon.socket -> /usr/lib/systemd/system/avahi-daemon.socket
    ├── cups.socket -> /usr/lib/systemd/system/cups.socket
    └── org.cups.cupsd.socket -> /usr/lib/systemd/system/org.cups.cupsd.socket

4 directories, 16 files

Code : Tout sélectionner

# find /etc/systemd/system -xtype l
/etc/systemd/system/multi-user.target.wants/cups.path
/etc/systemd/system/multi-user.target.wants/mysqld.service
/etc/systemd/system/printer.target.wants/cups.service
/etc/systemd/system/sockets.target.wants/cups.socket

Code : Tout sélectionner

# pacman -Qkkq
cups /etc/cups/classes.conf
cups /etc/cups/printers.conf
cups /etc/cups/subscriptions.conf
filesystem /etc/gshadow
filesystem /etc/mtab
filesystem /srv/http
grub /boot/grub/grub.cfg
gutenprint /etc/cups
linux /usr/lib/modules/4.2.5-1-ARCH/modules.alias
linux /usr/lib/modules/4.2.5-1-ARCH/modules.alias.bin
linux /usr/lib/modules/4.2.5-1-ARCH/modules.builtin.bin
linux /usr/lib/modules/4.2.5-1-ARCH/modules.dep
linux /usr/lib/modules/4.2.5-1-ARCH/modules.dep.bin
linux /usr/lib/modules/4.2.5-1-ARCH/modules.devname
linux /usr/lib/modules/4.2.5-1-ARCH/modules.softdep
linux /usr/lib/modules/4.2.5-1-ARCH/modules.symbols
linux /usr/lib/modules/4.2.5-1-ARCH/modules.symbols.bin
texlive-core /etc/texmf/web2c/updmap.cfg
vlc /usr/lib/vlc/plugins/plugins.dat
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17618
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [cups] l'imprimante ne répond pas

Message par benjarobin »

Supprime ces fichiers et ton système sera déjà plus propre (tout le reste est normale sauf le plantage des services de Samba)

Code : Tout sélectionner

rm /etc/systemd/system/multi-user.target.wants/cups.path
rm /etc/systemd/system/multi-user.target.wants/mysqld.service
rm /etc/systemd/system/printer.target.wants/cups.service
rm /etc/systemd/system/sockets.target.wants/cups.socket
Maintenant on va enfin pouvoir chercher pourquoi cela ne fonctionne pas...
Quelles sont les nouvelles lignes affichées dans /var/log/cups/error_log quand tu tente d'imprimer ?
As tu le même fichier .ppd (/etc/cups/ppd) que ton autre machine : donne le contenu de ce fichier pour tes 2 PC
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
draffin
archer de cavalerie
Messages : 164
Inscription : mar. 17 juil. 2012, 09:11

Re: [cups] l'imprimante ne répond pas

Message par draffin »

J'ai supprimé les fichiers demandés et j'ai rebooté.

Voilà les nouvelles lignes qui apparaissent dans /var/log/cups/error_log lors des étapes suivantes :
1) Réinstallation de l'imprimante (dans l'interface web de cups) :

Code : Tout sélectionner

W [09/Jan/2016:10:45:36 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Canon_MF8200C_Series-Gray..\' already exists
W [09/Jan/2016:10:45:36 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Canon_MF8200C_Series-RGB..\' already exists
2) Impression avec libreoffice :
Rien ! Aucun message d'erreur !!!
3) Impression d'une page de test via l'interface web de cups :

Code : Tout sélectionner

E [09/Jan/2016:10:50:48 +0100] [Job 696] Can\'t copy stdin to temporary file
E [09/Jan/2016:10:50:49 +0100] [Job 696] Job stopped due to filter errors; please consult the error_log file for details.
D [09/Jan/2016:10:50:49 +0100] [Job 696] The following messages were recorded from 10:50:48 to 10:50:49
D [09/Jan/2016:10:50:49 +0100] [Job 696] Adding start banner page "none".
D [09/Jan/2016:10:50:49 +0100] [Job 696] Adding end banner page "none".
D [09/Jan/2016:10:50:49 +0100] [Job 696] File of type application/vnd.cups-pdf-banner queued by "root".
D [09/Jan/2016:10:50:49 +0100] [Job 696] hold_until=0
D [09/Jan/2016:10:50:49 +0100] [Job 696] Queued on "Canon_MF8200C_Series" by "root".
D [09/Jan/2016:10:50:49 +0100] [Job 696] time-at-processing=1452333048
D [09/Jan/2016:10:50:49 +0100] [Job 696] 4 filters for job:
D [09/Jan/2016:10:50:49 +0100] [Job 696] bannertopdf (application/vnd.cups-pdf-banner to application/pdf, cost 32)
D [09/Jan/2016:10:50:49 +0100] [Job 696] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [09/Jan/2016:10:50:49 +0100] [Job 696] pdftops (application/vnd.cups-pdf to application/vnd.cups-postscript, cost 100)
D [09/Jan/2016:10:50:49 +0100] [Job 696] pstoufr2cpca (application/vnd.cups-postscript to printer/Canon_MF8200C_Series, cost 0)
D [09/Jan/2016:10:50:49 +0100] [Job 696] job-sheets=none,none
D [09/Jan/2016:10:50:49 +0100] [Job 696] argv[0]="Canon_MF8200C_Series"
D [09/Jan/2016:10:50:49 +0100] [Job 696] argv[1]="696"
D [09/Jan/2016:10:50:49 +0100] [Job 696] argv[2]="root"
D [09/Jan/2016:10:50:49 +0100] [Job 696] argv[3]="Test Page"
D [09/Jan/2016:10:50:49 +0100] [Job 696] argv[4]="1"
D [09/Jan/2016:10:50:49 +0100] [Job 696] argv[5]="job-uuid=urn:uuid:141d6fed-1a13-3407-477a-42cbfb81d069 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1452333048 time-at-processing=1452333048"
D [09/Jan/2016:10:50:49 +0100] [Job 696] argv[6]="/var/spool/cups/d00696-001"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[7]="CUPS_STATEDIR=/run/cups"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[8]="HOME=/var/spool/cups/tmp"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[10]="SERVER_ADMIN=root@orque"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[11]="SOFTWARE=CUPS/2.1.2"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[13]="USER=root"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[14]="CUPS_MAX_MESSAGE=2047"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[17]="IPP_PORT=631"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[18]="CHARSET=utf-8"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[19]="LANG=fr.UTF-8"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[20]="PPD=/etc/cups/ppd/Canon_MF8200C_Series.ppd"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[21]="RIP_MAX_CACHE=128m"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[22]="CONTENT_TYPE=application/vnd.cups-pdf-banner"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[23]="DEVICE_URI=socket://192.168.0.11"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[24]="PRINTER_INFO=Canon MF8200C Series"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[25]="PRINTER_LOCATION="
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[26]="PRINTER=Canon_MF8200C_Series"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[27]="PRINTER_STATE_REASONS=toner-low-report"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[28]="CUPS_FILETYPE=document"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
D [09/Jan/2016:10:50:49 +0100] [Job 696] envp[30]="AUTH_I****"
D [09/Jan/2016:10:50:49 +0100] [Job 696] Started filter /usr/lib/cups/filter/bannertopdf (PID 987)
D [09/Jan/2016:10:50:49 +0100] [Job 696] Started filter /usr/lib/cups/filter/pdftopdf (PID 988)
D [09/Jan/2016:10:50:49 +0100] [Job 696] Started filter /usr/lib/cups/filter/pdftops (PID 989)
D [09/Jan/2016:10:50:49 +0100] [Job 696] Started filter /usr/lib/cups/filter/pstoufr2cpca (PID 990)
D [09/Jan/2016:10:50:49 +0100] [Job 696] Started backend /usr/lib/cups/backend/socket (PID 991)
D [09/Jan/2016:10:50:49 +0100] [Job 696] pdftops - copying to temp print file \"/var/spool/cups/tmp/003dd569a6d65\"
D [09/Jan/2016:10:50:49 +0100] [Job 696] PDF template file doesn\'t have form. It\'s okay.
D [09/Jan/2016:10:50:49 +0100] [Job 696] pstoufr2cpca start.
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: +connecting-to-device
D [09/Jan/2016:10:50:49 +0100] [Job 696] Looking up \"192.168.0.11\"...
D [09/Jan/2016:10:50:49 +0100] [Job 696] PID 987 (/usr/lib/cups/filter/bannertopdf) exited with no errors.
D [09/Jan/2016:10:50:49 +0100] [Job 696] hrDeviceDesc=\"Canon MF8200C Series\"
D [09/Jan/2016:10:50:49 +0100] [Job 696] Set job-printer-state-message to "Can\'t copy stdin to temporary file", current level=ERROR
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtGeneralCurrentLocalization=1
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtLocalizationCharacterSet=106
D [09/Jan/2016:10:50:49 +0100] [Job 696] Printer make and model: Canon mf8200c series
D [09/Jan/2016:10:50:49 +0100] [Job 696] Running command line for pstops: pstops 696 root \'Test Page\' 1 \'job-uuid=urn:uuid:141d6fed-1a13-3407-477a-42cbfb81d069 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1452333048 time-at-processing=1452333048\'
D [09/Jan/2016:10:50:49 +0100] [Job 696] Using image rendering resolution 600 dpi
D [09/Jan/2016:10:50:49 +0100] [Job 696] PID 988 (/usr/lib/cups/filter/pdftopdf) stopped with status 1.
D [09/Jan/2016:10:50:49 +0100] [Job 696] Hint: Try setting the LogLevel to "debug" to find out more.
D [09/Jan/2016:10:50:49 +0100] [Job 696] Running command line for gs: gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=ps2write -sOUTPUTFILE=%stdout -dLanguageLevel=3 -r600 -dCompressFonts=false -dNoT3CCITT -dNOINTERPOLATE -c \'save pop\' -f /var/spool/cups/tmp/003dd569a6d65
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesColorantIndex.1.1 = 1
D [09/Jan/2016:10:50:49 +0100] [Job 696] Started filter gs (PID 992)
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesColorantIndex.1.2 = 2
D [09/Jan/2016:10:50:49 +0100] [Job 696] Started filter pstops (PID 993)
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesColorantIndex.1.3 = 3
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesColorantIndex.1.4 = 4
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesClass.1.1 = 3
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesClass.1.2 = 3
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesClass.1.3 = 3
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesClass.1.4 = 3
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesType.1.1 = 3
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesType.1.2 = 3
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesType.1.3 = 3
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesType.1.4 = 3
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesDescription.1.1 = \"Canon CRG731 Black Toner\"
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesDescription.1.2 = \"Canon CRG731 Cyan Toner\"
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesDescription.1.3 = \"Canon CRG731 Magenta Toner\"
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesDescription.1.4 = \"Canon CRG731 Yellow Toner\"
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesSupplyUnit.1.1 = 19
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesSupplyUnit.1.2 = 19
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesSupplyUnit.1.3 = 19
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesSupplyUnit.1.4 = 19
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesMaxCapacity.1.1 = 100
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesMaxCapacity.1.2 = 100
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesMaxCapacity.1.3 = 100
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesMaxCapacity.1.4 = 100
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesLevel.1.1 = 5
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesLevel.1.2 = 97
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesLevel.1.3 = 25
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesLevel.1.4 = 15
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerColorantValue.1.1 = \"black\"
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerColorantValue.1.2 = \"cyan\"
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerColorantValue.1.3 = \"magenta\"
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerColorantValue.1.4 = \"yellow\"
D [09/Jan/2016:10:50:49 +0100] [Job 696] ATTR: marker-colors=#000000,#00FFFF,#FF00FF,#FFFF00
D [09/Jan/2016:10:50:49 +0100] [Job 696] ATTR: marker-names=\'\"Canon CRG731 Black Toner\"\',\'\"Canon CRG731 Cyan Toner\"\',\'\"Canon CRG731 Magenta Toner\"\',\'\"Canon CRG731 Yellow Toner\"\'
D [09/Jan/2016:10:50:49 +0100] [Job 696] ATTR: marker-types=toner,toner,toner,toner
D [09/Jan/2016:10:50:49 +0100] [Job 696] ATTR: marker-levels=5,97,25,15
D [09/Jan/2016:10:50:49 +0100] [Job 696] new_supply_state=40, change_state=ffff
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -developer-low-report
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -developer-empty-warning
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -marker-supply-low-report
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -marker-supply-empty-warning
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -opc-near-eol-report
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -opc-life-over-warning
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: +toner-low-report
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -toner-empty-warning
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -waste-receptacle-almost-full-report
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -waste-receptacle-full-warning
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -cleaner-life-almost-over-report
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -cleaner-life-over-warning
D [09/Jan/2016:10:50:49 +0100] [Job 696] new_state=0, change_state=ffff
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -media-empty-warning
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -door-open-report
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -media-jam-warning
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -input-tray-missing-warning
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -output-tray-missing-warning
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -marker-supply-missing-warning
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -output-area-almost-full-report
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -output-area-full-warning
D [09/Jan/2016:10:50:49 +0100] [Job 696] backendWaitLoop(snmp_fd=7, addr=0x8128717c, side_cb=0x80095580)
D [09/Jan/2016:10:50:49 +0100] [Job 696] Page = 612x792; 14,14 to 598,778
D [09/Jan/2016:10:50:49 +0100] [Job 696] slow_collate=0, slow_duplex=0, slow_order=0
D [09/Jan/2016:10:50:49 +0100] [Job 696] Before copy_comments - %!PS-Adobe-3.0
D [09/Jan/2016:10:50:49 +0100] [Job 696] %!PS-Adobe-3.0
D [09/Jan/2016:10:50:49 +0100] [Job 696] %%BoundingBox: 0 0 612 792
D [09/Jan/2016:10:50:49 +0100] [Job 696] %%HiResBoundingBox: 0 0 612.00 792.00
D [09/Jan/2016:10:50:49 +0100] [Job 696] %%Creator: GPL Ghostscript 918 (ps2write)
D [09/Jan/2016:10:50:49 +0100] [Job 696] %%LanguageLevel: 2
D [09/Jan/2016:10:50:49 +0100] [Job 696] %%CreationDate: D:20160109105048+01\'00\'
D [09/Jan/2016:10:50:49 +0100] [Job 696] %%Pages: 1
D [09/Jan/2016:10:50:49 +0100] [Job 696] %%EndComments
D [09/Jan/2016:10:50:49 +0100] [Job 696] Before copy_prolog - %%BeginProlog
D [09/Jan/2016:10:50:49 +0100] [Job 696] GPL Ghostscript DEBUG: Before copy_setup - %%Page: 1 1
D [09/Jan/2016:10:50:49 +0100] [Job 696] Before page loop - %%Page: 1 1
D [09/Jan/2016:10:50:49 +0100] [Job 696] Copying page 1...
D [09/Jan/2016:10:50:49 +0100] [Job 696] pagew = 583.7, pagel = 763.7
D [09/Jan/2016:10:50:49 +0100] [Job 696] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
D [09/Jan/2016:10:50:49 +0100] [Job 696] PageLeft = 14.2, PageRight = 597.8
D [09/Jan/2016:10:50:49 +0100] [Job 696] PageTop = 777.8, PageBottom = 14.2
D [09/Jan/2016:10:50:49 +0100] [Job 696] PageWidth = 612.0, PageLength = 792.0
D [09/Jan/2016:10:50:49 +0100] [Job 696] Wrote 1 pages...
D [09/Jan/2016:10:50:49 +0100] [Job 696] 9.18: ERROR -12 closing ps2write device. See gs/psi/ierrors.h for code explanation.
D [09/Jan/2016:10:50:49 +0100] [Job 696] PID 993 (pstops) exited with no errors.
D [09/Jan/2016:10:50:49 +0100] [Job 696] PID 992 (gs) exited with no errors.
D [09/Jan/2016:10:50:49 +0100] [Job 696] PID 989 (/usr/lib/cups/filter/pdftops) exited with no errors.
D [09/Jan/2016:10:50:49 +0100] [Job 696] opvpOpenPrinter(410)
D [09/Jan/2016:10:50:49 +0100] [Job 696] CStubOpenPrinter(349)
D [09/Jan/2016:10:50:49 +0100] [Job 696] Error Response:ReqNo=0, SeqNo=1,opvpErrorNo=-1
D [09/Jan/2016:10:50:49 +0100] [Job 696] Connecting to 192.168.0.11:9100
D [09/Jan/2016:10:50:49 +0100] [Job 696] Connecting to printer.
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: -connecting-to-device
D [09/Jan/2016:10:50:49 +0100] [Job 696] Connected to printer.
D [09/Jan/2016:10:50:49 +0100] [Job 696] Connected to 192.168.0.11:9100...
D [09/Jan/2016:10:50:49 +0100] [Job 696] backendRunLoop(print_fd=0, device_fd=8, snmp_fd=7, addr=0x8128717c, use_bc=1, side_cb=0x80095580)
D [09/Jan/2016:10:50:49 +0100] [Job 696] STATE: +cups-waiting-for-job-completed
D [09/Jan/2016:10:50:49 +0100] [Job 696] Waiting for printer to finish.
D [09/Jan/2016:10:50:49 +0100] [Job 696] PID 990 (/usr/lib/cups/filter/pstoufr2cpca) did not catch or ignore signal 13.
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesLevel.1.1 = 5
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesLevel.1.2 = 97
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesLevel.1.3 = 25
D [09/Jan/2016:10:50:49 +0100] [Job 696] prtMarkerSuppliesLevel.1.4 = 15
D [09/Jan/2016:10:50:49 +0100] [Job 696] ATTR: marker-levels=5,97,25,15
D [09/Jan/2016:10:50:49 +0100] [Job 696] new_supply_state=40, change_state=0
D [09/Jan/2016:10:50:49 +0100] [Job 696] new_state=0, change_state=0
D [09/Jan/2016:10:50:49 +0100] [Job 696] PID 991 (/usr/lib/cups/backend/socket) exited with no errors.
D [09/Jan/2016:10:50:49 +0100] [Job 696] End of messages
D [09/Jan/2016:10:50:49 +0100] [Job 696] printer-state=3(idle)
D [09/Jan/2016:10:50:49 +0100] [Job 696] printer-state-message="Waiting for printer to finish."
D [09/Jan/2016:10:50:49 +0100] [Job 696] printer-state-reasons=toner-low-report
Le fichier /etc/cups/ppd/Canon_MF8200C_Series.ppd de l'ordinateur qui n'imprime pas : https://ptpb.pw/YLf6
draffin
archer de cavalerie
Messages : 164
Inscription : mar. 17 juil. 2012, 09:11

Re: [cups] l'imprimante ne répond pas

Message par draffin »

Et le même fichier sur l'ordinateur qui imprime : https://ptpb.pw/HBDg
eggregor
yeomen
Messages : 217
Inscription : ven. 25 févr. 2011, 11:52

Re: [cups] l'imprimante ne répond pas

Message par eggregor »

Salut,
J'ai eu un souci similaire avec mes imprimantes, il me manquait simplement le paquet "ghostcript".
Mais ça ne veut pas dire que ton cas est tout à fait le même ?
J'avais aussi appliqué les conseils du WIKI à ce sujet :
"L'imprimante n'est pas reconnue dans imprimantes locales"
Dernière modification par benjarobin le sam. 09 janv. 2016, 17:41, modifié 1 fois.
Raison : On va dire que je n'ai rien vu (pour la remarque supprimée)
Avatar de l’utilisateur
waitnsea
Maître du Kyudo
Messages : 2114
Inscription : jeu. 15 mars 2012, 05:08

Re: [cups] l'imprimante ne répond pas

Message par waitnsea »

@eggregor,
Remarque supprimée - stop polémique
Dernière modification par waitnsea le sam. 09 janv. 2016, 17:46, modifié 1 fois.
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17618
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [cups] l'imprimante ne répond pas

Message par benjarobin »

@eggregor Tu as surement raison en plus. Et non tu ne m'as pas vexé du tout, mais apparemment tu ne comprends toujours pas ce que c'est un forum car là tu t’enfonce en faisant ce genre de remarque, remarque que j'ai supprimé, cela ne sert à rien de polémiquer, ce n'est pas le sujet ici...

Bref, il ne reste plus qu'a comparer la liste des paquets sur les 2 PC :

Code : Tout sélectionner

pacman -Qnq
pacman -Qmq
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
draffin
archer de cavalerie
Messages : 164
Inscription : mar. 17 juil. 2012, 09:11

Re: [cups] l'imprimante ne répond pas

Message par draffin »

J'étais absent cette après-midi, du coup je n'ai pas assisté à la polémique. Du coup, je fais comme si elle n'avait pas eu lieu. :mrgreen:
@eggregor : le paquet ghostscript est bien installé, donc c'est un autre problème. Merci quand même pour la tentative !

Comparaison des paquets installés sur les deux PC :
On commence par celui qui n'imprime pas :
pacman -Qnq -> https://ptpb.pw/WvsV
pacman -Qmq -> https://ptpb.pw/Oaic
draffin
archer de cavalerie
Messages : 164
Inscription : mar. 17 juil. 2012, 09:11

Re: [cups] l'imprimante ne répond pas

Message par draffin »

Et sur celui qui imprime :
pacman -Qnq -> https://ptpb.pw/KE0I
pacman -Qmq -> https://ptpb.pw/2Mkw
draffin
archer de cavalerie
Messages : 164
Inscription : mar. 17 juil. 2012, 09:11

Re: [cups] l'imprimante ne répond pas

Message par draffin »

J'ai fait un gros ménage sur le PC qui n'imprime pas et la liste des paquets "non-natifs" se réduit désormais à ça :

Code : Tout sélectionner

# pacman -Qmq
automake-1.12
cloog
cndrvcups-common-lb
cndrvcups-lb
dropbox
isl
ttf-ms-fonts
Mais ça n'imprime toujours pas...
draffin
archer de cavalerie
Messages : 164
Inscription : mar. 17 juil. 2012, 09:11

Re: [cups] l'imprimante ne répond pas

Message par draffin »

ENFIN !!! J'arrive à imprimer !!!! Je me suis souvenu que j'avais eu un message d'erreur lors de la compilation du paquet "cndrvcups-common-lb" à partir de AUR (avec yaourt). Un truc idiot du genre "le lien symbolique ne peut pas être créé car le fichier existe", problème réglé en éditant le PKGBUILD du paquet.
Sauf que cette erreur n'a pas eu lieu sur mon autre PC (celui qui a fonctionné du premier coup). Du coup, je me suis dit "et si ça venait tout simplement du driver ?".
Du coup, je désinstalle le driver et je mets à la place "cndrvcups-lb-bin" (aussi présent sur AUR). Cette fois-ci, pas de compilation (dont pas d'erreur).
Et, miracle !, l'imprimante imprime enfin !!!
draffin
archer de cavalerie
Messages : 164
Inscription : mar. 17 juil. 2012, 09:11

Re: [cups] l'imprimante ne répond pas (résolu)

Message par draffin »

Je tenais à remercier tout particulièrement Benjarobin ! Pour ta patience, ta disponibilité et tes remarques pertinentes ! On a pu ensemble éliminer les fausses pistes une par une et m'amener sur le chemin de la résolution du problème. Et en plus, j'ai appris plein de trucs sur mon système et tu m'as aidé à le nettoyer au passage.

Vraiment, merci !
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17618
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [cups] l'imprimante ne répond pas (résolu)

Message par benjarobin »

Content que tu es pu résoudre ton souci tout seul :-)
Je suis en vacance donc j'ai donc moins de temps (logique non ?)
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Répondre