Страница 1 из 1

Поломали HPLIP

Добавлено: 19 янв 2017, 05:22
ded_mopozzz
При обновлении поломали HPLIP - при обработке задания ошибка:
CUPS.png
Если использовать Postscript драйвер - то работает. Но естественно всё управление параметрами печати идёт лесом и неправильный DPI выдаёт на печать.

Re: Поломали HPLIP

Добавлено: 19 янв 2017, 05:36
ded_mopozzz
D [19/Jan/2017:07:38:50 +0500] [Job 86] File "/usr/lib/cups/filter/hpps", line 194
D [19/Jan/2017:07:38:50 +0500] [Job 86] for x in szKeyInitials:
D [19/Jan/2017:07:38:50 +0500] [Job 86] ^
D [19/Jan/2017:07:38:50 +0500] [Job 86] TabError: inconsistent use of tabs and spaces in indentation
D [19/Jan/2017:07:38:50 +0500] [Job 86] PID 27369 (/usr/lib/cups/filter/hpps) stopped with status 1.
D [19/Jan/2017:07:38:50 +0500] [Job 86] Hint: Try setting the LogLevel to "debug" to find out more.
D [19/Jan/2017:07:38:50 +0500] [Job 86] prnt/backend/hp.c 913: ERROR: null print job total=0
D [19/Jan/2017:07:38:50 +0500] [Job 86] PID 27370 (/usr/lib/cups/backend/hp) exited with no errors.
D [19/Jan/2017:07:38:50 +0500] [Job 86] Wrote 1 pages...
D [19/Jan/2017:07:38:50 +0500] [Job 86] PID 27368 (/usr/lib/cups/filter/pstops) exited with no errors.
D [19/Jan/2017:07:38:50 +0500] [Job 86] End of messages
D [19/Jan/2017:07:38:50 +0500] [Job 86] printer-state=3(idle)
D [19/Jan/2017:07:38:50 +0500] [Job 86] printer-state-message="Filter failed"
D [19/Jan/2017:07:38:50 +0500] [Job 86] printer-state-reasons=none

Re: Поломали HPLIP

Добавлено: 19 янв 2017, 05:49
ded_mopozzz

Код: Выделить всё


user@home ~ $ hp-doctor 


HP Linux Imaging and Printing System (ver. 3.16.11)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


HP Linux Imaging and Printing System (ver. 3.16.11)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

warning: rosa distro is not found in AUTH_TYPES
 

Checking for Deprecated items....
error: This distro (i.e unknown  2014.1) is either deprecated or not yet supported.
The diagnosis is limited on unsupported platforms. Do you want to continue?(y=yes*, n=no):y


Checking for HPLIP updates....
error: Failed to locate hp-upgrade utility


Checking for Dependencies....
warning: 0-2014.1 version is not supported. Using 0-0 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 4.1.34-nrj-desktop-2rosa-x86_64 #1 SMP PREEMPT Fri Oct 21 12:03:09 UTC 2016 GNU/Linux
 Host: home
 Proc: 4.1.34-nrj-desktop-2rosa-x86_64 #1 SMP PREEMPT Fri Oct 21 12:03:09 UTC 2016 GNU/Linux
 Distribution: 0 2014.1
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.16.11
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 0 distro  2014.1 version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.16.11

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.16.11
html=/usr/share/doc/hplip-3.16.11
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=yes
internal-tag=3.16.11
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no


Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.16.11



