Автор Тема: HP Color CP1025 печатает в Linux сильно темнее, чем в Windows.  (Прочитано 210 раз)

Оффлайн AndreyNag

  • Участник
  • *
  • Сообщений: 129
Здравствуйте.
HP Color CP1025 печатает в Linux сильно темнее, чем в Windows при прочих равных. Один и тот же документ, текст с фото, распечатывается по разному. Тёмные части фото сильно темнее и чёрный текст распечатывается путём смешивания цветов и получается размытым с тёмно-синим ореолом.
Проблема скорее всего в цветовых профилях по умолчанию. Кто-то решал подобную проблему?
Спасибо.
Alt Рабочая станция P10 с актуальным ядром и обновлениями.

P.S. Подсистема печати в линухе вообще оставляет желать лучшего. Абсолютно непрозрачно настраивается и так же нестабильно работает. То потухнет, то погаснет..... :-\

Оффлайн alxl

  • Участник
  • *
  • Сообщений: 340
А если в настройках принтера цвет RGB выбрать не по умолчанию, а какой-нибудь другой?

Оффлайн alxl

  • Участник
  • *
  • Сообщений: 340
Подсистема печати в линухе вообще оставляет желать лучшего
Для своих принтеров HP сделала "менеджер принтеров" hplip. Он нормально ищет принтеры и в локалке и по USB, а затем при добавлении обнаруженного принтера предлагает скачать недостающие файлы драйвера с серверов HP.

Оффлайн AndreyNag

  • Участник
  • *
  • Сообщений: 129
А если в настройках принтера цвет RGB выбрать не по умолчанию, а какой-нибудь другой?
Ничего специально не выбирал. Подсистема печати в стоковом состоянии. И на глаза никогда не попадались  опции выбора цветовых профилей принтеров в линухе.

Для своих принтеров HP сделала "менеджер принтеров" hplip.
Научите пожалуйста меня правильно пользоваться hplip. HP Device Menager не находит сетевые принтеры. CUPS не может удалить один из однажды установленных принтеров. :-o
Спасибо.

P.S. Вот результат выполнения  "sudo hp-setup":
Спойлер
$
HP Linux Imaging and Printing System (ver. 3.25.8)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-18 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.

