hplip не работает с новой установкой Ubuntu 20.04
Я только что выполнил чистую установку Ubuntu 20.04.1 на Lenovo Yoga 730. У меня есть беспроводной HP Photosmart C4780, который я успешно настроил на другом компьютере Ubuntu 20.04 и Ubuntu 18.04, просто используя
Когда я впервые вошел в новую установку, я использовал
который показал мне, что были установлены hplip и hplip-data. Я побежал
а потом попробовал
что не удается с ошибкой
Чтобы проверить, что не так, я побежал
Первое, что кажется странным, это то, что сообщается, что hplip-gui в Ubuntu 20.04 скомпилирован против qt5. Также многие из этих пакетов, о которых было сообщено об отсутствии / несовместимости, уже установлены (через apt).
Перед моей новой установкой я попробовал apt purge избавиться от всего hplip и переустановить их, но безуспешно. Я пробовал это несколько раз и в конце концов каким-то образом сломал мою систему, что привело к новой установке.
Я не уверен, что делать дальше, чтобы hplip заработал.
3 ответа
На сайте запуска hplip я нашел решение, которое сработало для меня. Это пост №7 в этой теме. Проблема, которую я описываю в вопросе, вызвана Ubuntu 20.04 с использованием python3 с ограниченной поддержкой python2. Если /usr/bin/python ссылается на версию python 2, то при запуске hplip-3.20.**. Run будут возникать проблемы, о которых сообщалось, при попытке и неуспешной установке необходимых компонентов python.
Чтобы диагностировать эту проблему, запустите
если вы получите версию с первой цифрой 2, то исправление будет следующим
Как только я это сделал, то запустил
Вам необходимо установить python3 и все инструменты.
Затем, когда вы бежите hplip ответить «нет» на неудачную установку старого питона.
что кажется необходимым, хотя я не знаю почему. Удалите принтер, затем переустановите, и он должен работать.
Откройте терминал и удалите ранее установленную версию:
Перейдите в папку, где был загружен установщик.
Для установки выполните эту команду:
Выберите режим установки Автоматически, введите
Убедитесь, что установщик обнаружил правильный дистрибутив Linux.
Введите пароль пользователя root / суперпользователя.
Теперь установщик определит, какие зависимости вашей системе потребуется установить перед установкой HPLIP.
Если в вашей системе отсутствуют какие-либо зависимости, они будут загружены и установлены.
./configure подготавливает HPLIP к установке, а также проверяется, что ваша система имеет все необходимые зависимости для HPLIP.
Затем выполняется make. Сделайте компиляцию («сборку») HPLIP для вашей системы.
Используйте «hp-setup» для настройки вашего принтера.
Затем инструмент настройки отобразит обнаруженные принтеры.
Выберите файл PPD, который будет использоваться для вашего принтера, обычно вы хотите выбрать рекомендуемый файл PPD.
Щелкните «AddPrinter», чтобы завершить процесс настройки принтера.
iPhonesia.ru
Как исправить ошибку Successful-ok-ignored-or-substituted-attributes на macOS
С обновлением на операционную систему macOS Big Sur пользователи могут встретиться с ошибкой Successful-ok-ignored-or-substituted-attributes при попытке добавить принтер. Данная ошибка устраняется довольно легко и быстро. iPhonesia.ru рассказывает как.
В большинстве случаев с такой проблемой сталкиваются пользователи принтеров, сканеров и МФУ от компании Epson. Связано это с тем, что при обновлении на macOS Big Sur операционная система удаляет несовместимые драйверы с компьютера Mac. Решением данной проблемы является повторная загрузка и установка нового драйвера для вашего принтера/сканера/МФУ.
Как исправить ошибку Successful-ok-ignored-or-substituted-attributes с Epson?
2. Пролистните вниз до Find your model.
3. В левом поле введите модель вашего принтера. Например, L200.
4. В правом поле выберите Russian и нажмите Search.
5. В вываливающемся списке справа выберите macOS 11 (Big Sur). Страница обновится.
6. Нажмите на «Драйверы» под Product Setup и выберите Driver.
7. Скачайте и установите dmg-файл.
8. Готово. Перезагружать Mac не надо. Можно приступать к печати.
Question: Q: Printer Driver
Trying to update the printer driver for an Epson Stylus Photo R360 printer to work with OS Big Sur. The Epson compatibility assistant confirms there is a driver available. But on trying to install the printer I get an error message «An error occurred while trying to add the selected device. successful-ok-ignored-or-substituted-attributes» then abandons the installation. Anybody any idea how to get around this please?
Posted on Nov 13, 2020 12:22 PM
I have found the following driver :
Posted on Nov 17, 2020 11:34 PM
Helpful answers
Epson provided a software updater for this printer from June 04, 2019 and claim it is for Catalina. Since Catalina was not introduced until Apple’s WWDC later in that month, this is likely a 32-bit printer solution that is not compatible with Catalina, and certainly not for Big Sur. This is at least a 15 year old device that was retired by Epson long ago, and is not supported by Apple’s AirPrint either.
Time to shop for a new printer that specifically advertises it supports Apple’s AirPrint, so you are not dependent on Epson driver support.
Nov 15, 2020 7:07 AM
There’s more to the conversation
Loading page content
Page content loaded
I have the same problem with the Epson L805 printer. After upgrading to the Big Sur version, the printer returns the error-successful-ok-ignored-or-substitutes-attributes. Can you help me solve the problem? I can’t work((((
Nov 15, 2020 5:33 AM
Nov 15, 2020 5:39 AM
Have you tried deleting the printer and then adding it back? Have you checked Epson website for your model for compatibility?
Nov 15, 2020 6:01 AM
Epson provided a software updater for this printer from June 04, 2019 and claim it is for Catalina. Since Catalina was not introduced until Apple’s WWDC later in that month, this is likely a 32-bit printer solution that is not compatible with Catalina, and certainly not for Big Sur. This is at least a 15 year old device that was retired by Epson long ago, and is not supported by Apple’s AirPrint either.
Time to shop for a new printer that specifically advertises it supports Apple’s AirPrint, so you are not dependent on Epson driver support.
Nov 15, 2020 7:07 AM
Thanks for your reply. but why did he still print on Catalina, but no Big sur?. And if they go back to the previous version of Mojave the problem will be solved? But the computer will work much worse? I don’t know much about it.. and I can’t afford to buy a new printer yet(((
IPP 1.1 | Код состояния successful-ok-ignored-or-substituted-attributes
Код состояния «successful-ok-ignored-or-substituted-attributes» в IPP 1.1 информирует о том, что Запрос выполнен успешно, но некоторые предоставленные атрибуты (1) были проигнорированы или (2) неподдерживаемые значения были заменены поддерживаемыми значениями или были проигнорированы, чтобы выполнить операцию, не отклоняя ее. (раздел B.1.2.2 из RFC 8011)
Неподдерживаемые атрибуты, синтаксисы атрибутов или значения ДОЛЖНЫ быть возвращены в группе «Unsupported attributes» (Неподдерживаемые атрибуты) ответа для всех операций. Из этого правила есть исключение для операций запроса Get-Printer-Attributes, Get-Jobs и Get-Job-Attributes только для атрибута операции «requested-attributes» (требуемые-атрибуты). Когда предоставленные значения атрибута операции «requested-attributes» (запрашиваемые атрибуты) запрашивают атрибуты, которые не поддерживаются, объект IPP ДОЛЖЕН вернуть атрибут операции «requested-attributes» (запрашиваемые атрибуты) в группе ответа «Unsupported Attributes» (неподдерживаемые атрибуты) (только с неподдерживаемыми значениями). (Смотри раздел 4.1.7 и раздел 4.2.1.2 из RFC 8011)
Код состояния «successful-ok-ignored-or-substituted-attributes» в IPP 1.1 относится к классу ответа операции Successful. (раздел B.1.2 из RFC 8011). Другие «Успешные» коды состояния перечислены в таблице.
Arch Linux
You are not logged in.
#1 2019-09-21 17:18:16
A few months ago I got an HP Deskjet 2630 to replace my old printer and seamlessly installed it without any issues using the HP Device Manager interface. I don’t need to print things frequently, so on Friday I tried to print something and realised my printer wasn’t working anymore.
Initially, I was getting a «failed filter» error in the printing queue when trying to print a document. After some online searching and trying some suggested fixes, I couldn’t really get anywhere and decided to just remove the printer and install it again. However, this came with its own set of problems. This is the output of hp-setup, which produces the same «error: Printer queue setup failed. Error: successful-ok-ignored-or-substituted-attributes» line whether I ran it as root, as a user or through the GUI:
I ran hp-doctor to figure out what’s going on:
Which seems to point at some Python dependencies problem. After more online searching I installed some extra Python packages, but the problem persisted. I read some people suggesting that what looked like similar problems could be solved by installing python-pyqt4 from the AUR, but yay failed to build this when I gave it a shot, so that’s where I stopped, lest I spent the rest of my weekend going down a rabbit hole of nested errors with no guarantee of success.
I downloaded hplip directly form HP’s website and ran that package hoping the results would be different:
But as you can see, it’s still pointing to Python dependency errors. I don’t know if by solving this I can get past the initial problem, but would appreciate some guidance, especially given that I already have the following installed:
My problem may be related to this other thread, but the symptoms are slightly different: https://bbs.archlinux.org/viewtopic.php?id=249239
I shamelessly went to a windows partition that I hadn’t used in 8 months to print the stuff I needed, so it’s not urgent but as I said above, any help’s appreciated!
Last edited by faetter (2019-12-18 00:42:21)
None are more enslaved than those who falsely believe they are free.