#1 Le 27/05/2017, à 20:51
- aiwayfr89
[RESOLU] Installation LBP2900 Canon sur 16.04 64bits Problème
Bonjour,
Je possède une imprimante CANON LBP2900 qui marchait assez bien sur mes précédentes version d'Ubuntu
depuis la 16.04 64bits le message :
Check the DevicePath of /etc/ccpd.conf
apparaît pourtant le fichiers existe et contient :
# Canon Printer Daemon for CUPS Configuration Data
<Path>
# CUPS configuration file path.
# Default /etc/cups/
CUPS_ConfigPath /etc/cups/
# Log directory path.
# LogDirectoryPath /var/log/CCPD/
</Path>
# Printer entries.
# Mapping each "Printer Name" to each "Printer Device Port".
# The "Printer Name" has to be identical to the CUPS printer queue name.
#
# For example, if you prepare a printer named "LBP3200" as a CUPS printer
# queue name, and the printer is connected to the USB port "/dev/usb/lp0",
# you can use the following three lines example just by removing the
# comment symbol "#" of each line.
#<Printer LBP3200>
#DevicePath /dev/usb/lp0
#</Printer>
<Printer LBP2900>
DevicePath /dev/usb/lp2
</Printer>
<Ports>
# Status monitoring socket port.
# Default 59787
UI_Port 59787
PDATA_Port 59687
</Ports>
j'ai tenté plusieurs fois de l'installer en suivant une procédure classique éprouvé :
===================================================================
Installing Canon LBP2900 / LBP2900B – Ubuntu 14+
Note: Improved clarity of answer; Based on one of the above answers; thanks to that answer; I have "edubuntu@edubuntu-HCL-Desktop".
Download Linux capt driver version 2.70 for Linux from Canon web site
Extract it into downloads folder and open the folder for 32/64 bit: downloads → Linux capt... → 32/64 bit driver → Debian → you will find two files.
* cndrvcups-common_3.20-1_amd64.deb
* cndrvcups-capt_2.70-1_amd64.deb
* Turn the printer on
Double click on the files, the Ubuntu software center opens and asks to install it. Install both the files one by one.
* Install the following additional packages from the Ubuntu software center: portreserve gsfonts gsfonts-other gsfonts-X11 (may be already installed, if not then install them).
Adding your printer and start the printer daemon with the following commands from a Terminal (open with Ctrl+Alt+T):
* service cups restart
(usually display comes as follows)
stop: Unknown job: cups
start: Unknown job: cups
* sudo /usr/sbin/lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp://localhost:59787 -E
(usually display comes as follows)
[sudo] password for edubuntu:
enter password if exists
* sudo /usr/sbin/ccpdadmin -p LBP2900 -o /dev/usb/lp2
( ici j'ai mis lp2 et pas lp0 car ma souris HID entraîne la création de 2 fichiers :
/dev/usb/hiddev0 et /dev/usb/hiddev1 l'imprimante apparaît comme /dev/usb/lp2 )
(usually display comes as follows)
CUPS_ConfigPath = /etc/cups/
LOG Path = None
UI Port = 59787
Entry Num : Spooler : Backend : FIFO path : Device Path : Status
---------- --------- --------- ------------------- ---------------- -------
[0] : LBP2900 : ccp : //localhost:59787 : /dev/usb/lp0 : New!!
* sudo service ccpd start
(usually display comes as follows)
Starting /usr/sbin/ccpd: .
* sudo service ccpd status
(usually display comes as follows)
/usr/sbin/ccpd: 6937 6936
captstatusui -P LBP2900
This will pop up a new window. In that If the message is “Ready to print”; then you are ready with the printer LBP 2900. If the message is “error” or “no printer connected” etc then restart the operating system and repeat all the steps at Terminal, and it will start the printer LBP 2900. Sometimes it may stop working after restart, then do this:
* sudo service ccpd restart
If this is the display comes as follows:
(captstatusui:6949): GLib-CRITICAL **: Source ID 13 was not found when attempting to remove it
Then, switch off and On the printer and do at Terminal again:
* captstatusui -P LBP2900
You are ready with the printer LBP 2900 / LBP 2900B.
==================================================================
J'ai tout essayé mais pour le moment pas d'impression possible
Dernière modification par aiwayfr89 (Le 27/06/2017, à 14:52)
Le bonheur de demain n'existe pas. Le bonheur, c'est tout de suite ou jamais.
Hors ligne
#2 Le 28/05/2017, à 13:15
- murex
Re : [RESOLU] Installation LBP2900 Canon sur 16.04 64bits Problème
Bonjour
As-tu essayé le tuto en français qui est aussi une "procédure classique éprouvée"
https://doc.ubuntu-fr.org/imprimante_canon_capt2
A+
Hors ligne
#3 Le 28/05/2017, à 23:44
- aiwayfr89
Re : [RESOLU] Installation LBP2900 Canon sur 16.04 64bits Problème
Après 3 essais différents (dont la méthode avec fifo0 ) toujours après
captstatusui -P LBP2900
ce maudit message Check the DevicePath of /etc/ccpd.conf qui apparaît.
Quelques infos :
francois@Z170X-Ubuntu:/dev/usb$ ls
hiddev0 hiddev1 lp2
francois@Z170X-Ubuntu:/dev/usb$ ls -al
total 0
drwxr-xr-x 2 root root 100 mai 30 20:35 .
drwxr-xr-x 21 root root 4240 mai 30 20:34 ..
crw------- 1 root root 180, 0 mai 30 20:34 hiddev0
crw------- 1 root root 180, 1 mai 30 20:34 hiddev1
crw-rw---- 1 root lp 180, 2 mai 30 20:35 lp2
francois@Z170X-Ubuntu:/dev/usb$ systemctl status ccpd.service
● ccpd.service - LSB: Start Canon Printer Daemon for CUPS
Loaded: loaded (/etc/init.d/ccpd; bad; vendor preset: enabled)
Active: active (running) since mar. 2017-05-30 20:37:47 CEST; 52min ago
Docs: man:systemd-sysv-generator(8)
Process: 2298 ExecStart=/etc/init.d/ccpd start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/ccpd.service
├─2306 /usr/sbin/ccpd
└─2307 /usr/sbin/ccpd
mai 30 20:37:47 Z170X-Ubuntu systemd[1]: Starting LSB: Start Canon Printer Daemo
mai 30 20:37:47 Z170X-Ubuntu ccpd[2298]: Starting /usr/sbin/ccpd: .
mai 30 20:37:47 Z170X-Ubuntu systemd[1]: Started LSB: Start Canon Printer Daemon
francois@Z170X-Ubuntu:/dev/usb$ journalctl -xe
mai 30 21:27:48 Z170X-Ubuntu kernel: ---[ end trace 9acf12a241323fd2 ]---
mai 30 21:28:02 Z170X-Ubuntu dbus[888]: [system] Activating via systemd: service
mai 30 21:28:02 Z170X-Ubuntu systemd[1]: Starting Hostname Service...
-- Subject: L'unité (unit) systemd-hostnamed.service a commencé à démarrer
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- L'unité (unit) systemd-hostnamed.service a commencé à démarrer.
mai 30 21:28:02 Z170X-Ubuntu gnome-session[1570]: Nautilus-Share-Message: Called
mai 30 21:28:02 Z170X-Ubuntu dbus[888]: [system] Successfully activated service
mai 30 21:28:02 Z170X-Ubuntu systemd[1]: Started Hostname Service.
-- Subject: L'unité (unit) systemd-hostnamed.service a terminé son démarrage
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- L'unité (unit) systemd-hostnamed.service a terminé son démarrage, avec le rés
mai 30 21:28:05 Z170X-Ubuntu ntfs-3g[3216]: Version 2015.3.14AR.1 integrated FUS
mai 30 21:28:05 Z170X-Ubuntu ntfs-3g[3216]: Mounted /dev/sdc1 (Read-Write, label
mai 30 21:28:05 Z170X-Ubuntu ntfs-3g[3216]: Cmdline options: rw,nodev,nosuid,uid
mai 30 21:28:05 Z170X-Ubuntu ntfs-3g[3216]: Mount options: rw,nodev,nosuid,uhelp
mai 30 21:28:05 Z170X-Ubuntu ntfs-3g[3216]: Global ownership and permissions enf
mai 30 21:28:05 Z170X-Ubuntu udisksd[1837]: Mounted /dev/sdc1 at /media/francois
mai 30 21:28:19 Z170X-Ubuntu org.gnome.zeitgeist.SimpleIndexer[1454]: ** (zeitge
francois@Z170X-Ubuntu:/dev/usb$ lpinfo -v
network ipp
direct cnusb:/dev/usb/lp2
network http
network ipp14
serial serial:/dev/ttyS0?baud=115200
network ipps
direct ccp
network https
direct usb://Canon/LBP2900?serial=0000A154S1hx
direct hp
network lpd
network socket
network beh
direct hpfax
francois@Z170X-Ubuntu:/dev/usb$ ls -1 /dev/usb/lp* /dev/bus/usb/*/*
/dev/bus/usb/001/001
/dev/bus/usb/001/002
/dev/bus/usb/001/003
/dev/bus/usb/001/004
/dev/bus/usb/001/005
/dev/bus/usb/001/006
/dev/bus/usb/002/001
/dev/bus/usb/003/001
/dev/bus/usb/004/001
/dev/usb/lp2
francois@Z170X-Ubuntu:/dev/usb$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 046d:0821 Logitech, Inc. HD Webcam C910
Bus 001 Device 004: ID 0451:e012 Texas Instruments, Inc. TI-Nspire Calculator
Bus 001 Device 002: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 001 Device 005: ID 04a9:2676 Canon, Inc. CAPT Device
Bus 001 Device 003: ID 04d9:a09f Holtek Semiconductor, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
francois@Z170X-Ubuntu:/dev/usb$ lpstat -v
device for LBP2900: ccp://localhost:59787
device for LBP2900-2: usb://Canon/LBP2900?serial=0000A154S1hx
francois@Z170X-Ubuntu:/dev/usb$ lpstat -p LBP2900 -l
printer LBP2900 is idle. enabled since mar. 30 mai 2017 19:18:39 CEST
francois@Z170X-Ubuntu:~$ sudo ccpdadmin
[sudo] Mot de passe de francois :
Usage:
ccpdadmin [-p Printer-name -o Printer-dev-path]
ccpdadmin [-x Remove-Printer-name]
CUPS_ConfigPath = /etc/cups/
LOG Path = None
UI Port = 59787
Entry Num : Spooler : Backend : FIFO path : Device Path : Status
----------------------------------------------------------------------------
[0] : LBP2900 : ccp : //localhost:59787 : /dev/usb/lp2 :
Dernière modification par aiwayfr89 (Le 30/05/2017, à 22:39)
Le bonheur de demain n'existe pas. Le bonheur, c'est tout de suite ou jamais.
Hors ligne
#4 Le 27/06/2017, à 15:01
- aiwayfr89
Re : [RESOLU] Installation LBP2900 Canon sur 16.04 64bits Problème
Finalement ce qui a fonctionné c'est d'installer le driver 2.60 puis ensuite le 2.70 en utilisant la mèthode explicitée ici
https://github.com/hugolpz/Canon_printer
à la suite de quoi j'ai eu enfin le READY to PRINT de OUF du siècle YEAHHHHHH!
bref content
un seul petit problème est que les pdf n'imprimaient pas correctement
Une seule page s’imprimait et affichait :
Secret
Media Limits: 0.12 x 0.38 to 8.38 x 10.38 inches
Job ID: Officejet-Pro-L7700-64
Driver: hp-officejet_pro_17700.ppd
Driver version:
Description: HP Officejet Pro L7700
Make and Model: HP Officejet Pro L7700, hpcups 3.12.2
Printer: Officejet-Pro-L7700
Created at: Fri Sep 28 14:12:53 2012
Printed at: Fri Sep 28 14:12:53 2012
Pour remettre les choses en ordre depuis Evince:
Fichier --> Imprimer --> Onglet "Tâche" → Pour ‘Ajout d’une page de couverture’ --> mettre Avant à aucun et Après aussi.
Cependant comme il fallait le faire à chaque impression, pour éviter cela je suis
allé dans ~/cups/lpoptions et j’ai modifié job-sheets=secret en job-sheets=none
Pour information :
CUPS includes the following banner files:
none - Do not produce a banner page.
classified - A banner page with a "classified" label at the top and bottom.
confidential - A banner page with a "confidential" label at the top and bottom.
secret - A banner page with a "secret" label at the top and bottom.
standard - A banner page with no label at the top and bottom.
topsecret - A banner page with a "top secret" label at the top and bottom.
unclassified - A banner page with an "unclassified" label at the top and bottom.
Dernière modification par aiwayfr89 (Le 27/06/2017, à 15:02)
Le bonheur de demain n'existe pas. Le bonheur, c'est tout de suite ou jamais.
Hors ligne