QStandardPaths: runtime directory '/run/user/500' is not owned by UID 0, but a directory permissions 0700 owned by UID 500 GID 500
Could not find color scheme "BreezeLight" falling back to BreezeLight
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=mdns)
/Created directory: /var/lib/net-snmp
Created directory: /var/lib/net-snmp/cert_indexes
MIB search path: /usr/share/snmp/mibs:/usr/share/mibs/net-snmp:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/tubs:/usr/share/mibs/cisco:/usr/share/pibs/ietf:/usr/share/pibs/tubs:
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none)
Cannot find module (EtherLike-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none)
Cannot find module (IPV6-ICMP-MIB): At line 0 in (none)
Cannot find module (IPV6-MIB): At line 0 in (none)
Cannot find module (IPV6-TCP-MIB): At line 0 in (none)
Cannot find module (IPV6-UDP-MIB): At line 0 in (none)
Cannot find module (UCD-IPFWACC-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (TUNNEL-MIB): At line 0 in (none)
Cannot find module (IPV6-FLOW-LABEL-MIB): At line 0 in (none)
Cannot find module (UCD-DISKIO-MIB): At line 0 in (none)
Cannot find module (LM-SENSORS-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-VACM-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (IP-FORWARD-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
Cannot find module (NET-SNMP-PASS-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
error: No devices found on bus: net
error:  HPLIP cannot detect printers in your network.  This may be due to existing firewall settings blocking the required ports.
                When you are in a trusted network environment, you may open the ports for network services like mdns and slp in the firewall. For detailed steps follow the link.
                 https://developers.hp.com/hp-linux-imaging-and-printing/KnowledgeBase/Troubleshooting/TroubleshootNetwork 

Done.
И нет разницы как запускать: от обычного или суперпользователя.
« Последнее редактирование: 18.02.2026 15:44:25 от AndreyNag »

Оффлайн alxl

  • Участник
  • *
  • Сообщений: 340
Вообще-то я имел в виду графическую утилиту. Там все просто, правда она у меня почему-то на английском языке.

Оффлайн AndreyNag

  • Участник
  • *
  • Сообщений: 129
У меня она ничего не находит и отправляет на страницу траблшута хьюлета.

Спойлер
$ hp-setup

HP Linux Imaging and Printing System (ver. 3.25.8)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-18 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.

Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=mdns)
error: No devices found on bus: net
error:  HPLIP cannot detect printers in your network.  This may be due to existing firewall settings blocking the required ports.
                When you are in a trusted network environment, you may open the ports for network services like mdns and slp in the firewall. For detailed steps follow the link.
                 https://developers.hp.com/hp-linux-imaging-and-printing/KnowledgeBase/Troubleshooting/TroubleshootNetwork 

Done.


Методом научного тыка установил # sudo apt-get install snmp-mibs. Ругательства по поводу недостающих модулей исчезли, но проблему не решило.

Вот ещё что выдала проверка
$ hp-check
Спойлер
Saving output in log file: /home/nagornyj/hp-check.log

HP Linux Imaging and Printing System (ver. 3.25.8)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-18 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.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to         
determine if the proper dependencies are installed to successfully compile HPLIP.                                                   
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built 
HPLIP supplied tarball has the proper dependencies installed to successfully run.                                                   
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and   
run-time dependencies).                                                                                                             

Check types:                                                                                                                         
a. EXTERNALDEP - External Dependencies                                                                                               
b. GENERALDEP - General Dependencies (required both at compile and run time)                                                         
c. COMPILEDEP - Compile time Dependencies                                                                                           
d. [All are run-time checks]                                                                                                         
PYEXT SCANCONF QUEUES PERMISSION                                                                                                     

Status Types:
    OK
    MISSING       - Missing Dependency or Permission or Plug-in
    INCOMPAT      - Incompatible dependency-version or Plugin-version

warning: unknown-10.4 version is not supported. Using unknown-0 versions dependencies to verify and install...

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

 Kernel: 6.1.159-un-def-alt1 #1 SMP PREEMPT_DYNAMIC Fri Dec 19 08:46:21 UTC 2025 GNU/Linux
 Host: nagornyj-pc
 Proc: 6.1.159-un-def-alt1 #1 SMP PREEMPT_DYNAMIC Fri Dec 19 08:46:21 UTC 2025 GNU/Linux
 Distribution: unknown 10.4
 Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.25.8
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for unknown distro  10.4 version

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

[hplip]
version=3.25.8

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.25.8
html=/usr/share/doc/hplip-3.25.8
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=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=yes
internal-tag=3.25.8
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=no


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



Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 02/18/26 16:12:01
version = 3.25.8


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

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

 cups                 CUPS - Common Unix Printing System                           REQUIRED        -               -               OK         'CUPS Scheduler is running'
 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            10.05.1         OK         -
 error: xsane         xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             -               MISSING    'xsane needs to be installed'
 error: scanimage     scanimage - Shell scanning program                           OPTIONAL        1.0             -               MISSING    'scanimage needs to be installed'
 error: dbus          DBus - Message bus system                                    REQUIRED        -               1.14.10         MISSING    'DBUS may not be installed or not running'
 error: policykit     PolicyKit - Administrative policy framework                  OPTIONAL        -               0.120           MISSING    'policykit needs to be installed'
 network              network -wget                                                OPTIONAL        -               1.24.5          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.8             OK         -

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

 error: libjpeg       libjpeg - JPEG library                                       REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
 error: cups-devel    CUPS devel- Common Unix Printing System development files    REQUIRED        1.1             -               MISSING    'cups-devel needs to be installed'
 error: cups-image    CUPS image - CUPS image development files                    REQUIRED        1.1             -               MISSING    'cups-image needs to be installed'
 error: libpthread    libpthread - POSIX threads library                           REQUIRED        -               b'2.32'         MISSING    'libpthread needs to be installed'
 error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
 error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 error: libavahi-dev  libavahi-dev                                                 REQUIRED        -               -               MISSING    'libavahi-dev needs to be installed'
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
 error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           MISSING    'libcrypto needs to be installed'
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.9.20          OK         -
 error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               MISSING    'python3-notify2 needs to be installed'
 error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             -               MISSING    'python3-pyqt4-dbus needs to be installed'
 error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             -               MISSING    'python3-pyqt4 needs to be installed'
 python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.16          OK         -
 python3-xml          Python XML libraries                                         REQUIRED        -               2.5.0           OK         -
 error: python3-devel Python devel - Python development files                      REQUIRED        2.2             3.9.20          MISSING    'python3-devel needs to be installed'
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               9.4.0           OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.6.13          OK         -

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

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

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

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

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

'/etc/sane.d/dll.d/hpaio' not found.
'/etc/sane.d/dll.d/hplip' not found.
error: 'hpaio' not found in SANE conf files. Is SANE installed?
 error: hpaio         HPLIP-SANE-Backend                                           REQUIRED        -               3.25.8          MISSING    'hpaio not found in /etc/sane.d/dll.conf. hpaio needs to be added in this file.'
 scanext              Scan-SANE-Extension                                          REQUIRED        -               3.25.8          OK         -

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


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

No devices found.

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

 
Cups_PDF_secr_pc
----------------
Type: Unknown
Device URI: implicitclass://Cups_PDF_secr_pc/
PPD: /etc/cups/ppd/Cups_PDF_secr_pc.ppd
warning: Failed to read /etc/cups/ppd/Cups_PDF_secr_pc.ppd ppd file
PPD Description:
Printer status: принтер Cups_PDF_secr_pc свободен. Включен с момента Ср 18 фев 2026 14:22:18
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

Hewlett_Packard_HP_LaserJet_CP_1025_secr_pc
-------------------------------------------
Type: Unknown
Device URI: implicitclass://Hewlett_Packard_HP_LaserJet_CP_1025_secr_pc/
PPD: /etc/cups/ppd/Hewlett_Packard_HP_LaserJet_CP_1025_secr_pc.ppd
warning: Failed to read /etc/cups/ppd/Hewlett_Packard_HP_LaserJet_CP_1025_secr_pc.ppd ppd file
PPD Description:
Printer status: принтер Hewlett_Packard_HP_LaserJet_CP_1025_secr_pc свободен. Включен с момента Ср 18 фев 2026 14:26:42
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

Kyocera_ECOSYS_M2135dn
----------------------
Type: Unknown
Device URI: implicitclass://Kyocera_ECOSYS_M2135dn/
PPD: /etc/cups/ppd/Kyocera_ECOSYS_M2135dn.ppd
warning: Failed to read /etc/cups/ppd/Kyocera_ECOSYS_M2135dn.ppd ppd file
PPD Description:
Printer status: принтер Kyocera_ECOSYS_M2135dn свободен. Включен с момента Ср 18 фев 2026 14:22:19
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

Kyocera_ECOSYS_M2135dn_KPDL_secr_pc
-----------------------------------
Type: Unknown
Device URI: implicitclass://Kyocera_ECOSYS_M2135dn_KPDL_secr_pc/
PPD: /etc/cups/ppd/Kyocera_ECOSYS_M2135dn_KPDL_secr_pc.ppd
warning: Failed to read /etc/cups/ppd/Kyocera_ECOSYS_M2135dn_KPDL_secr_pc.ppd ppd file
PPD Description:
Printer status: принтер Kyocera_ECOSYS_M2135dn_KPDL_secr_pc свободен. Включен с момента Ср 18 фев 2026 14:22:18
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

Kyocera_M2135dn_Priemnaja
-------------------------
Type: Unknown
Device URI: implicitclass://Kyocera_M2135dn_Priemnaja/
PPD: /etc/cups/ppd/Kyocera_M2135dn_Priemnaja.ppd
warning: Failed to read /etc/cups/ppd/Kyocera_M2135dn_Priemnaja.ppd ppd file
PPD Description:
Printer status: принтер Kyocera_M2135dn_Priemnaja свободен. Включен с момента Ср 18 фев 2026 14:22:20
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


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

 
-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: 'hpaio' package is missing/incompatible

Missing Optional Dependencies
-----------------------------
None


Total Errors: 20
Total Warnings: 5


Done.

При том, что чекер требует наличие библиотеки JPEG library REQUIRED MISSING 'libjpeg needs to be installed'

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

 error: libjpeg       libjpeg - JPEG library                                       REQUIRED        -               -               MISSING    'libjpeg needs to be installed'

Попытка установить "недостающую" либру выдаёт "Последняя версия libjpeg уже установлена."
« Последнее редактирование: 18.02.2026 16:17:25 от AndreyNag »

Оффлайн alxl

  • Участник
  • *
  • Сообщений: 340
Ругательства по поводу недостающих модулей исчезли
Да они ничего не меняют. У меня и с этими ругательствами принтеры обнаруживаются и добавляются. А  у принтера с сетью все нормально? У меня на работе есть принтер, в котором сетевая карта сдохла и теперь он только по USB работает. Если принтер уже добавлен другим способом, возможно это мешает его найти программой hp-setup. А что hp-toolbox показывает? Видит уже добавленный ранее принтер?
« Последнее редактирование: 18.02.2026 16:35:35 от alxl »

Оффлайн AndreyNag

  • Участник
  • *
  • Сообщений: 129
Куча доустановленных комплнентов и библиотек из списка "требуемых", проблему не решили.
Что значит вот такое ругательство hp-check и как его победить? Как удалить и установить правильно?

Спойлер
Hewlett_Packard_HP_LaserJet_CP_1025_secr_pc
-------------------------------------------
Type: Unknown
Device URI: implicitclass://Hewlett_Packard_HP_LaserJet_CP_1025_secr_pc/
PPD: /etc/cups/ppd/Hewlett_Packard_HP_LaserJet_CP_1025_secr_pc.ppd
warning: Failed to read /etc/cups/ppd/Hewlett_Packard_HP_LaserJet_CP_1025_secr_pc.ppd ppd file
PPD Description:
Printer status: принтер Hewlett_Packard_HP_LaserJet_CP_1025_secr_pc свободен. Включен с момента Ср 18 фев 2026 16:32:17
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
Спасибо.

Оффлайн rits

  • Участник
  • *
  • Сообщений: 1 445
  • ITS
Научите пожалуйста меня правильно пользоваться hplip. HP Device Menager не находит сетевые принтеры.
# apt-get install hplip hplip-tools hplip-sane hplip-common hplip-gui
(hplip-recommends рекомендуемый пакет, для работы принтера и сканера)
Система > параметры > HP Device Manager
Устанавливаем принтер:
- Драйвер для 1536, HP LaserJet m1537dnf MFP pcl3 (hp-laserjet_m1537dnf_mfp-pcl3.ppd.gz), hpcups 3.16.7;
- установку плагина и добавление принтера подтверждаем рутовским паролем;
Программа для сканирования XSAN (SAN) сама должна увидеть определенные сканеры в системе.
Установка из консоли:
- скачать файл с сайта через браузер или в консоли, если нет блокировок ресурса
# wget https://developers.hp.com/sites/default/files/hplip-3.24.4-plugin.run
или
# curl -O https://developers.hp.com/sites/default/files/hplip-3.24.4-plugin.run
- выполнить
# ./hplip-3.24.4-plugin.run
(system-config-printer - системная настройка принтера.)
Иногда CUPS по умолчанию выключен и нужно добавить его в атозагрузку systemctl enable cups и запустить systemctl start cups, иначе принтер не установиться через hplip-gui
(systemctl start cups && systemctl enable cups &&  systemctl status cups)

Обновить плагин hp-plugin -i
Если выбивает ошибки можно переустановить пакеты: apt-get reinstall hplip hplip-tools;

Установка МФУ из консоли:
# hp-setup -i

Оффлайн SerW

  • Участник
  • *
  • Сообщений: 270
    • Вперед, в Интернет!
AndreyNag, как писали выше, попробуйите так:
Код: (bash) [Выделить]
# hp-setup -i
dragonserw.ru/wiki:basealt