Форум русскоязычного сообщества Ubuntu


Следите за новостями русскоязычного сообщества Ubuntu в Twitter-ленте @ubuntu_ru_loco

Автор Тема: ubuntu 20.04 Cups HPlip  (Прочитано 3411 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн dima35

  • Автор темы
  • Участник
  • *
  • Сообщений: 174
    • Просмотр профиля
ubuntu 20.04 Cups HPlip
« : 29 Января 2022, 19:55:27 »
Постоянно отваливается принтер hp p2015 подключенный  к серверу внутри локалки
Ubuntu Server 20.04.
Читал что нужно обновить HPlip, но он не устанавливается.
ext:~/hplip-3.21.12$ ./hplip-3.20.5.run
Creating directory hplip-3.20.5
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.5 Self Extracting Archive...

HP Linux Imaging and Printing System (ver. 3.20.5)
HPLIP Installer ver. 5.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.

Installer log saved in: hplip-install_Sat-29-Jan-2022_20:11:01.log

\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
 

INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) : c


INTRODUCTION
------------
This installer will install HPLIP version 3.20.5 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).


DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 20.04.

Is "Ubuntu 20.04" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y


DRIVER OPTIONS
--------------
Would you like to install Custom Discrete Drivers or Class Drivers ( 'd'= Discrete Drivers*,'c'= Class Drivers,'q'= Quit)?   : d

Initializing. Please wait...


SELECT HPLIP OPTIONS
--------------------
You can select which HPLIP options to enable. Some options require extra dependencies.

Do you wish to enable 'Network/JetDirect I/O' (y=yes*, n=no, q=quit) ? y
Do you wish to enable 'Graphical User Interfaces (Qt5)' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'PC Send Fax support' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'Scanning support' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'HPLIP documentation (HTML)' (y=yes*, n=no, q=quit) ? n


ENTER USER PASSWORD
-------------------
Please enter the sudoer (iron)'s password:
 

INSTALLATION NOTES
------------------
Enable the universe/multiverse repositories. Also be sure you are using the Ubuntu "Main" Repositories. See: https://help.ubuntu.com/community/Repositories/Ubuntu for more information.  Disable the CD-ROM/DVD source if you do not have the Ubuntu installation media inserted in the drive.

Please read the installation notes. Press <enter> to continue or 'q' to quit:


SECURITY PACKAGES
-----------------
AppArmor is installed.
AppArmor protects the application from external intrusion attempts making the application secure

Would you like to have this installer install the hplip specific policy/profile (y=yes*, n=no, q=quit) ? y


RUNNING PRE-INSTALL COMMANDS
----------------------------
OK


MISSING DEPENDENCIES
--------------------
Following dependencies are not installed. HPLIP will not work if all REQUIRED dependencies are not installed and some of the HPLIP features will not work if OPTIONAL dependencies are not installed.
Package-Name         Component            Required/Optional   
libjpeg              base                 REQUIRED           
libtool              base                 REQUIRED           
cups-devel           base                 REQUIRED           
cups-image           base                 REQUIRED           
gcc                  base                 REQUIRED           
libpthread           base                 REQUIRED           
libnetsnmp-devel     network              REQUIRED           
libcrypto            network              REQUIRED           
python3-devel        base                 REQUIRED           
Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ?


INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: libjpeg (libjpeg - JPEG library)

Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?
warning: Missing REQUIRED dependency: libtool (libtool - Library building support services)

Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?
warning: Missing REQUIRED dependency: cups-devel (CUPS devel- Common Unix Printing System development files)

Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?
warning: Missing REQUIRED dependency: cups-image (CUPS image - CUPS image development files)

Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?
warning: Missing REQUIRED dependency: gcc (gcc - GNU Project C and C++ Compiler)

Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?
warning: Missing REQUIRED dependency: libpthread (libpthread - POSIX threads library)

Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?
warning: Missing REQUIRED dependency: python3-devel (Python devel - Python development files)

Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?
warning: Missing REQUIRED dependency: libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files)

Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?
warning: Missing REQUIRED dependency: libcrypto (libcrypto - OpenSSL cryptographic library)

Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?


INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.


CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.


RUNNING PRE-PACKAGE COMMANDS
----------------------------
sudo dpkg --configure -a (Pre-depend step 1)
sudo apt-get install --yes --force-yes -f (Pre-depend step 2)
sudo apt-get update (Pre-depend step 3)
OK


DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --assume-yes libjpeg-dev'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --assume-yes libjpeg-dev'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --assume-yes libjpeg-dev'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes libjpeg-dev'
Please wait, this may take several minutes...
error: Package install command failed with error code 100
note: Some packages may not get installed on python3 due to distro incompatibilites

note: Please check for more information at http://hplipopensource.com/node/369
Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ? ^C
error: Aborted.




 Кто-то ставил свежий HPlip?

E [29/Jan/2022:18:47:11 +0200] [Client 2] Unable to encrypt connection: A TLS fatal alert has been received.
E [29/Jan/2022:18:47:11 +0200] [Client 3] Unable to encrypt connection: A TLS fatal alert has been received.
E [29/Jan/2022:18:47:11 +0200] [Client 4] Unable to encrypt connection: A TLS fatal alert has been received.
E [29/Jan/2022:18:47:16 +0200] [Client 6] Unable to encrypt connection: A TLS fatal alert has been received.
E [29/Jan/2022:18:47:19 +0200] [Client 7] Unable to encrypt connection: A TLS fatal alert has been received.
E [29/Jan/2022:18:47:29 +0200] [Client 8] Unable to encrypt connection: A TLS fatal alert has been received.
E [29/Jan/2022:18:47:32 +0200] [Client 10] Unable to encrypt connection: A TLS fatal alert has been received.
E [29/Jan/2022:18:50:06 +0200] [Client 21] Unable to encrypt connection: A TLS fatal alert has been received.

Вот сам конфиг CUPS

LogLevel warn
PageLogFormat
MaxLogSize 1m
# Allow remote access
Port 631
Listen /run/cups/cups.sock
Browsing On
BrowseLocalProtocols dnssd
DefaultAuthType Basic
WebInterface Yes
<Location />
  # Allow remote administration...
  Order allow,deny
  Allow [member=6239]Local[/member]
</Location>
<Location /admin>
  AuthType Default
  Require valid-user
  # Allow remote administration...
  Order allow,deny
  Allow [member=6239]Local[/member]
</Location>
<Location /admin/conf>
  AuthType Default
  Require user [member=54482]system[/member]
  # Allow remote access to the configuration files...
  Order allow,deny
  Allow [member=6239]Local[/member]
</Location>
<Location /admin/log>
  AuthType Default
  Require user [member=54482]system[/member]
  # Allow remote access to the log files...
  Order allow,deny
  Allow [member=6239]Local[/member]
</Location>
<Policy default>
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
  </Limit>
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Repr>
    Require user [member=8428]Owner[/member] [member=54482]system[/member]
    Order deny,allow
  </Limit>
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
« Последнее редактирование: 29 Января 2022, 22:16:11 от Aleksandru »
Ubuntu 16.04-LTS;  Asus-BP1AD  mini-atx-desktop;
Intel G3240, Video-Intel, Ram-8Gb
XonarDS- ОУ  - opa2134

Оффлайн c47

  • Активист
  • *
  • Сообщений: 356
    • Просмотр профиля
Re: ubuntu 20.04 Cups HPlip
« Ответ #1 : 29 Января 2022, 22:08:42 »
А разве Hplip и cups - это одно и то же? Вроде нет. У меня в сети hplip установлен по дефолту, запускал hp-setup -i и всё, но предпочитал всё-же cups: через браузер очень удобное управление хоть откуда.
Постоянно отваливается принтер
Может проблема не в системе? Принтер дедушка уже, панелька у него отсутствует как таковая, так что не отдебажить толком, но в данном случае что-то менять в системе я бы посоветовал как последний вариант, если прим ничего не помогает и денег на сетевой принтер ну никак не наскребсти.

Оффлайн dima35

  • Автор темы
  • Участник
  • *
  • Сообщений: 174
    • Просмотр профиля
Re: ubuntu 20.04 Cups HPlip
« Ответ #2 : 29 Января 2022, 22:48:15 »
Так при установке hplip нас сервере cups автоматом подтягивается.
Дедушка очень мало отпечатал за все время
Ubuntu 16.04-LTS;  Asus-BP1AD  mini-atx-desktop;
Intel G3240, Video-Intel, Ram-8Gb
XonarDS- ОУ  - opa2134

Оффлайн c47

  • Активист
  • *
  • Сообщений: 356
    • Просмотр профиля
