Принтер Brother HL-2030 [Решено]

Brother HL-2030
настраивал по инструкции: https://wiki.archlinux.org/index.php/Brother_HL-2030
исправил /etc/init.d/ /etc/rc.d/ и /etc/printcap.local на /etc/printcap - все по инструкции
после запуска ./cupswrapperHL2030-2.0.1 выдает:
# ./cupswrapperHL2030-2.0.1
./cupswrapperHL2030-2.0.1: line 525: lpinfo: команда не найдена
./cupswrapperHL2030-2.0.1: line 527: lpinfo: команда не найдена
./cupswrapperHL2030-2.0.1: line 533: lpadmin: команда не найдена

по тексту в скрипте идет:
port2=`lpinfo -v | grep -i 'usb://Brother/HL-2030' | head -1`   #(это строка 525)
if [ "$port2" = '' ];then
	port2=`lpinfo -v | grep 'usb://' | head -1`    #(это строка 527)
fi
port=`echo $port2| sed s/direct//g`
if [ "$port" = '' ];then
	port=usb:/dev/usb/lp0
fi
lpadmin -p HL2030 -E -v $port -P /usr/share/cups/model/HL2030.ppd   #(это строка 533)
  exit 0 

комментарии с номерами строк написал я.
cups - установлен?
s
[email protected]:~$ sudo pacman -S cups
Пароль: 
разрешение зависимостей...
проверка на взаимную несовместимость...
Цели (2): openslp-1.2.1-3  cups-1.4.5-2
Размер загружаемых файлов:   0,00 МБ
Размер устанавливаемых файлов:   15,09 МБ
Приступить к установке? [Y/n] y
проверка целостности пакета...
(2/2) проверка возможных конфликтов файлов         [######################] 100%
ошибка: не удалось завершить запрос (конфликтующие файлы)
cups: /etc/cups/subscriptions.conf уже существует в файловой системе
Обнаружены ошибки, пакеты не были обновлены.
[email protected]:~$ sudo pacman -Rs cups
ошибка: 'cups': не удалось найти или прочитать пакет
[email protected]:~$ sudo pacman -Qs cups
local/hal-cups-utils 0.6.19-2
    Cups management via HAL UDIs
local/libcups 1.4.5-2
    The CUPS Printing System - client libraries and headers
local/pycups 1.9.53-1
    Python CUPS Bindings
local/system-config-printer-common 1.2.5-4
    Pygtk CUPS Configuration
local/system-config-printer-gnome 1.2.5-4
    A CUPS printer configuration tool and status applet - GTK frontend
пришиб файл /etc/cups/subscriptions.conf и cups установился, скрипт запустился, принтер в системе виден, но не печатает ничего.
Вот журнал ошибок:
E [26/Dec/2010:15:30:59 +0300] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [26/Dec/2010:15:34:00 +0300] Returning HTTP а�аАаПб�аЕб�аЕаНаО for CUPS-Get-Devices (no URI) from localhost
E [26/Dec/2010:15:34:07 +0300] [CGI] Unable to create avahi client: Resource temporarily unavailable
E [26/Dec/2010:15:34:07 +0300] [cups-deviced] PID 15098 (dnssd) stopped with status 1!
E [26/Dec/2010:16:00:57 +0300] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [26/Dec/2010:16:14:46 +0300] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [26/Dec/2010:16:14:51 +0300] [CGI] Unable to create avahi client: Resource temporarily unavailable
E [26/Dec/2010:16:14:51 +0300] [cups-deviced] PID 12614 (dnssd) stopped with status 1!
E [26/Dec/2010:17:32:38 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:17:32:42 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:17:32:45 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:17:33:10 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:17:33:15 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:17:36:15 +0300] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [26/Dec/2010:17:37:47 +0300] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [26/Dec/2010:17:38:04 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:17:38:17 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:17:38:28 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:17:38:32 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:17:38:34 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:17:38:41 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:17:38:44 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:17:38:46 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:17:38:47 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:17:40:18 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:17:40:21 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:17:40:24 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:17:40:27 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:17:40:41 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:17:40:42 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:18:22:01 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:19:06:04 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:19:16:59 +0300] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [26/Dec/2010:19:23:21 +0300] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [26/Dec/2010:21:41:34 +0300] [CGI] Saw EOF, expected '}'!
E [26/Dec/2010:23:04:42 +0300] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [26/Dec/2010:23:19:17 +0300] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [26/Dec/2010:23:23:23 +0300] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [27/Dec/2010:00:12:08 +0300] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [27/Dec/2010:00:30:25 +0300] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [27/Dec/2010:19:26:24 +0300] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [27/Dec/2010:20:50:09 +0300] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [28/Dec/2010:14:14:00 +0300] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [28/Dec/2010:15:43:56 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:15:44:07 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:15:44:36 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:15:57:42 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:15:57:45 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:16:02:18 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:16:02:23 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:16:30:11 +0300] Unable to execute /usr/lib/cups/cgi-bin/admin.cgi: No such file or directory
E [28/Dec/2010:16:30:31 +0300] Unable to execute /usr/lib/cups/cgi-bin/admin.cgi: No such file or directory
E [28/Dec/2010:16:31:31 +0300] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [28/Dec/2010:16:47:07 +0300] Unable to execute /usr/lib/cups/cgi-bin/admin.cgi: No such file or directory
E [28/Dec/2010:16:52:13 +0300] Unable to execute /usr/lib/cups/cgi-bin/admin.cgi: No such file or directory
E [28/Dec/2010:17:24:08 +0300] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [28/Dec/2010:17:24:10 +0300] [CGI] Unable to create avahi client: Resource temporarily unavailable
E [28/Dec/2010:17:24:10 +0300] [cups-deviced] PID 6332 (dnssd) stopped with status 1!
E [28/Dec/2010:17:24:35 +0300] [CGI] Unable to create avahi client: Resource temporarily unavailable
E [28/Dec/2010:17:24:40 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:17:26:51 +0300] Returning HTTP а�аАаПб�аЕб�аЕаНаО for CUPS-Add-Modify-Printer (ipp://localhost/printers/HL2030) from localhost
E [28/Dec/2010:17:28:38 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:17:29:25 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:17:30:07 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:17:30:09 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:17:30:10 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:17:34:13 +0300] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [28/Dec/2010:17:42:23 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:17:44:15 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:17:44:19 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:17:44:38 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:17:45:24 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:17:45:34 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:17:45:37 +0300] [CGI] Saw EOF, expected '}'!
E [28/Dec/2010:17:45:40 +0300] [CGI] Saw EOF, expected '}'!
cups - в демоны.
Потом http://localhost:631/ и установи свой принтер.
Дык, лично прописал cups в /etc/rc.conf, принтер виден на http://localhost:631/ - только не печатает - при отправке чего-либо на печать - замирает со статусом “печатается”.
Из этого списка что нибудь установлено?
Другие драйвера пробовали?
Все пакеты установил - печать не идет, и еще, при попытке Администрирование -добавить принтер получаю ответ - запрещено.
SergeA
и еще, при попытке Администрирование -добавить принтер получаю ответ - запрещено.
В смысле? А как тогда принтер добавляли?
В меню “Обслуживание” посмотрите, может у вас принтер просто приостановлен и нужно возобновить печать. В меню “Администрирование” добавте пользователей и разрешите и печатать.
Если не поможет, все-таки попробуйте другой драйвер.
Я и не добавлял - он сам там появился после запуска скрипта.
При попытке авторизации от текущего юзера - получаю фигу.
 
Зарегистрироваться или войдите чтобы оставить сообщение.