canon LBP-6000
canon LBP-6000
#1Messageil y a 11 anscanon LBP-6000
#2Messageil y a 11 anscanon LBP-6000
#3Messageil y a 11 ansOS: Arch Linux i686
Hostname: manjaro
Kernel Release: 3.7.3-1-MANJARO
Uptime: 0:07
WM: KWin
DE: KDE
Packages: 965
RAM: 400 MB / 942 MB
Processor Type: Intel(R) Pentium(R) 4 CPU 3.40GHz
packer -S cndrvcups-common
Aur Targets (1): cndrvcups-common
Proceed with installation? [Y/n] y
Edit cndrvcups-common PKGBUILD with $EDITOR? [Y/n] n
==> Making package: cndrvcups-common 2.40-5 (Mon Jan 21 22:55:17 CET 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found Linux_CAPT_PrinterDriver_V240_uk_EN.tar.gz
==> Validating source files with md5sums...
Linux_CAPT_PrinterDriver_V240_uk_EN.tar.gz ... Passed
==> Extracting Sources...
-> Extracting Linux_CAPT_PrinterDriver_V240_uk_EN.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
processing .
Running aclocal ...
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:5: error: 'AM_CONFIG_HEADER': this macro is obsolete.
You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
configure.in:5: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
Running autoheader...
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
autoheader: error: AC_CONFIG_HEADERS not found in configure.in
Running automake --gnu ...
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal)
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
/usr/share/automake-1.13/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.13/am/depend2.am: The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC'
/usr/share/automake-1.13/am/depend2.am: to 'configure.in' and run 'aclocal' and 'autoconf' again
/usr/share/automake-1.13/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.13/am/depend2.am: The usual way to define 'AMDEP' is to add one of the compiler tests
/usr/share/automake-1.13/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,
/usr/share/automake-1.13/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
/usr/share/automake-1.13/am/depend2.am: to 'configure.in' and run 'aclocal' and 'autoconf' again
Running autoconf ...
Running ./configure --prefix=/usr --enable-progpath=/usr/bin --libdir=/usr/lib ...
./configure: line 1976: syntax error near unexpected token `config.h'
./configure: line 1976: `AM_CONFIG_HEADER(config.h)'
==> ERROR: A failure occurred in build().
Aborting...
The build failed.
canon LBP-6000
#4Messageil y a 11 anscanon LBP-6000
#5Messageil y a 11 ansJ'avais subi cela avec vlc à une époque.
https://bbs.archlinux.org/viewtopic.php?id=155461
En espérant que cela soit utile
canon LBP-6000
#6Messageil y a 11 anscanon LBP-6000
#7Messageil y a 11 anspas compris.mérçi
canon LBP-6000
#8Messageil y a 11 ansensuite, avec Pacman, installe Rpmextract.
extrait le fichier téléchargé avec le gestionnaire d'archive, puis rend toi dans le dossier qui contient les paquets RPM (32 ou 64, suivant l'architecture de ta Manjaro) et lance la commande:
rpmextract.sh *
en root, ce qui va extraire le contenu des RPM dans les bons répertoires.
il ne te restera plus qu'à relancer la configuration de l'imprimante.
canon LBP-6000
#9Messageil y a 11 anscanon LBP-6000
#10Messageil y a 11 anscanon LBP-6000
#11Messageil y a 11 ansessaie cette commande:
sudo modprobe usblp
puis essaie l'imprimante.
si ça marche, il faudra trouver un moyen de charger le module au démarrage
canon LBP-6000
#12Messageil y a 11 ansPage 1 (Scheduler not running?):
{'cups_connection_failure': False}
Page 2 (Choose printer):
{'cups_dest': <cups.Dest Canon-LBP6000-LBP6018 (default)>,
'cups_instance': None,
'cups_queue': 'Canon-LBP6000-LBP6018',
'cups_queue_listed': True}
Page 3 (Check printer sanity):
{'cups_device_uri_scheme': u'usb',
'cups_printer_dict': {'device-uri': u'usb://Canon/LBP6000/LBP6018?serial=0000A4B599LJ',
'printer-info': u'Canon LBP6000/LBP6018',
'printer-is-shared': True,
'printer-location': u'manjaro',
'printer-make-and-model': u'Canon LBP6000/LBP6018 CAPT (UK)',
'printer-state': 3,
'printer-state-message': u'Sending data to printer.',
'printer-state-reasons': [u'none'],
'printer-type': 8524932,
'printer-uri-supported': u'ipp://localhost:631/printers/Canon-LBP6000-LBP6018'},
'cups_printer_remote': False,
'is_cups_class': False,
{'error_log': ['D [25/Jan/2013:22:40:49 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"',
'D [25/Jan/2013:22:40:49 +0100] [Client 14] POST / HTTP/1.1',
'D [25/Jan/2013:22:40:49 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"',
'D [25/Jan/2013:22:40:49 +0100] [Client 14] No authentication data provided.',
'D [25/Jan/2013:22:40:49 +0100] [Client 14] 2.0 Get-Jobs 186',
'D [25/Jan/2013:22:40:49 +0100] Get-Jobs ipp://localhost/printers/',
'D [25/Jan/2013:22:40:49 +0100] Returning IPP successful-ok for Get-Jobs (ipp://localhost/printers/) from localhost',
'D [25/Jan/2013:22:40:49 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"',
'D [25/Jan/2013:22:40:49 +0100] [Client 14] POST / HTTP/1.1',
'D [25/Jan/2013:22:40:49 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"',
'D [25/Jan/2013:22:40:49 +0100] [Client 14] No authentication data provided.',
'D [25/Jan/2013:22:40:49 +0100] [Client 14] 2.0 Get-Jobs 187',
'D [25/Jan/2013:22:40:49 +0100] Get-Jobs ipp://localhost/printers/',
'D [25/Jan/2013:22:40:49 +0100] Returning IPP successful-ok for Get-Jobs (ipp://localhost/printers/) from localhost',
'D [25/Jan/2013:22:40:49 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"',
'I [25/Jan/2013:22:40:57 +0100] Generating printcap /etc/printcap...',
'D [25/Jan/2013:22:40:57 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Dirty files"',
'D [25/Jan/2013:22:41:14 +0100] [Client 15] PUT /admin/conf/cupsd.conf HTTP/1.1',
'D [25/Jan/2013:22:41:14 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"',
'D [25/Jan/2013:22:41:14 +0100] [Client 15] No authentication data provided.',
'D [25/Jan/2013:22:41:14 +0100] cupsdIsAuthorized: username=""',
'D [25/Jan/2013:22:41:14 +0100] [Client 15] WWW-Authenticate: Basic realm="CUPS", trc="y"',
'D [25/Jan/2013:22:41:14 +0100] [Client 15] Closing connection.',
'D [25/Jan/2013:22:41:14 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"',
'D [25/Jan/2013:22:41:14 +0100] [Client 15] Accepted from localhost (Domain)',
'D [25/Jan/2013:22:41:14 +0100] [Client 15] PUT /admin/conf/cupsd.conf HTTP/1.1',
'D [25/Jan/2013:22:41:14 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"',
'D [25/Jan/2013:22:41:14 +0100] [Client 15] Authorized as root using PeerCred',
'D [25/Jan/2013:22:41:14 +0100] cupsdIsAuthorized: username="root"',
'I [25/Jan/2013:22:41:14 +0100] Installing config file "/etc/cups/cupsd.conf"...',
'D [25/Jan/2013:22:41:15 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"',
'D [25/Jan/2013:22:41:15 +0100] [Client 14] Closing connection.',
'D [25/Jan/2013:22:41:15 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"',
'D [25/Jan/2013:22:41:15 +0100] [Client 15] Closing connection.',
'D [25/Jan/2013:22:41:15 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"',
"W [25/Jan/2013:22:41:15 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'Canon-LBP6000-LBP6018-Gray..' already exists",
"W [25/Jan/2013:22:41:15 +0100] CreateDevice failed: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-Canon-LBP6000-LBP6018' already exists"],
'error_log_debug_logging_unset': True}
Page 10 (Locale issues):
{'printer_page_size': u'Letter',
'system_locale_lang': None,
'user_locale_ctype': 'en_US',
'user_locale_messages': 'en_US'}
mérçi
canon LBP-6000
#13Messageil y a 11 anselle est bien branchée en usb ?
et il est normal que la commande lsmod ne retourne rien: ça signifie que ça a marché...
canon LBP-6000
#14Messageil y a 11 anscanon LBP-6000
#15Messageil y a 11 anscanon LBP-6000
#16Messageil y a 11 anscanon LBP-6000
#17Messageil y a 11 ans----------------------------
/etc/rc.d/cupsd: line 5: /etc/rc.conf: No such file or directory
/etc/rc.d/cupsd: line 6: /etc/rc.d/functions: No such file or directory
/etc/rc.d/cupsd: line 5: /etc/rc.conf: No such file or directory
/etc/rc.d/cupsd: line 6: /etc/rc.d/functions: No such file or directory
/etc/rc.d/cupsd: line 38: stat_busy: command not found
/etc/rc.d/cupsd: line 48: rm_daemon: command not found
/etc/rc.d/cupsd: line 49: stat_done: command not found
/etc/rc.d/cupsd: line 5: /etc/rc.conf: No such file or directory
/etc/rc.d/cupsd: line 6: /etc/rc.d/functions: No such file or directory
/etc/rc.d/cupsd: line 15: stat_busy: command not found
/etc/rc.d/cupsd: line 28: add_daemon: command not found
/etc/rc.d/cupsd: line 29: stat_done: command not found
/etc/rc.conf fichier n'exist pas
---------------
echo -e '#Own udev rule for Canon-CAPT\nSUBSYSTEM=="usb", KERNEL=="lp*", RUN+="/etc/rc.d/ccpd restart"' <no line break>
> /etc/udev/rules.d/85-canon-capt.rules ne marche pas
faut savoir la méthode d'imprimer sur arch?
canon LBP-6000
#18Messageil y a 11 ansreprenons...
pour créer la règle Udev, dans un terminal:
sudo nano /etc/udev/rules.d/85-canon-capt.rules
s'il y a déjà quelquechose, efface tout (parce que tu as du recopier <no line break>), et à la place met:
#Own udev rule for Canon-CAPT
SUBSYSTEM=="usb", KERNEL=="lp*", RUN+="/etc/rc.d/ccpd restart"
enregistre avec Ctrl-O et quitte avec Ctrl-X
redémarre Cups (et là, ta commande n'est pas bonne puisque maintenant on passe par Systemd)
sudo systemctl restart cupsd.service
ensuite:
sudo mkdir /var/ccpd /var/captmon
sudo mkfifo /var/ccpd/fifo0
sudo chmod 777 /var/ccpd/fifo0
sudo chown root /var/ccpd/fifo0
puis on enregistre l'imprimante:
sudo /usr/sbin/lpadmin -p LBP6000 -m CNCUPSLBP6018CAPTK.ppd -v ccp://localhost:59787 -E
et avec Ccpd:
sudo /usr/sbin/ccpdadmin -p LBP6000 -o /dev/usb/lp0
comme on a créé une règle Udev, on le recharge:
sudo udevadm control --reload-rules
puis on lance ccpd, et la j'espère que tu as bien déplacé le script de /etc/init.d vers /etc/rc.d (1):
sudo /etc/rc.d/ccpd start
alors évidemment, au redémarrage, il ne sera pas lancé, puisqu'avec Systemd ça marche plus comme ça; mais on va profiter du rc.local qui lui est toujours compatible...
donc, si tout le reste s'est déroulé correctement, tu peux faire:
sudo nano /etc/rc.local
dans le fichier, tu ajoutes une ligne pour obtenir ça:
#!/bin/bash
#
# /etc/rc.local: Local multi-user startup script.
#
/etc/rc.d/ccpd start
Ctrl-O, Ctrl-X, et c'est tout...
1) normalement, quand tu as extrait les fichiers, il y avait des choses dans /etc/init.d; tous les fichiers de ce répertoire doivent être mis dans /etc/rc.d, et évidemment, comme ce sont des scripts, il faut s'assurer qu'après toutes les manips ils sont encore éxécutables.