Re: ubuntu 20.04 Cups HPlip
« Ответ #3 : 30 Января 2022, 09:05:53 »
Дедушка очень мало отпечатал за все время
вот вообще не показатель. со временем конденсаторы теряют ёмкость, так что даже если условный принтер простоял 30 лет в коробке, то сейчас его состояние всё равно хуже, чем когда его упаковывали на заводе.
1.а) он подключен по сети? пинги до принтера от сервера проверяли, принтер в одной подсети с сервером?
1.б) если подключен по usb, то какова длина кабеля, есть ли ферритовые кольца? на нём? запускали ли на сервере
udevadm monitorчтобы проверить что происходит с подсистемой usb в момент когда принтер "отваливается"?
2) что пишет cups в статусе принтера когда он "отваливается"?

Morisson

  • Гость
Re: ubuntu 20.04 Cups HPlip
« Ответ #4 : 30 Января 2022, 09:19:37 »
А без hplip штатными средствами не печатает?
Я отказался от hplip, поскольку все мои принтеры hp работают без него, скорее всего не исключение и ваш старичек.
От hp мне нужен только их плагин несвободный, нужный для работы некоторых несвободных фич.
Поробуйте удалить принтер и подключить его штатной утилитой для принтеров,- возможно Вам больше понравится и работать будет стабильнее.
system-config-printer она по-моему она называется у вас.

А, пропустил, у Вас серверная Ubuntu же..
« Последнее редактирование: 30 Января 2022, 09:23:50 от Morisson »

Онлайн F12

  • Администратор
  • Старожил
  • *
  • Сообщений: 4402
    • Просмотр профиля
Re: ubuntu 20.04 Cups HPlip
« Ответ #5 : 30 Января 2022, 10:21:10 »
Постоянно отваливается принтер hp
- а hp-check и hp-doctor что говорят?..

Оффлайн dima35

  • Автор темы
  • Участник
  • *
  • Сообщений: 174
    • Просмотр профиля
Re: ubuntu 20.04 Cups HPlip
« Ответ #6 : 30 Января 2022, 11:13:29 »
hp-check
hp-check
Saving output in log file: /home/iron/hp-check.log

HP Linux Imaging and Printing System (ver. 3.20.3)
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: ubuntu-20.04 version is not supported. Using ubuntu-19.10 versions dependencies to verify and install...

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

 Kernel: 5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 16:49:16 UTC 2022 GNU/Linux
 Host: next
 Proc: 5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 16:49:16 UTC 2022 GNU/Linux
 Distribution: ubuntu 20.04
 Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.20.3
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro  20.04 version

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

[hplip]
version=3.20.3

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
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=no
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=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.20.3
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:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 01/30/22 10:12:22
version = 3.20.3

[last_used]
device_uri = hp:/usb/HP_LaserJet_P2015_Series?serial=00CNBW7CC3ZC
printer_name = HP_LaserJet_P2015


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

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

 error: cups          CUPS - Common Unix Printing System                           REQUIRED        1.1             -               INCOMPAT   'CUPS may not be installed or not running'
 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.50            OK         -
 error: xsane         xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             -               MISSING    'xsane needs to be installed'
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.29          OK         -
 error: dbus          DBus - Message bus system                                    REQUIRED        -               1.12.16         MISSING    'DBUS may not be installed or not running'
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
 network              network -wget                                                OPTIONAL        -               1.20.3          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.7             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        -               -               MISSING    'cups-devel needs to be installed'
 error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 error: libpthread    libpthread - POSIX threads library                           REQUIRED        -               b'2.31'         MISSING    'libpthread needs to be installed'
 libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
 error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel 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.8.10          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.2.9           OK         -
 error: python3-devel Python devel - Python development files                      REQUIRED        2.2             3.8.10          MISSING    'python3-devel needs to be installed'
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               7.0.0           OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.5.34          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        -               9.3.0           MISSING    'gcc needs to be installed'
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.2.1           OK         -

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

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

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

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

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

No Scanner found.

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

  Device URI                                            Model                               
  ----------------------------------------------------  ------------------------------------
  hp:/usb/HP_LaserJet_P2015_Series?serial=00CNBW7CC3ZC  HP LaserJet P2015 Series           

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

 
HP_LaserJet_P2015_Series
------------------------
Type: Unknown
Device URI: usb://HP/LaserJet%20P2015%20Series?serial=00CNBW7CC3ZC
PPD: /etc/cups/ppd/HP_LaserJet_P2015_Series.ppd
PPD Description: HP LaserJet p2015 Series pcl3, hpcups 3.20.3
Printer status: принтер HP_LaserJet_P2015_Series свободен. Включен с момента Вс 30 янв 2022 10:09:34
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


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

USB             None                           Required        -        -        OK       Node:'/dev/bus/usb/001/003' Perm:'  root  lp rw- rw- r--'
 
