自己解决了,编译gimpprint,然后在终端中:
escputil -i -u -r /dev/usb/lp0 (最后的是打印机设备)
显示如下:
escputil -i -u -r /dev/usb/lp0
Escputil version 5.0.0-beta2, Copyright (C) 2000-2003 Robert Krawitz
Escputil comes with ABSOLUTELY NO WARRANTY; for details type 'escputil -l'
This is free software, and you are welcome to redistribute it
under certain conditions; type 'escputil -l' for details.
Ink color Percent remaining
Black 49
Cyan 34
Magenta 24
Yellow 17