PREV | INDEX | HOME

Unlike escputil, ttink always (except ttink -l ) needs read/write permission on printer device file as "-d <device_file>". Hence you have to be root or your account have to be the member of group lp.

"ttink -d /dev/lp0" shows the ink level of my printer as below

printer state         : Ok

Black                     : 85 %
Cyan                      : 87 %
Magenta               : 87 %
Yellow                   : 87 %

"ttink -d /dev/lp0 -L" provides the debug output for D4 protocol. Below is just a part of the entire output of this command

-----------------------------------------------------------------------------------------------------------------------------------------------

40 45 4a 4c 20 49 44 0d 0a 4d 46 47 3a 45 50 53 4f 4e 3b 43 4d 44 3a 45 53 4350 4c 32 2c 42 44 43 2c 44 34 3b 4d 44 4c 3a 53 74 79 6c 75 73 20 43 32 30 3b 43 4c53 3a 50 52 49 4e 54 45 52 3b 44 45 53 3a 45 50 53 4f 4e 20 53 74 79 6c 75 73 20 4332 30 3b 0c

@ E J L I D M F G : E P S O N ; C M D : E S CP L 2 , B D C , D 4 ; M D L : S t y l u s C 2 0 ; C LS : P R I N T E R ; D E S : E P S O N S t y l u s C2 0
-----------------------------------------------------------------------------------------------------------------------------------------------


Here is a table which is useful for both escputil as well as ttink

Command to do escputil ttink
printers supported escputil -M ttink -l
checking ink level escputil -r /dev/lp0 -i ttink -d /dev/lp0 -D
clean head escputil -c ttink -d /dev/lp0 -c -D
nozzle check escputil -n ttink -d /dev/lp0 -n-D
printer identity escputil -r /dev/lp0 -d ttink -d /dev/lp0 -i -D
head alignment

escputil -a -m C20sx or
escputil -r /dev/lp0 -a
ttink -d /dev/lp0 -a -D

reset ttink -d /dev/lp0 -r -D
debug information
(D4 protocol)


ttink -d /dev/lp0 -L

-D is optional. It forces using D4 protocol.

If there is any problem autodetecting the printer properly in case of ttink you can also provide the model number explicitly. Like "ttink -d /dev/lp0 -m C20SX -a". In this command I have explicitly mentioned that I want to adjust the head alignment of C20SX model of Epson. If you don't like ttink autodetecting printer all the time ( which is default behavior) you can disable autodetection by providing the model name.

mtink is a GUI based on ttink. mtink starts as an "Epson status monitor" which we can see in Microsoft Windows. At the very first time of its execution mtink only asks about the port where the printer is attached and then the printer model which you have to select from a list. mtink allows all operation like nozzle-check, head-cleaning, head-alignment etc.

port selection
Port Selection
printer
Printer Selection

mtink
mtink


Feedback

Comments, corrections and suggestions are always welcome.E-Mail

PREV | INDEX | HOME
Copyright©2005-2007, Joydeep Bakshi