- Installing HPLIP
- Package Install
- Manual Install
- Установка принтера HP (Hewlett Packard) в Linux
- Установка принтера HP в Linux Ubuntu
- Установка принтера HP серии LaserJet в Linux Mint
- Установка принтера HP в Linux Debian
- Установка принтера Hewlett Packard в Linux CentOS
- Установка принтера HP в Fedora Linux
- About HPLIP
- Installation How-Tos
- Installation
- How to Check if HPLIP is Installed On Your System
- How to Install HPLIP Using the Automatic Installer
- How to unblock ports and enable services in the firewall
- OpenSUSE
- Avahi
- mDNS/Bonjour
- mDNS/Bonjour
- How to Manually Install the HPLIP Source Code Tarball
- How to install an HPLIP Patch
- How to Uninstall HPLIP
- How do I open a Terminal/Console to Install HPLIP or Run an HPLIP Command Line Program?
- How to Disable Software Install Mode on Photosmart A530 and A630
- How to install HPLIP with qt5
- Install HPLIP on Red Hat 9
- What is the HPLIP Binary Plug-In and How Do I Install It?
- Installation instruction for scanjet feature dependecny packages in RHEL6 and RHEL7
- How to install HPLIP on RHEL8
Installing HPLIP
Package Install
A pre-build package is available for certain Linux distributions, based on the popularity of the distribution.
- Red Hat Enterprise Linux (6.0, 7.0,8.0)
Download a package by click here.
We recommend that most users use the Automatic Installer .
Linux distributions supported by the automatic installer:
- SUSE Linux (13.2, 42.1, 42.2, 42.3,15.0,15.1,15.2,15.3)
- Fedora (22, 23, 24, 25, 26, 27, 28, 29,30,31,32,33,34)
- Linux Mint (17, 17.1, 17.2, 17.3, 18, 18.1, 18.2, 18.3, 19, 19.1,19.2,19.3,20.04,20.1,20.2)
- Red Hat Enterprise Linux (6.0, 7.0, 7.2,7.6,7.7,7.8,7.9,8.0,8.2,8.3,8.4)
- Boss (5.0)
- Ubuntu (12.04, 14.04, 15.10, 16.04, 16.10, 17.04, 17.10, 18.04,18.10,19.04,19.10,20.04,20.10,21.04)
- Debian (7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 8.5, 8.6, 8.7, 8.8, 9.1, 9.2, 9.3, 9.4,9.5 ,9.6,9.7,9.8,9.9,10.10.1,10.2,10.3,10.4,10.5,10.6,10.7,10.8,10.9)
- Manjaro Linux (17.1.4,18.0,18.0.4,18.1.0,18.1.2,19.0,20.0,20.2,21.0.7)
Instructions for using the Automatic Installer.
Manual Install
While this is the more traditional method to download and install HPLIP, it requires a degree of knowledge that users new to Linux may find difficult. It requires that you manually install dependencies and run build and install commands in a console/terminal.
To use it, follow the directions at our Manual Installation Instructions page.
Источник
Установка принтера HP (Hewlett Packard) в Linux
Нынешние дистрибутивы Linux поддерживают большое количество разных периферийных устройств — сканеры, плоттеры, принтеры и т.д. Весьма часто, у новичков, недавно перешедших на Linux, выясняют проблемы с установкой нового принтера. Soft называется HP Device Manager, весь пакет именуется HP Linux Imaging and Printing (HPLIP). Текущая версия програмки для установки принтера HPLIP поддерживает 2201 механизм HP. Специально для обеспечения печати на большинстве струйных (inkjet) и многочисленных лазерных (LaserJet) принтеров, а также сканирования, отправки факсов и службы с картами памяти, была разработана система печати HPLIP (HP Linux Printing and Imaging System). В Ubuntu довольно установить пакет hplip-gui, и он подтянет всё нужное.
Когда в операционной системе Windows пользователь ищет драйвера под поставленное в компьютере «железо», то в Linux, нередко, обстоит все с пунктуальностью до наоборот. Покупая принтер, сканер, тв тюнер и иное оборудование, поклонник линукс систем производит мониторинг имеющийся драйверов под желаемое оборудование и совершает покупку, исходя из сооруженного исследования. Если устройство уже приобретено а драйвер по умолчанию в системе не поставлен , начинаются «танцы с бубном». Сегодня мы разберем вопрос с аппаратом драйвера для принтеров HP LaserJet P1005, P1006, P1007, P1008, P1505, P1505n, P2014, P2014n, M1005 MFP, M1120 MFP под операторную систему Ubuntu Linux
Установка принтера HP в Linux Ubuntu
Водворить принтер HP под Linux стало гораздо проще чем водворить принтер под Windows.
sudo apt-get install hplip-gui
Когда принтер перестал печатать после переподключения, то необходимо переустановить плагин
sudo hp-plugin -i
и испробовать, что он появился в списке:
HPLIP подключает в себя следующее: системные службы для связи с принтерами; драйвер HP CUPS для двухстороннего обмена данными с принтерами HP (hp:); драйвер HP CUPS для отправки факсов (hpfax:); драйвер HPIJS Ghostscript IJS сделанный для растеризации из файлов PostScript или Ghostscript, а также преображения факсов в PostScript; утилиты для обслуживания принтеров (выслеживание за количеством чернил, очистки головки и ее калибрации); утилиты для переписывания данных с карт памяти, вставляемых в современные многофунциональные устройства (типа «сканер-принтер-копир»); утилиты для службы с факсом; графическая панель для доступа ко всем фунциям вышеуказанных приборов; драйвер HPAIO для SANE (hpaio), поддерживающий распознавание в многофункциональных устройствах планшетного типа и устройствах с самодействующей подачей документов.
На официальном сайте HPLIP вразумительна самая последняя версия (2.8.12), которая на текущий момент поддерживает более 1,536 моделей принтеров. Для этого, чтобы определить, поддерживает ли HPLIP модель вашего принтера HP, перейдите по данной ссылке. После того, как вы нашли и выбрали модификация своего принтера в списке поддерживаемых HPLIP принтеров, адресуете внимание на строчку с рекомендованной версией HPLIP (requires HPLIP version …). В ней показана минимальная версия HPLIP, которую необходимо водворить для корректной работы вашего устройства HP. Для этого, чтобы посмотреть какая версия системы HPLIP водворена у вас, выполните в командной строке:
Адресуем внимание на строку, начинающуюся с символов «ii». В этой строчке (в третьей колонке) мы увидим версию установленной HPLIP (в умываем случае это версия 2.8.7). Если в вашем Ubuntu находится более ранняя версия HPLIP, чем требуется для удачной установки вашего принтера, вам следует выполнить ее обновление. Для этого, чтобы установить принтер, выполните в консоли «sudo hp-setup», а потом следующие действия: Выберите тип подключения (современные приборы подключаются через USB, поэтому выбираем — USB) и нажмите на «Дальше» (Next); Выберите модель вашего принтера (он обязан опознаться системой автоматически, а если не опознался, то изберите его вручную из списка поддерживаемых принтеров); Смело давите на «Далее» (Next) в двух последующих окнах; В окончании установки нажмите на «Завершить» (Finish). После данных действий ваш принтер будет установлен в систему и станет распечатана тестовая страница. Для того, чтобы водворить ваш принтер HP, принтером по умолчанию, выберите Система — Характеристики — Принтер по умолчанию.
Установка принтера HP серии LaserJet в Linux Mint
Заключений крайне мало (особенно русскоязычных, что может начинать проблемой для пользователей с крайне малыми познаниями англосаксонского), так что думаю стоит выложить. Если при подключении принтера от изготовителя HP, особенно серии LaserJet (и особенно моделей 1018 и 1020), ваш дистрибутив заметил/не обнаружил устройство и драйвера к нему автоматически, важный документ отправляется на печать и отписывается удачно завершённым, а на деле же безличных действий не происходит, предлагается следующее решение:
sudo apt-get install hplip-gui
Включим пароль суперпользователя. Просматриваем интересные и не очень записи и при вопросе о расширенье со скачиванием драйверов пишем «Y» или «y» (без кавычек) и жмём Enter. После аппараты всех пакетов и зависимостей закрываем терминал написав команду ручками или нажав в правом верхнем углу крестик. Дальше открываем меню (левый нижний угол) => «Характеристики» => «HPLIP Toolbox». Дальше всё интуитивно ясно, плюс программа умная, большую часть службы сделает за вас.
Для выполнение всех действий, конечно, требуется наличие интернета!
Всё, при правильном исполнении условий принтер работает, можете побаловать себе печатью пробной страницы или, к примеру, скопипастить данный текст и распечатать его.
В раздел «Администрирование» => «Printers» залезать не нужно, если вы туда сходили до прочтения заметки — поставьте там все настройки по дефолту, рекомендованные. Проприетарные опции и дрова работать не желают (хотя, может вам и повезёт). На этот момент в Linux Mint 18.3 Cinnamon, опробовано лично, на остальных оболочках/версиях тоже вроде подсобляет (пару случаев было — проверено, сработало).
Установка принтера HP в Linux Debian
Если ты ни в какое время Этим не занимался, то возможно что в самый важный момент наиболее важная и маленькая деталь, сразу не встанет. Но не болей сильно об этом а просто помни что тебе постоянно помогут. Установка CUPS:
#apt-get install cupsys foomatic-bin foo2zjs cups-pdf
CUPS, удерживающая большинство стандартов, свободная подсистема печати. Еще я советую принтер HP LaserJet 1022 Foomaic/foo2zjs. Система печати HPLIP (HP Linux Printing and Imaging System) нужна для работы с принтерами и МФУ (многофункциональные устройства) производства компании Hewlett-Packard. Она поддерживает печать на большинстве струйных и многочисленных лазерных (LaserJet) принтерах, а также сканирование, отправку факсов и службу с картами памяти (с фотографиями) на большинстве МФУ. Настройка принтера и драйвера HP:
#apt-get install hplip hplip-gui
#hp-setup
Для этого чтобы видеть самбу в CUPS
#apt-get install smbclient
#aptitude install cupsys-driver-gimpprint gimp-print
После что можно настраивать печать из программы
Установка принтера Hewlett Packard в Linux CentOS
Как настроить драйвер для принтера HP all-in-one / сканнера на CentOS Linux? Сначала установите эти пакеты и просите загрузить и установить другие плагины. Без этих пакетов мой принтер трудится.
# yum install hplip hplip-gui hpijs
Во-2-х, установите плагины для принтера HP.
Потом вы можете попробовать снова установить принтер:
Установка принтера HP в Fedora Linux
Как использовать принтер HP, присоединенный к USB на Fedora Linux. Установите эти пакеты и попросите навалить и установить другие плагины. Без этих пакетов мой принтер трудится.
# yum install hplip hplip-gui hpijs
Сможет также понадобиться запустить:
для аппараты плагинов для принтера HP. Это приводит к трюку, когда принтер прекращает работать после rebooting/resetting/etc. После этого, как я установил соответствующее программное обеспечение драйвера принтера HP последующим образом.
yum install hplip hplip-gui hpijs
Я не могу приплюсовать свой принтер (HP LaserJet Professional p1606dn) с поддержкою hp-setup.
Проблема в том, что я не могу загрузить двоичный файл включаемого модуля из назначения по умолчанию. Затем я получаю hplip-3.14.1.run и бросу его. Тем не менее, он по-прежнему не может загрузить двоичный файл включаемого модуля, и вся процедура находится здесь. Наконец, я удачно добавляю свой принтер с помощью HP Device Manager последующим образом.
Источник
About HPLIP
HPLIP (HP Linux Imaging & Printing) is an HP-developed solution for printing, scanning, and faxing with HP inkjet and laser printers in Linux. The HPLIP project provides printing support for 3,100 printer and scanner models, including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy), Business Inkjet, LaserJet, Edgeline Multi-function Printers,LaserJet MFPs and ScanJets. (Note: Not all models are currently supported. See Supported Printers for more information.)
HPLIP is free, open source software distributed under the MIT, BSD, and GPL license. See the Licensing Information page for more information.
HP does not provide formal consumer or commercial support for this software. Support is provided informally through a series of resources at the Launchpad.net website, and on this HP-sponsored website.
On this HPLIP website you will find FAQ’s, open discussion email lists, installation instructions, product support (including a list of printers supported AND unsupported) as well as other support documentation. If you need hardware support or additional assistance with non-Linux operating systems (such as Microsoft Windows) go to the main HP Support site.
The HPLIP Project maintains a project page, hosted by SourceForge, Inc. at http://sourceforge.net/projects/hplip. The HPLIP software downloads that you request on this web site are re-directed and downloaded from SourceForge.net. SourceForge, Inc. is the world’s largest Open Source software development web site, hosting more than 100,000 projects and over 1,000,000 registered users with a centralized resource for managing projects, issues, communications, and code. SourceForge.net has the largest repository of Open Source code and applications available on the Internet, and hosts more Open Source development products than any other site or network worldwide. SourceForge.net provides a wide variety of services to projects we host, and to the Open Source community. Note: SourceForge.net is owned and operated by SourceForge, Inc. and is not affiliated with Hewlett-Packard.
The OpenPrinting initiative at the Linux Foundation offers general Linux printing assistance and services for users, distributions, developers, and printer manufacturers. The initiative also coordinates the development of the printing infrastructure under Linux, organizes conferences and meetings for developers, and offers a web site with open discussion forums and documentation. It provides access to PPD files and drivers and automatic installation by printer setup tools. Note: HP is a sponsor of the OpenPrinting initiative. OpenPrinting is maintained through the generous efforts of Till Kamppeter at the Linux Foundation.
Information about CUPS (Common UNIX Printing System) is available at cups.org. This website also contains forums and other support resources for printing on Linux. Note: CUPS and the CUPS website are owned and operated by Apple and are not affiliated with HP.
HPLIP is written using Python. Python is a dynamic object-oriented programming language that can be used for many kinds of software development. It offers strong support for integration with other languages and tools, comes with extensive standard libraries, and can be learned in a few days. Many Python programmers report substantial productivity gains and feel the language encourages the development of higher quality, more maintainable code. Note: Python is owned and operated by the Python Software Foundation and is not affiliated with HP.
The HPLIP website is created using rest2web. rest2web is a simple tool that lets you build your website from a single template (or as many as you want), and keep the contents in Re-structured Text. Note: rest2web is owned and operated by Voidspace and is not affiliated with HP.
Источник
Installation How-Tos
Installation
How to Check if HPLIP is Installed On Your System
Is HPLIP currently installed?
Most current Linux distributions provide a version of HPLIP software during initial installation. However, it is quite possible, that you are not operating on the latest version available from our site. This may be important because a newer version will support the latest printer models, may contain a newly added feature, or may contain a bug/defect fix that may be important to you.
First, check to see if HPLIP is already installed by running one of the commands listed below; however, your distribution may have specific package manager commands that are not described here. Therefore, while these commands should work in most situations, you may want to refer to your distribution documentation for the correct way to configure and use HPLIP.
Debian package based distributions (Debian, Ubuntu, Mepis, etc):
Run in a terminal window:
You may see something that looks like this:
If you see «ii» in the first column before «hplip», then HPLIP is already installed. If you want to use the currently installed version of HPLIP, try running hp-setup in a terminal shell. See below to determine whether you need to install a newer version.
RPM package based distributions (Fedora, SUSE, Mandriva, RHEL, etc):
Run in a terminal window:
You may see something that looks like this:
Output that lists «hplip» and a version number indicates that HPLIP is already installed on your system.
If HPLIP is already installed try running hp-setup to configure your printer.
Check for the latest version of HPLIP installed on your system.
Do you have a newer printer that is not supported by your older version of HPLIP?
Check the Supported Devices page to see what version of HPLIP is required for your printer.
Do you want new features or need a version that has a specific bug fixed?
Even though your printer is supported by an older version of HPLIP you may want the newest updated features that the latest version of HPLIP has to offer. Check the Release Notes page for new features and specific bug fixes.
If you have a newer printer or need a feature / bug fix contained in a newer HPLIP version.
Determine if a newer pre-packaged version of HPLIP is available by using your distribution tools (Synaptic, Yum, Apt-get, YasT, Red Carpet, etc) to check. It is preferrable to use a pre-packaged version of HPLIP as it is easier to install and upgrade.
If a newer version is not available from your distribution or the version they offer doesn’t have the printer support you need, continue with the download and installation of HPLIP.
How to Install HPLIP Using the Automatic Installer
Many Linux distributions are equipped with a pre-packaged version of HPLIP software, therefore, you may already have HPLIP installed on your system.
Even though HPLIP is already installed on your system, you may wish to upgrade to a newer version. Additionally, you may wish to have the latest version if you have a newer printer, a need for a new feature, or would like a bug fix that is contained in the newest version. If so, click HERE to find out how to auto-install HPLIP.
A few items to note about what the Automatic Installation process provides:
Automatic compilation and installation of the HPLIP package (to the /usr/share directory)
Installation of all options
Removal of previous installations of HPLIP and HPOJ packages
Assumes that all optional dependencies will be downloaded and installed
Provides installation of required dependencies
Asks to confirm Linux distribution
Automatically runs the hp-setup tool to finish installation and configure your printer
If you wish to uninstall HPLIP manually (for advanced users) click HERE.
How to unblock ports and enable services in the firewall
1 Firewall Settings
HPLIP uses service discovery protocols like avahi, SLP to discover network resources like printers in a Local Area Network (LAN). These services listen at well defined port numbers. Therefore, to allow resource discovery it is required that certain ports should not be blocked by a firewall, if any, running on the host machine. By default in OpenSuse/RHEL etc., all the ports are blocked due to security considerations. In this particular scenario HPLIP cannot discover the printers on LAN using network discovery methods (slp, avahi, mDNS/bonjour). To allow network discovery methods to discover printers in LAN, follow the steps mentioned below.
OpenSUSE
Avahi
Go to the Yast Control Center and click on Firewall.
Select Allowed Services on left hand side pane.
Click the Service to Allow drop down, which will show a list of services we can enable using this firewall utility.
To allow avahi to discover the devices through hp-setup utility, select Zeroconf/Bonjour Multicast DNS and select Add from drop down and click on Next at the bottom right corner.
The OpenSuse Firewall Utility will display Firewall Configuration Summary. Click on Finish to complete the process.
mDNS/Bonjour
Go to the Yast Control Center and click on Firewall
Select Custom Rules on the left pane, select Zone as External and then select Add at the bottom. A pop up will appear. Provide the values of the parameter as : Source Network 0/0, Protocol UDP, Ports 5353
Click on Add at the bottom right.
The OpenSuSe firewall utility will display Firewall Configuration Summary. Click Finish to complete the process.
Go to the Yast Control Center and click on Firewall.
Select Custom Rules on the left pane, select Zone as External and then select Add at the bottom. A pop up will appear. Provide the values of the parameter as: Source Network 0/0, Protocol UDP, Ports 427
Click on Add at the bottom right.
The OpenSuSe firewall utility will display Firewall Configuration Summary. Click Finish to complete the process.
For advanced usage of the SuSeFirewall2 utility and more details about the above options check the following link https://en.opensuse.org/SuSEfirewall2
mDNS/Bonjour
- Go to Firewall Configuration on the RHEL system.
- Switch to Public→→Ports tab.
- Click Add.
- Input 5353 in the Port/Range text box.
- Select protocol type as udp.
- Save the changes.
How to Manually Install the HPLIP Source Code Tarball
Even though we recommend using the Automatic Installation process to install HPLIP, the manual installation is a more traditional method to download and install HPLIP. However, bear in mind that it is more technically involved and may require a degree of knowledge that new Linux users find more difficult than they would prefer. Specifically, the process requires that you manually install dependencies and run build and install commands in a console/terminal. If you decide you would like to pursue this method, then follow the directions on our Manual Installation Instructions page.
How to install an HPLIP Patch
Patches may only be applied to the tarball version of the HPLIP software (not an RPM, DEB, TGZ, or other pre-build package).
How to apply a patch:
How to Uninstall HPLIP
A. If you still have the source Tarball, go into the source directory—for example:
B. Execute this command to remove/uninstall HPLIP:
or if your distro uses sudo:
C. Enter the following command to remove the HPLIP installed directory:
*Warning*
If you do not enter this command correctly you could damage your system.
or if your distro uses sudo;
D. The uninstall/removal of HPLIP software is now complete. Perhaps you would now like to re-install?
How do I open a Terminal/Console to Install HPLIP or Run an HPLIP Command Line Program?
Ubuntu Users: Type ALT-F2 and then enter «gnome-terminal» or use system menus: Applications | Accessories | Terminal
Kubuntu Users: Type ALT-F2 and then enter «konsole» or use system menus: «K» Menu | Applications | System | Konsole
SUSE Users: Use system menus: Computer Menu | More Applications | System | Terminal
MEPIS Users: Type ALT-F2 and then enter «konsole» or u se system menus: «K» Menu | System | Terminal Program (Konsole)
Mandriva Users: Use system menus: Applications | Tools | Terminal
All others: Using the desktop system menu (generally in the upper left or lower left corner of the display), search for a program named «Terminal», «Console», «Konsole», etc. and run it.
How to Disable Software Install Mode on Photosmart A530 and A630
On these two products, there is an embedded UI option that makes the unit enumerate like a CDROM in a Windows environment. In order for these units to install properly, in a Linux environment, this option must be deactivated.
To deactivate this option on the A530 follow these steps:
- Plug the power supply into the back of the A530 but do not connect the USB.
- Hit the «menu» button on the front of the unit.
- Hit the «left» button twice and select the «tools» menu by pressing the «print/ok» button.
- Hit the «left» button 4 times and select the «software install mode» menu.
- Make sure the «off» option is highlighted in orange with an orange «check» mark next to the word «off».
To deactivate this option on the A630 follow these steps:
- Plug the power supply in without plugging in the USB.
- Hit the «setup» button (it looks like a wrench) in the top right corner of the touch screen.
- Click on the «preferences» button.
- Scroll down until you see the «software install mode» button. Make sure the orange «check» mark is next to the word «off».
How to install HPLIP with qt5
To enable qt5 support:
- You need to install the following dependencies
- PyQt5
- python-qt5-dbus
- Go to source of hplip. By default it is in
/Downloads.
- ./configure —prefix=/usr —enable-qt5 —disable-qt4
- make
- «make install» as root user
Install HPLIP on Red Hat 9
If all HPLIP features aren’t working properly on Red Hat 9, however, printing is behaving properly, then follow these directions for installing HPLIP:
I. Install Red Hat Development Packages:
******* ******* ********* ******* ******* ******
1. Click on Red Hat (Icon)
2. Click on System Settings
3. Click on Add/Remove Applications
4. Put check mark next to «Development» then «Update».
II. Install Required Dependencies
******* ******* ******* ******* *****
1. Put Red Hat CD 2 Into CD-rom drive.
2. Run:
(if the above commands don’t work you may need to change the CD-rom mount path)
III. Install CUPS 1.2 from source
******* ******* ******* ******* *
1. Download a copy of the cups software from their website.
2. Run the following commands from a terminal window:
IV. Install HPLIP
****************
1. Download the latest tarball here.
2. Run the following commands from a terminal window:
V. Edit cupsd.conf
*****************
1. Run the following command from a terminal window:
2. Change the following lines near the bottom:
AuthType Basic
and
AuthClass System
to:
#AuthType Basic
and
#AuthClass System
VI. Restart CUPS
****************
1. Run the following commands from a terminal window:
VII. Add the printer
******************
1. Go to the localhost site.
2. Click «Add this printer» on the printer that has HPLIP as a suffix at the end of the printer name.
(The next step is important)
3. At the model/driver page select «browse» go to «//usr/share/ppd/HP» directory, be sure to select the correct PPD for the printer, it should contain the printer model that you are trying to add.
4. Click «Add Printer»
5. Go to the application you would like to print from and the printer should print.
What is the HPLIP Binary Plug-In and How Do I Install It?
Binary Plug-in Information
Some HP printers require proprietary software technologies to allow full access to printer features and performance. Unfortunately, these technologies cannot be open sourced, but to resolve this HP uses a binary plug-in for these printers. This plug-in works in conjunction with our Linux Open Source Printing Software to improve the printing experience for HP Linux Printing Customers. Additionally, it requires the user to read and agree to a license agreement at the time of driver installation. However, to limit confusion, there is a single plug-in file (for each HPLIP release) for all plug-in enabled devices.
As of February 2009 (concurrent with the 3.9.2 release of HPLIP), there were approximately 50 LaserJet printers or MFP’s [EDITOR SUGGESTS UPDATE] that either require the plug-in for the device to operate or use the plug-in for enhanced performance (i.e. improved print quality, faster print speed, etc.). However, additional devices (including inkjet products) are anticipated to use the plug-in in the future. For the current list of plug-in enabled printers see this link, which also includes the device features that are enabled or enhanced by the plug-in.
Most Linux distributions include HPLIP with their software, but most do not include the plug-in. Therefore, it is a safe practice to run a utility called «hp-setup» , which, will install the printer into the CUPS spooler, download, and install the plug-in at the appropriate time.
To install the plug-in using the GUI you can follow these procedures:
2. Select your connection type and click «Next«.
3. Select your printer from «Selected Devices» list and click «Next«.
4. Enter your root password when prompted and click «Next«.
5. Use the recommended installation method and click «Next«.
6. Check the box to accept with the «Driver Plug-In License Agreement» and click «Next».
7. Finish the installation of the printer as normal, however you may be prompted to re-enter your user name and password.
If you run into any additional install problems, you can go to our known issues page and check for a solution.
For advanced users who wish to install HPLIP components manually, a utility exists ( hp-plugin ) which will download and install the plugin file, but it does not also install a printer queue like hp-setup does.
Do the following:
2. Follow the directions above for navigating the GUI but remember that the printer que will not be installed through this process.
*Note: you may need to run hp-plugin as root or super user depending on your distro.
Installation instruction for scanjet feature dependecny packages in RHEL6 and RHEL7
Please install the below listed packages for Scanjet features testing in RHEL 6:
- su -c «yum install python-devel libjpeg-devel zlib-devel»
- su -c «yum install gcc»
- su -c «rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm»
- su -c «yum install python-pip»
- su -c “pip install pillow==2.6”
- su -c «yum install tesseract-devel leptonica-devel»
- su -c “yum install tesseract-langpack-*”
- su -c «yum install gcc-c++»
- su -c «pip install tesserocr==2.0»
- su -c «pip install PyPDF2»
- su -c «pip install imutils»
- su -c «yum install zbar-devel»
- su -c «pip install zbar»
- su -c “yum install ImageMagick*”
- su -c “yum install tesseract-osd”
- su -c “pip install pypdfocr”
Manual Installation steps to install opencv-python version 2.4:
- su -c «yum install cmake»
- su -c «yum install python-devel numpy»
- su -c «yum install gtk2-devel»
- su -c «yum install libdc1394-devel»
- su -c «yum install libv4l-devel»
- su -c «yum install gstreamer-plugins-base-devel»
- wget http://downloads.sourceforge.net/project/opencvlibrary/opencv-unix/2.4.13/opencv-2.4.13.zip
- unzip opencv-2.4.13.zip
- cd opencv-2.4.13
- mkdir release
- cd release
- cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
- make
- su -c «make install»
- export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.6/site-packages
- su -c «mv /usr/local/lib/python2.6/site-packages/cv2.so /usr/lib/python2.6/site-packages»
Please install the below listed packages for Scanjet features testing in RHEL 7:
- su -c «yum install gcc»
- su -c «yum install gcc-c++»
- wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
- rpm -ivh epel-release-latest-7.noarch.rpm
- su -c «rpm -ivh epel-release-latest-7.noarch.rpm»
- su -c «yum install python-pip»
- su -c «yum install python-devel»
- su -c «yum install zbar-devel»
- su -c «pip install opencv-python»
- su -c «pip install PyPDF2»
- su -c «pip install tesseract»
- su -c «yum install tesseract-devel leptonica-devel»
- su -c «yum install tesseract-langpack-*”
- su -c «yum install Cython»
- su -c «pip install —upgrade Cython»
- su -c «pip install imutils»
- su -c «pip install tesserocr»
- su -c «pip install pillow»
- su -c «pip install –upgrade pillow»
- su -c «pip install zbar»
- su -c “yum install tesseract-osd”
- su -c “yum install ImageMagick*”
- su -c “pip install scikit-image”
- su -c “pip install pypdfocr”
How to install HPLIP on RHEL8
Please follow the below steps to install HPLIP on RHEL8:
1. Download RHEL 8 rpm package.
2. Execute the below steps to install the rpm package.
- Use su –c «rpm –ev —nodeps ” command to remove any other conflicting packages as below.
- su -c «rpm -ev —nodeps hpijs»
- su -c «rpm -ev —nodeps libsane-hpaio»
- su -c «rpm -ev —nodeps hplip-common»
- su -c «rpm -ev —nodeps hplip-libs”
- su -c «rpm -ivh hplipfull-3.19.8_rhel-8.0.x86_64.rpm —nodeps»
3. Please execute the below steps to install print related packages.
- alternatives —set python /usr/bin/python3
- su -c «yum clean all»
- su -c «yum check-update»
- su -c «yum install python3-devel»
- su -c «yum install python3-qt5»
- su -c «yum install cups-devel»
- su -c «yum install python3-reportlab»
- su -c «yum install libtool”
- su -c «yum install make”
- su -c «yum install xsane”
- su -c «yum install net-snmp-devel”
- su -c «yum install sane-backends-devel”
- su -c «yum install dbus-devel”
4. Please execute the below steps to install ScanJet related packages.
- su -c «pip3 install opencv-python”
- su -c «pip3 install PyPDF2”
- su -c «pip3 install ocrmypdf”
- su -c «pip3 install scikit-image”
5. run the hp-setup command to add device for print/scan.
6. Install the plugin file if the device needs plugin for print/scan.
7. For class driver installation execute the below command:
- su -c «rpm -ivh —force hplipclassdriver-3.19.8-0.RHEL8_x86_64.rpm —nodeps”
Источник