-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing/incompatible
error: 'libdbus-1-dev' package is missing/incompatible
error: 'libjpeg-dev' package is missing/incompatible
error: 'libcups2-dev' package is missing/incompatible
error: 'cups-bsd' package is missing/incompatible
error: 'cups-client' package is missing/incompatible
error: 'libcupsimage2-dev' package is missing/incompatible
error: 'build-essential' package is missing/incompatible
error: 'libsane-dev' package is missing/incompatible
error: 'libsnmp-dev' package is missing/incompatible
error: 'snmp-mibs-downloader' package is missing/incompatible
error: 'openssl' package is missing/incompatible
error: 'python3-pyqt4' package is missing/incompatible
error: 'gtk2-engines-pixbuf' package is missing/incompatible
error: 'python3-dev' package is missing/incompatible
error: 'libtool' package is missing/incompatible
error: 'libtool-bin' package is missing/incompatible
error: 'build-essential' package is missing/incompatible

Missing Optional Dependencies
-----------------------------
error: 'gtk2-engines-pixbuf' package is missing/incompatible
error: 'xsane' package is missing/incompatible
error: 'python3-notify2' package is missing/incompatible
error: 'python3-dbus.mainloop.qt' package is missing/incompatible

Total Errors: 16
Total Warnings: 1

« Последнее редактирование: 30 Января 2022, 11:22:45 от dima35 »
Ubuntu 16.04-LTS;  Asus-BP1AD  mini-atx-desktop;
Intel G3240, Video-Intel, Ram-8Gb
XonarDS- ОУ  - opa2134

Оффлайн c47

  • Активист
  • *
  • Сообщений: 356
    • Просмотр профиля
Re: ubuntu 20.04 Cups HPlip
« Ответ #7 : 30 Января 2022, 15:21:05 »
Я отказался от hplip
МФУ, установленные с помощью hp-setup потом становятся доступными для сканирование любыми программами для вканирования, типа sane, а cups - нет. Так-же cups не даёт обратной связи, в случае если принтер недоступен (т.е. можно установить сетевой принтер по ip, и cups даже не смутит, что до него нет связи. установил, статус "ожидает" и всё, отправь что-нибудь на печать - он только тогда скажет "принтер не подключен"). К тому же hp-setup с первого раза устанавливает принтеры в других подсетях, а с CUPS из-за особенностей установки, описанных выше, можно потратить полдня на пляски с бубном. Вот управлять уже установленными принтерами - это да - cups вне конкуренции!

Morisson

  • Гость
Re: ubuntu 20.04 Cups HPlip
« Ответ #8 : 30 Января 2022, 15:43:38 »
МФУ, установленные с помощью hp-setup
У меня все мфу, а доступными они становятся не из-за hp-setup, а из-за hplip-plugin, который устанавливается в процессе. В арче, к примеру, такой отдельный пакет есть. Тут же он подтягивается скриптом установки hp-setup. И не для всех мфу он нужен.

Оффлайн dima35

  • Автор темы
  • Участник
  • *
  • Сообщений: 174
    • Просмотр профиля
Re: ubuntu 20.04 Cups HPlip
« Ответ #9 : 30 Января 2022, 17:48:53 »
Пока остановился на варианте ниже, все hplip снес к чертям.

Описание:   HP LaserJet P2015 Series
Расположение:   Локальный принтер
Драйвер:   HP LaserJet P2015 - CUPS+Gutenprint v5.3.3 (черно-белый, дуплексная печать)
Подключение:   usb://HP/LaserJet%20P2015%20Series?serial=00CNBW7CC3ZC
По умолчанию:   job-sheets=none, none media=iso_a4_210x297mm sides=one-sided

Посмотрю будут ли отвалы на gutenprint cups на серваке с принтером.

На рабочей машине собрал пакет hplip последний. На серваке не выход такое делать, куча зависимостей тянет + qt и вроде даже куски gui

hplip-gui на рабочей машине кстати в упор не видит сетевые принтеры от слова вообще

Кстати появилась еще такая штука новая
https://github.com/OpenPrinting/hplip-printer-app#installing-and-building
« Последнее редактирование: 30 Января 2022, 18:05:13 от dima35 »
Ubuntu 16.04-LTS;  Asus-BP1AD  mini-atx-desktop;
Intel G3240, Video-Intel, Ram-8Gb
XonarDS- ОУ  - opa2134

 

Страница сгенерирована за 0.045 секунд. Запросов: 22.