Drivers para Canon MP150
En navidades adquirí la impresora Canon Pixma MP150, prometía mucho la impresora, la saqué de la caja, y cuando ví los cds que traía, caí en la cuenta de que "a lo mejor" podría ocurrir que no hubiese drivers para ella...
Grave error... no mirar si hay soporte antes de adquirir un producto de hardware...
Bicheando por internet tiempo despues (no hace muchos meses xD), descubrí que Turboprint ya tenía soporte para mi flamante canon... perfecto! ya podía imprimir!
Poco despues quise prescindir absolutamente de windows cuando se trataba de mi impresora... así que me puse manos a la obra, ví un driver para las pixma, pero era algo engorroso de usar, así que hice un pequeño y cutre script.
Finalmente dejo por aqui los script que permiten de manera mas o menos intuitiva (desde consola, eso si), escanear imagenes eligiendo modo, resolucion, y tamaño, y también permite usar OCR.
Como dije en el post donde empezó todo esto, yo he copiado los 3 scripts en el path con el fin de poder ejecutarlos solo con escribir en la consola "escanear".
Espero que os sirva, cualquier error, sugerencia u otra cosa, a mi correo
Saludos!!
PD: El tema de escanear queda resuelto con el script, y el tema de imprimir queda resuelto con el turboprint, el turboprint tiene una version gratuita, la cual tengo entendido que en determinadas resoluciones imprime el logo de turboprint.
Comentarios en el foro de esDebian
A continuación tenéis una copia de seguridad (en caso de que falle la descarga) de los scripts.
fichero escanear
#!/bin/bash
#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation; either version 2 of the License, or
#(at your option) any later version.
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.
#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
clear
opc=0
while test $opc -ne 3;do
clear
echo -e "[<Escanear Script by HeKToR>]"
echo " "
echo -e "t Seleccione una accion:"
echo " "
echo -e "tt 1.-Escanear imagen."
echo -e "tt 2.-OCR."
echo -e "tt 3.-Salir."
echo " "
echo -ne "ttt Opcion:"
read opc
case $opc in
1)
tcscanimg
if test $? -ne 0;then
echo -e "Error, no se ha encontrado el ejecutable "tcscanimg""
opc=3
break
fi
;;
2)
tcocr
if test $? -ne 0;then
echo -e "Error no se ha encontrado el ejecutable "tcocr""
opc=3
break
fi
;;
*)
opc=3
;;
esac
done
clear
echo -e "a"
Fichero tcocr
#!/bin/bash
#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation; either version 2 of the License, or
#(at your option) any later version.
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.
#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
clear
echo -n "Tama� del papel a escanear(a4/15x10/otro): "
read opc
case $opc in
a4)
tam=-p A4
;;
15x10)
tam=-p 15x10
;;
otro)
echo -n "Introduce ancho (mm): "
read ancho
echo -n "Introduce largo (mm): "
read largo
tam=-w $ancho -h $largo
;;
*)
tam=-p A4
;;
esac
echo -n "Introduce el nombre de archivo: "
read nombre
pixmascan -1 -a $tam -m gray -r 300 $HOME/Desktop/$nombre;
gocr -v 33 -i $HOME/Desktop/$nombre -o $HOME/Desktop/$nombre.txt;
rm -rf $HOME/Desktop/$nombre
Fichero tcscanimg
#!/bin/bash
#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation; either version 2 of the License, or
#(at your option) any later version.
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.
#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
clear
echo "[[[> Pixma 150 Scan Script by TCforever <]]]"
echo " "
echo " "
echo -n "Introduce el tama� de papel a escanear (a4/15x10/otro): "
read opc
case $opc in
a4)
tam=-p A4
;;
15x10)
tam=-p 15x10
;;
otro)
echo -n "Introduce ancho (mm): "
read ancho
echo -n "Introduce largo (mm): "
read largo
tam=-w $ancho -h $largo
;;
*)
tam=-p A4
;;
esac
echo -n "Escanear en color? (s/n): "
read opc
case $opc in
s)
mod=color
;;
*)
mod=gray
;;
esac
echo -n "Introduce la resolucion deseada en dpi (75/150/300/600/1200): "
read opc
case $opc in
75)
res=75
;;
150)
res=150
;;
300)
res=300
;;
600)
res=600
;;
1200)
res=1200
;;
*)
res=300
;;
esac
echo -n "Introduce nombre de fichero de salida: "
read nombre
nombre=$nombre
pixmascan -1 -a $tam -m $mod -r $res $HOME/Desktop/$nombre
#convierte a jpg (se necesita netpbm
pnmtojpeg $HOME/Desktop/$nombre > $HOME/Desktop/$nombre.jpg
rm -rf $HOME/Desktop/$nombre
echo " "
echo " "
echo "Se ha finalizado la operacion correctamente."
echo " "
echo " "
echo "$0: [[>Script desarrollado por TCforever (HeKToR) hektor7@gmail.com Mayo 2006<]]"
echo -e "a a a"
