El 18/09/14 a las #4, Maikel Richard escribió:
no tengo internet, pero gracias brother
El 18/09/14 14:50, Carlos R Laguna escribió:
El 18/09/14 a las #4, Maikel Richard escribió:
alguien puede ayudarme a configurar esta impresora?? tengo Ubuntu
14.04...
--
Nunca digas nunca, di mejor: gracias, permiso, disculpe.
Este mensaje le ha llegado mediante el servicio de correo
electronico que ofrece Infomed para respaldar el cumplimiento de las
misiones del Sistema Nacional de Salud. La persona que envia este
correo asume el compromiso de usar el servicio a tales fines y
cumplir con las regulaciones establecidas
Infomed: http://www.sld.cu/
Necesitas leer esto.
http://askubuntu.com/questions/473728/making-canon-lbp6000-printer-work-under-ubuntu-14-04-64-bit
http://askubuntu.com/questions/463289/cant-get-my-canon-lbp-printer-to-run-under-ubuntu-14-04/464334#464334
http://support-asia.canon-asia.com/contents/ASIA/EN/0100459601.html
Saludos
Carlos R Laguna
NDC REDTINO
______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l
________________________________________________________________
XII Edicion del Evento Nacional de Informatica para Jovenes. INFOCLUB.
Abril. 2015. Ver www.jovenclub.cu
________________________________________________________________
--
Nunca digas nunca, di mejor: gracias, permiso, disculpe.
Este mensaje le ha llegado mediante el servicio de correo electronico
que ofrece Infomed para respaldar el cumplimiento de las misiones del
Sistema Nacional de Salud. La persona que envia este correo asume el
compromiso de usar el servicio a tales fines y cumplir con las
regulaciones establecidas
Infomed: http://www.sld.cu/
Veamos que se puede hacer:
Previously, I have successfully used
<http://askubuntu.com/questions/174474/installing-canon-lbp6000-in-ubuntu-12-04>
this Canon LBP6000 printer under Ubuntu 12.04 (32-bit). Recently, I
upgraded to Ubuntu 14.04 (64-bit). Already several hours have been
wasted making this printer work under this system, without success.
(I have already seen this question
<http://askubuntu.com/questions/463289/cant-get-my-canon-lbp6000-printer-to-run-under-ubuntu-14-04>.
But thought it better to post a new one since my observations are too
long to fit as a comment. There is a similar issue in this one
<http://askubuntu.com/questions/463674/ubuntu-14-04-cannot-print-through-canon-mf8200-series-printer>.)
*Steps So Far*
* The Radu script
<http://radu.cotescu.com/how-to-install-canon-lbp-printers-in-ubuntu/>
did not work. Got something in the line of "ccp, unknown URI".
* Downloaded and installed the latest driver from Canon
<http://support-asia.canon-asia.com/contents/ASIA/EN/0100459601.html>.
*
Installed the |.deb| files found in
|Linux_CAPT_PrinterDriver_V260_uk_EN/64-bit_Driver/Debian|
sudo dpkg -i cndrvcups-c*
(Did not use the Michael PPA
<https://launchpad.net/%7Emichael-gruz/+archive/canon-stable> since I
was actually downloading the latest driver from Canon site.)
* Installation went without any problem.
* Started CUPS in a browser. |http://localhost:631/|. The printer was
automatically detected as Canon LBP6000/LBP6018. Moved forward and
selected Canon LBP6000/LBP6018 CAPT (US) as the driver. Got it
installed. The printer URI is shown as
|usb://Canon/LBP6000/LBP6018?serial=0000B1C4I3GU|
* Now, when I try printing a test page, the CUPS window says that
"Sending Data to Printer". In about a minute, this job is shown as
completed, though nothing gets printed.
------------------------------------------------------------------------
The official Ubuntu page
<https://help.ubuntu.com/community/CanonCaptDrv190> lists
LBP6000/LBP6018 as a supported printer with driver
CNCUPSLBP6018CAPTK.ppd under Ubuntu 13.10 (64bit)/12.10/12.04 (32bit).
So, previously, there has been success with 64-bit versions.
------------------------------------------------------------------------
*UPDATE 1*
As suggested here <http://askubuntu.com/a/467982/82650>, executed |find
. -name \*.so\* -exec ldd {} \;|grep not| in the extracted driver
directory. Got an output in the line of
|libcncaptnpm.so.1 => not found
libstdc++.so.6 => not found
|
Executed |sudo apt-get install lib32stdc++6|. Now the message is reduced
to the one for |libcncaptnpm| only. Do not know how to install this one.
|apt-cache search libcncaptnpm| returns an empty answer.
Any chance I can directly use the |libcnaccm.so.1.0| file found under
|Linux_CAPT_PrinterDriver_V260_uk_EN/Src/cndrvcups-capt-2.60-1/libs|?
------------------------------------------------------------------------
*UPDATE 2 (SOLVED)*
I followed the procedure described in this answer
<http://askubuntu.com/a/464334/82650>. /(Though I had downloaded the
drivers directly from Canon site
<http://support-asia.canon-asia.com/contents/ASIA/EN/0100459601.html>.)/
Now my printer prints again. Big sigh of relief.
The next printer I will buy will /not/ be a Canon. The hassle I had to
go through was perhaps acceptable twenty years back. In this era, I will
want my printer to simply plug-in and work.
*/Observations/*
When I submit the first print job in a login session, it waits. The
queue says, Processing since ..... Then I need to kill the |ccpd| and
|captmoncnabc| processes and start the |ccpd| daemon again.
Wonder why I have to do it.
Actually, I made a script for that.
|#!/bin/bash
pkill -9 -x ccpd
pkill -9 -x captmoncnabc
/etc/init.d/ccpd start
/etc/init.d/ccpd status
|
Enlace 2
The Canon CAPT printer driver is closed source and the binary libraries
supplied by Canon are compiled for i386. So if you are on amd64 you will
need to first enable multiarch and install some libraries:
|# amd64 only
dpkg --add-architecture i386
apt-get update
apt-get install libstdc++6:i386 libxml2:i386 zlib1g:i386 libpopt0:i386
|
Install cups if you do not already have it:
|apt-get install cups
|
Download and unpack the Canon CAPT printer driver:
|wget http://gdlp01.c-wss.com/gds/6/0100004596
tar -zxvf
Linux_CAPT_PrinterDriver_V260_uk_EN.tar.gz/03/Linux_CAPT_PrinterDriver_V260_uk_EN.tar.gz
|
Install 32-bit or 64-bit driver depending on your architecture:
*
32-bit
|dpkg -i Linux_CAPT_PrinterDriver_V260_uk_EN/32-bit_Driver/Debian/*.deb
|
*
64-bit
|dpkg -i Linux_CAPT_PrinterDriver_V260_uk_EN/64-bit_Driver/Debian/*.deb
|
Now look in |/usr/share/cups/model| for the ppd files that describe the
printers and choose the one that matches (or is closest to) your printer:
|# grep -H ModelName /usr/share/cups/model/*.ppd | less
...
/usr/share/cups/model/CNCUPSLBP6018CAPTS.ppd:*ModelName: "Canon LBP6000/LBP6018 CAPT
(US)"
|
In this case we chose |CNCUPSLBP6018CAPTS.ppd| which matches model LBP6000.
Add printer:
|# lpadmin -p LBP6000 -m CNCUPSLBP6018CAPTS.ppd -v ccp://localhost:59687
# lpadmin -p LBP6000 -E
# ccpdadmin -p LBP6000 -o /dev/usb/lp0
|
And configure your system to start the Canon ccpd daemon automatically:
|# update-rc.d ccpd defaults
|
------------------------------------------------------------------------
/Problems/
There are several problems with the Canon printer driver:
*
It was built for Debian and last supported Ubuntu version was 12.04.
It does work in 14.04 though.
*
It includes closed source binary libraries which are built for
32-bit i386, so can not be run natively on amd64 (even in the 64-bit
package)
*
captstatusui includes an unbounded call to |strcpy| in cnsktmodule.c
which fails with error |aborted *** buffer overflow detected ***| on
some systems
*
The Canon printer driver is actually a separate daemon that talks to
cups over a local or network socket - it leaves an open network port
on your system, and I doubt the Canon code has ever been audited for
security vulnerabilities
*
The printer can appear twice in cups (once for auto-detected USB
printer, once as Canon CCPD daemon) but the "USB" printer will not
work if you try and print to it. In printer settings, if you see
your printer configured as USB printer, you must manually disable it
(right click, disable)
*
Canon use their own proprietary software and protocol for talking to
the printer, which is why it is not integrated with cups, does not
get automatically detected, and requires a driver to be manually
installed. It is reasonable to expect that a printer should be
automatically detected and just work, but this is not possible with
Canon LBP. My next printer will be a printer that "just works" with
open source drivers, probably a network printer that supports the
PCL - Printer Command Language
<http://en.wikipedia.org/wiki/Printer_Command_Language> standard,
like the Brother HL-2250DN
<http://www.amazon.co.uk/Brother-HL-2250DN-Compact-Network-Printer/dp/B0043YL0KS>
(cheap duplex network printer, Amazon's top selling laser printer)
*
The build scripts for the source code are old and a bit of a mess.
Due to the inclusion of closed source i386 binary libraries, and
lack of support for multiarch in the build scripts, it would be very
hard to compile a fully working 64-bit release. Compiling a 32-bit
release, on a 32-bit system, is possible once you have worked around
the various bugs in the build system.
------------------------------------------------------------------------
/Build from source/
If you are tempted to try building and installing from source, follow
these instructions (the Arch build script
<https://aur.archlinux.org/packages/ca/capt-src/PKGBUILD> may also help):
|sudo apt-get install build-essential automake libtool libgtk2.0-dev
libglade2-dev libcups2-dev
wget
http://gdlp01.c-wss.com/gds/6/0100004596/03/Linux_CAPT_PrinterDriver_V260_uk_EN.tar.gz
tar -zxvf Linux_CAPT_PrinterDriver_V260_uk_EN.tar.gz
cd Linux_CAPT_PrinterDriver_V260_uk_EN/Src/
# do cndrvcups-common
sudo apt-get install build-essential automake libtool libgtk2.0-dev
libglade2-dev libcups2-dev
rm -rf cndrvcups-common-2.60-1/
tar -zxvf cndrvcups-common-2.60-1.tar.gz
cd cndrvcups-common-2.60-1/
sed -i -e 's/-lcups/-lcups -lgmodule-2.0/' cngplp/src/Makefile.am
dpkg-buildpackage -b -uc
cd ..
sudo apt-get install cups
sudo dpkg -i cndrvcups-common_2.60-1_amd64.deb
# do cndrvcups-capt
rm -rf cndrvcups-capt-2.60-1/
tar -zxvf cndrvcups-capt-2.60-1.tar.gz
cd cndrvcups-capt-2.60-1/
export echo=echo
sed -i -e 's/dh_shlibdeps/dh_shlibdeps
--dpkg-shlibdeps-params=--ignore-missing-info/' debian/rules
sed -i -e 's/eval cmds=\"$old_archive_cmds/echo/' cngplp/ltmain.sh
sed -i -e 's:uimain.h":uimain.h"\n#include <cups/ppd.h>:'
statusui/src/ppapdata.c
sed -i -e 's/cnsktmodule.la/cnsktmodule.la -lpthread/' statusui/src/Makefile.am
debian/rules configure
sed -i -e 's/RANLIB=/#RANLIB=/' cngplp/libtool
debian/rules build
fakeroot debian/rules install
fakeroot debian/rules binary-arch
cd ..
sudo dpkg -i cndrvcups-capt_2.60-1_amd64.deb
|
I am including this just as a note for anyone inclined to follow this
path. Most people should not attempt to build this from source. Even on
an amd64 system, the resulting package will include the closed i386
libraries.
El tercer enlace es el driver en si.Saludos
Carlos R Laguna
NDC REDTINO
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL:
<http://listas.jovenclub.cu/pipermail/gutl-l/attachments/20140918/0d227af3/attachment.html>
______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l
________________________________________________________________
XII Edicion del Evento Nacional de Informatica para Jovenes. INFOCLUB.
Abril. 2015. Ver www.jovenclub.cu
________________________________________________________________
--
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.