установите утилиту escputil
вот краткий ман
Man:
NAME
escputil - maintain Epson Stylus inkjet printers
SYNOPSIS
escputil [ -P printer | -r device ] [ -m model ] [ -u ] [ -c | -n | -a
| -i | -d | -o | -s | -l | -M | -h ] [ -q ]
DESCRIPTION
escputil is a command line utility to perform various maintenance tasks
on Epson Stylus inkjet printers. These tasks include head alignment,
head cleaning, nozzle check, printer identification, and retrieval of
ink level from the printer.
OPTIONS
escputil accepts the following options:
-P, --printer-name=printer
Имя устройства. Specify the name of the printer to operate on. The default is
the default system printer.
-r, --raw-device=device
Режим прямого доступа. Specify the name of the device to write to directly rather than
going through a printer queue. You must use this (rather than
specifying a printer) when retrieving ink levels or identifying
the printer, or if you wish to perform head alignment without
specifying the printer model.
-m, --model=model
Specify the precise printer model for head alignment.
Указать модель принтера (необходимо для выравнивания печ.головки).
-u, --new
Новый принтер. The printer is a new printer (Stylus Color 740 or newer).
-c, --clean-head
Прочистка печ. головки. Clean the print head. This can also be performed from the
printer front panel.
-n, --nozzle-check
Проверка дюз (Распечатывается тестовая полоска из 4-8 цветов). Print a nozzle test pattern. Dirty or clogged nozzles will show
as gaps in the pattern. If you see any gaps, you should run a
head cleaning pass or two.
-a, --align-head
Выравнивание печ. головки. Использовать очень осторожно! Align the print head. CAUTION: Misuse of this option may result
in poor print quality and/or damage to the printer. You must
either specify the printer model with the -m option, or use the
raw printer device to allow escputil to detect the printer
model.
-i, --ink-level
Уровень чернил в картриджах. Obtain the ink level from the printer. This requires read/write
access to the raw printer device.
-d, --identify
Идентификация. Query the printer for make and model information. This requires
read/write access to the raw printer device.
-o, --align-color
Выравнивание цвета (только для Stylus Color 480 и 580). Align the color print head (used by Stylus Color 480 and 580
only). CAUTION: Misuse of this option may result in poor print
quality and/or damage to the printer.
-s, --status
Статус. Retrieve printer status.
-l, --license
Лицензия программы. Display the license/warranty terms of this program.
-M, --list-models
Показать список поддерживаемых принтеров. List the supported printer models.
-h, --help Помощь.
-q, --quiet
Suppress the banner. Скрыть.
Вот примеры трёх нужных команд для lpt и usb принтеров:
1) lpt
#Уровень чернил sudo escputil -i --raw-device /dev/lp0
#Проверка дюз sudo escputil -n --raw-device /dev/lp0
#Прочистка сопел sudo escputil -c --raw-device /dev/lp0
2) usb
#Уровень чернил sudo escputil -i --raw-device /dev/usb/lp0
#Проверка дюз sudo escputil -n --raw-device /dev/usb/lp0
#Прочистка сопел sudo escputil -c --raw-device /dev/usb/lp0
Образец вывода команды escputil -i (уровень чернил):
Escputil version 5.0.0, Copyright (C) 2000-2006 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.