Current contents of '~/.hplip/hplip.conf' file:
[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/net/HP_LaserJet_M1522n_MFP?ip=10.10.1.3"
printer_name = HP_LaserJet_M1522n_MFP
working_dir = .

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list = 

[fax]
voice_phone = 
email_address = 

[upgrade]
notify_upgrade = false
last_upgraded_time = 1474802647
pending_upgrade_time = 0

[installation]
date_time = 19.01.2017 07:46:44
version = 3.16.11


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

--------------
| COMPILEDEP |
--------------

 error: gcc           gcc - GNU Project C and C++ Compiler                         REQUIRED        -               4.9.2           MISSING    'gcc needs to be installed'
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.0             OK         -
 error: libtool       libtool - Library building support services                  REQUIRED        -               -               MISSING    'libtool needs to be installed'

------------------------
| General Dependencies |
------------------------

 error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.0.2           MISSING    'libcrypto needs to be installed'
 python-xml           Python XML libraries                                         REQUIRED        -               2.1.1           OK         -
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
 error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 pil                  PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               1.1.7           OK         -
 pyqt4-dbus           PyQt 4 DBus - DBus Support for PyQt4                         REQUIRED        4.0             4.11.2          OK         -
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               2.19            OK         -
 error: python-devel  Python devel - Python development files                      REQUIRED        2.2             2.7.12          MISSING    'python-devel needs to be installed'
 error: cups-devel    CUPS devel- Common Unix Printing System development files    REQUIRED        -               -               MISSING    'cups-devel needs to be installed'
 python-dbus          Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.0           OK         -
 cups-ddk             CUPS DDK - CUPS driver development kit                       OPTIONAL        -               -               OK         -
 reportlab            Reportlab - PDF library for Python                           OPTIONAL        2.0             3.1.8           OK         -
 pyqt4                PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             4.11.2          OK         -
 error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 python2X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             2.7.12          OK         -
 python-notify        Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
 error: libjpeg       libjpeg - JPEG library                                       REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -

----------------------
| Scan Configuration |
----------------------

 scanext              Scan-SANE-Extension                                          REQUIRED        -               3.16.11         OK         -
 hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.16.11         OK         'hpaio found in /etc/sane.d/dll.conf'

-------------------------
| External Dependencies |
-------------------------

 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.14            OK         -
 error: cups          CUPS - Common Unix Printing System                           REQUIRED        1.1             -               INCOMPAT   'CUPS may not be installed or not running'
 network              network -wget                                                OPTIONAL        -               1.18            OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.25          OK         -
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.113           OK         -
 xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         -
 error: dbus          DBus - Message bus system                                    REQUIRED        -               1.8.4           MISSING    'DBUS may not be installed or not running'
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.6.31          OK         -

---------------------
| Python Extentions |
---------------------

 hpmudext             IO-Extension                                                 REQUIRED        -               3.16.11         OK         -
 cupsext              CUPS-Extension                                               REQUIRED        -               3.16.11         OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

device `hpaio:/net/HP_LaserJet_M1522n_MFP?ip=10.10.1.3' is a Hewlett-Packard HP_LaserJet_M1522n_MFP all-in-one


--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 
HP_LaserJet_M1522n_MFP
----------------------
Type: Printer
Device URI: hp:/net/HP_LaserJet_M1522n_MFP?ip=10.10.1.3
PPD: /etc/cups/ppd/HP_LaserJet_M1522n_MFP.ppd
PPD Description: HP LaserJet M1522 MFP Series Postscript (recommended)
Printer Filter faileder HP_LaserJet_M1522n_MFP is idle.  enabled since Чт 19 янв 2017 07:43:47
Required plug-in status: Installed
Communication status: Good


--------------
| PERMISSION |
--------------

error: User needs to be member of group 'lp' to enable print, scan & fax.
error: User needs to be member of group 'lpadmin' to manage printers.
 

Checking Permissions....


Checking for Configured Queues....
 
Queue(s) configured correctly using HPLIP.


Checking for HP Properitery Plugin's....
Plugin's already installed
 
Diagnose completed...

Re: Поломали HPLIP

Добавлено: 19 янв 2017, 05:53
vzor74
Я сделал так:
удалил принтер,
urpmi hp-plugin
urpmi hp-setup
И заработало

Re: Поломали HPLIP

Добавлено: 19 янв 2017, 06:01
ded_mopozzz
urpmi hp-plugin
urpmi hp-setup
Нет таких пакетов. Удаление принтера и чистая установка не помогает. Тут опять какая-нибудь проблема Cups pdf poppler.

Re: Поломали HPLIP

Добавлено: 19 янв 2017, 06:08
vzor74
Прошу прощения!
просто:
hp-plugin
hp-setup
:)

Re: Поломали HPLIP

Добавлено: 19 янв 2017, 06:13
ded_mopozzz
Это не работает. Тут в генах обновления проблема.

Re: Поломали HPLIP

Добавлено: 19 янв 2017, 06:49
vzor74
Что не работает? hp-plugin ? или hp-setup ? Что, хотя-бы, каждая команда выдаёт?

Re: Поломали HPLIP

Добавлено: 19 янв 2017, 11:09
keleg
Интересно, почему на моих двух принтерах HP обновление гладко прошло....

Re: Поломали HPLIP

Добавлено: 19 янв 2017, 11:12
vzor74
Может от модели принтера зависит?

Re: Поломали HPLIP

Добавлено: 19 янв 2017, 12:28
keleg
А у вас какой?

Re: Поломали HPLIP

Добавлено: 19 янв 2017, 13:10
vzor74
LasepJet M1214nfh MFP

Re: Поломали HPLIP

Добавлено: 19 янв 2017, 18:40
ded_mopozzz
vzor74 писал(а):Что не работает? hp-plugin ? или hp-setup ? Что, хотя-бы, каждая команда выдаёт?
Вверху логи. Не работает - в том смысле, что ничего не исправляет.

Re: Поломали HPLIP

Добавлено: 19 янв 2017, 18:42
ded_mopozzz
keleg писал(а):А у вас какой?
M1522MFP, Стандартный PostScript через сеть работает. Но опять повторюсь, управление параметрами печати недоступны.

Re: Поломали HPLIP

Добавлено: 29 янв 2017, 20:51
sega074
аналогичная проблема ( принтер HP_LaserJet_400_M401dn) и предложенные решения не помогли.

Re: Поломали HPLIP

Добавлено: 30 янв 2017, 17:58
keleg
а попробуйте чуть подправленную версию
Для X64

Код: Выделить всё

 urpmi.addmedia hplip http://abf-downloads.rosalinux.ru/rosa2014.1/container/2798586/x86_64/main/release/  --update
Для i586

Код: Выделить всё

urpmi.addmedia  hplip http://abf-downloads.rosalinux.ru/rosa2014.1/container/2798585/i586/main/release/   --update
и потом обновиться.

Re: Поломали HPLIP

Добавлено: 30 янв 2017, 18:07
Алзим
Для контейнеров добавлять «--update» не обязательно.
И вообще, после установки из контейнера, желательно контейнер сразу удалить, т.к. он больше ненужен и будет только мешать.

Re: Поломали HPLIP

Добавлено: 30 янв 2017, 18:09
keleg
здесь соглашусь лишь частично. Пока обновление в репозитории не пойдет лучше конейнер держать подключенным, иначе при urpm-reposync будет притетать старая версия. Привык держать систему соответствующей репозиториям.

Re: Поломали HPLIP

Добавлено: 30 янв 2017, 18:14
Алзим
Тут зависит от конкретных задач.
Если контейнеры не удалять, то смысла в urpm-reposync не будет. (За исключение проблем из-за прог из тестовых реп).

Re: Поломали HPLIP

Добавлено: 01 фев 2017, 18:07
sega074
обновление сработало
( urpmi.addmedia hplip http://abf-downloads.rosalinux.ru/rosa2 ... n/release/ --update)

благодарю за заботу!

для понимания дальнейшего использования источника замести полностью или пока "де"активировать ?

Re: Поломали HPLIP

Добавлено: 01 фев 2017, 18:15
Алзим
sega074 писал(а): для понимания дальнейшего использования источника замести полностью или пока "де"активировать ?
Это как вам больше нравиться.
Можете удалить за ненадобностью, а можете оставить на память.
Но, в любом случае, через месяц содержимое этого источника самоудалиться на сервере и вы будете получать сообщение об ошибке при обновлении системы.

Re: Поломали HPLIP

Добавлено: 02 фев 2017, 11:35
vzor74
Из тестинга прилетело обновление hplip, принтер перестал работать, пришлось снова давать команду hp-plugin для его установки/обновления. Так и должно быть, или это только у меня так?

Re: Поломали HPLIP

Добавлено: 04 фев 2017, 09:50
keleg
У меня опять нормально прошло. Видимо, все ж зависит от модели принтера. Но теперь нескоро обновляения hplip будут, можно расслабиться.

Re: Поломали HPLIP

Добавлено: 06 фев 2017, 13:33
trs
Из логов обновления:
=== Russian ===

Если вы испытываете сложности с одним из следующих принтеров:

HP LaserJet 1100 series,
HP LaserJet p1560 series,
HP LaserJet p1600 series,
HP LaserJet CP1020 series,
HP LaserJet M1130 MFP series,
HP LaserJet M1210 MFP series

то попробуйте запустить
# /usr/bin/SmartInstallDisable-Tool.run

Если вы уже добавили свой принтер в системных настройках, то удалите его и добавьте снова.

Детальную информацию можно найти здесь: http://hplipopensource.com/node/367