Diferencia entre revisiones de «Impresoras»

De gacq wiki
Saltar a: navegación, buscar
 
 
Línea 1: Línea 1:
* [http://linuxprinting.org/ LinuxPrinting.org]
+
=Información=
 +
*[http://linuxprinting.org/ LinuxPrinting.org]
  
 
= Epson =
 
= Epson =

Revisión actual del 23:21 3 dic 2006

Información

Epson

Utilitarios

escputil

Permite ver nivel de tinta, alinear y limpiar cabezales

Para ver el nivel de tinta en los cartuchos

escputil -r /dev/usb/lp0 -i


Para ver el estado de la impresora

escputil -r /dev/usb/lp0 -s

http://www.biostat.wustl.edu/cgi-bin/info2html?(gimpprint.info.gz)ESC%2FP2%2520Remote%2520Mode%2520Commands

      The actual reply is documented as
 
           @BDC ST\r
           ST: xx;
           [ER: yy;]
           IQ: n1n2n3n4;
           [WR: w1,w2...;]
           RV: zz;
           AI:CW:02kkccmmyy, MI:mm
           [TC:tttt;]
           INK:...;
           \f
 
      (`\r' is carriage return; `\n' is newline; `\f' is formfeed.)
 
      `ST' is the printer status:
       `00' Error
       `01' Self-test
       `02' Busy
       `03' Waiting while printing
       `04' Idle
       `07' Cleaning/filling ink heads
       `08' Not yet initialized/filling heads
 
      `ER', if provided, is the error status:
       `00' Fatal error
       `01' Interface not selected
       `04' Paper jam
       `05' Out of ink
       `06' Paper out
 
      `IQ' is the amount of ink left, as a (decimal!) percentage
      expressed in hexadecimal.  The values are black, cyan, magenta, and
      yellow (presumably 6-color printers supply light cyan and light
      magenta inks as additional parameters).
 
      `WR', if provided, is the warning status:
 
      `10' Black ink low
      `11' Cyan
      `12' Magenta
      `13' Yellow
      `14' Light cyan (presumably)
      `15' Light magenta (presumably)
 
      `RV' is the firmware revision (one byte ASCII).
 
      `AI' is actuator information.  These are two byte ASCII codes that
      indicate "ink weight rank ID" of KCMY, respectively.
 
      `TC', if provided, is the total time of cleaning or ink filling
      (?).
 
      `INK:' and `MI' are *not documented*.


Monitoreo desde el munin (escputil debe tener suid)

#!/bin/sh
#
#

#%# family=contrib
#%# capabilities=autoconf suggest

escputil=/usr/bin/escputil

if [ "$1" = "autoconf" ]; then
        if $mbmon -c 1 > /dev/null 2>/dev/null ; then
                printf "yes\n"
                exit 0
        else
                if [ $?=127 ] ;then
                        echo "no (executable not found)"
                else
                        echo "no (escputil could not read sensor values)"
                fi
                exit 1
        fi
        exit 0
fi

if [ "$1" = "config" ]; then
        echo 'graph_title Printer Ink Level'
        echo 'graph_order Negro Cian Magenta Amarillo'
        echo 'graph_category sensors'
        echo 'graph_vlabel C'
        echo 'graph_scale no'
        echo 'Negro.label Negro'
        echo 'Cian.label Cian'
        echo 'Magenta.label Magenta'
        echo 'Amarillo.label Amarillo'
        exit 0
fi

$escputil -r /dev/usb/lp0 -i | tail -4 | sed -e "s/ * //" | sed -e "s/ * /.value /"

mtink

Bastante precario

EPSON Stylus Color 480 - C480

La impresora no imprime con los siguientes errores:

  • CUPS Web GUI -> Parallel port busy; will retry in 30 seconds...
  • At boot -> lp0 on fire

En mi caso este problema sucedio por que la impresora no tenia tinta en el cartucho color, aparentemente en este caso la impresora envia un codigo de error que no es entendido por el controlador de puerto paralelo y hace que deje de funcionar. El problema se resolvio al instalar un nuevo cartucho color.

HP

HP Deskjet 540C

No intentar hacerla andar con el cable paralelo, solo funciona con el USB