Hp driver linux rpm

Установка принтера 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), ваш дистрибутив заметил/не обнаружил устройство и драйвера к нему автоматически, важный документ отправляется на печать и отписывается удачно завершённым, а на деле же безличных действий не происходит, предлагается следующее решение:

Читайте также:  Sony walkman driver windows 10

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 последующим образом.

Источник

Software Delivery Repository

Management Component Pack

The Linux Management Component Pack provides agent software for use on community-supported distributions. For RedHat and SUSE distributions, please use the Service Pack for ProLiant (SPP). The MCP (unlike the SPP) does not provide drivers and firmware (firmware is provided via HPSUM, and drivers are provided by the distribution vendors). Please see the HPE server operating systems home page for more information, including support matrices for HPE ProLiant Servers.

hp-health HPE System Health Application and Command line Utilities (Gen9 and earlier)
hponcfg HPE RILOE II/iLO online configuration utility
amsd HPE Agentless Management Service (Gen10 only)
hp-ams HPE Agentless Management Service (Gen9 and earlier)
hp-snmp-agents Insight Management SNMP Agents for HPE ProLiant Systems (Gen9 and earlier)
hpsmh HPE System Management Homepage (Gen9 and earlier)
hp-smh-templates HPE System Management Homepage Templates (Gen9 and earlier)
ssacli HPE Command Line Smart Storage Administration Utility
ssaducli HPE Command Line Smart Storage Administration Diagnostics
ssa HPE Array Smart Storage Administration Service

NOTICE: The health/snmp functionality was moved to the iLO card on HPE ProLiant Gen10 servers. The hp-health, hp-snmp-agents, hp-smh* and hp-ams debs are only to be installed on Gen9 servers and earlier. Gen10 users, please subscribe to «11.xx» or «current» repositories. Gen9 users, please use «10.xx» or earlier.

Источник

Class Driver guide for Advanced HPLIP Users

Table of Contents

1 Introduction

HPLIP supports printing through Discrete drivers. Discrete drivers are developed as per the product specification, that is, custom tailored to specifications for each product.

HPLIP is enhanced to provide support through “Class Drivers” now. The term “Class” refers to a set of devices that are uniform in their internal features. Such each set of devices can be supported through a single driver, which is called as “Class Driver”.

Читайте также:  Изменить ttl линукс минт

There are certain benefits with Class Drivers support, like

1. There is no dependency for a new Discrete driver to be used for using new devices

2. A large set of devices can be supported through a very few number of drivers

3. Print support on systems where disk space is a concern can now support all the printers with very minimal need on disk space for drivers

4. Helps in special needs where a separate driver for each device is not preferred approach

5. HPLIP has been working well in the field for many years. So, Class drivers leverage on the proven quality of HPLIP

The recommended drivers continue to be Discrete drivers. Class drivers are suggested to be used only by advanced users.

Class Driver Classification:

The below diagram depicts the set of Class drivers

image001.png

hp-PCL3-Class3
hp-PCL3-Class3A
hp-PCL3-Class3B

2 Install and Packaging

The below diagram depicts the installation flow with Class driver inclusion.

image002.png

HPLIP Installer provides the option of selecting either ‘Automatic Installation’ or ‘Custom Installation’ options. On selecting the ‘Automatic Installation’ option, all the components of HPLIP will be installed. The drivers installed in this flow are the Discrete drivers. This is the recommended way of using the HPLIP drivers.

‘Custom Installation’ is suggested to be used by Advanced users, those who understand the choices they are making. This option allows users to select either discrete drivers or class drivers. On selecting ‘Discrete Driver”, users can choose which components of HPLIP they need along with Discrete drivers.

For ‘Class Driver’ path, user can select either Installation of class drivers or Creation of ‘class drivers only’ package. On selecting ‘Create package’ option, users will be prompted to select the package type to be created.

Detailed instructions on Installation options are available in the following sections.

HPLIP supports RHEL through a separate RPM package. The class driver RPM packages for RHEL 6 & 7 can be downloaded from https://developers.hp.com/hp-linux-imaging-and-printing/gethplip . This package provides the Print only feature.

HPLIP publishes a TAR package containing the entire source code of HPLIP (other than Proprietary plug-ins). This is to aid users who possess technical skills required for building HPLIP and hence can use HPLIP for their customized purposes.

Class Drivers source code is included as part of this TAR package. More details can be found at section5

Installation flows for Discrete drivers will take care of installing proprietary plug-ins as required.

For the Class Drivers install paths, users can download the plug-in package from one of the below locations.

The downloaded “hplip-.x.xx.xx-plugin.run” installer can be used to install the required plug-ins.

3 HPLIP Installation Options

The various options available in the HPLIP Installation flow are explained below.

3.1 Automatic Installation

Automatic installation installs all the dependent packages required for HPLIP. Once the dependent packages installation is complete, it installs the HPLIP discrete drivers for Print, Scan, Fax and Toolbox features. This is the recommended way of installing HPLIP.

3.2 Custom Installation

Custom installation provides the option of either installing the discrete drivers or class drivers. On selecting ‘Discrete Driver”, users can choose which components of HPLIP they need along with Discrete drivers. For example, Scan support, Network support, etc. Based on user’s choices, Installer proceeds to install required 3rd party dependencies and the selected HPLIP components.

For ‘Class Driver’ path, user can select either Installation of class drivers or Creation of ‘class drivers only’ package. On selecting “Installation”, components required for ‘Class driver (print) only’ will be installed. On selecting ‘Create package’ option, users will be prompted to select the package type to be created. Appropriate package will be created based on the input selected.

Selection of class drivers would further provide option to either install or package the class drivers

3.2.1 Class Driver Installation

Class driver installation option installs the class drivers on the machine. The class driver installation provides only the print feature.

3.2.1.1 Class Driver Package Creation

Class driver package creation provides the option to create one of the below mentioned packages —

  • TAR package – Provides hplip-x.xx.xx.tar.gz package which would contain the binaries and support files required for print feature. This feature is available for all the Linux distros supported in HPLIP.
  • DEB package – Provides hplipclassdriver-x.xx.xx.deb package which can be installed on all the Debian based systems supported by HPLIP.
  • RPM package – Provides hplipclassdriver-x.xx.xx.rpm package which can be installed on all RPM based systems supported by HPLIP.

Follow the below instructions to install Class Drivers.

1. Run “sh hplip-x.xx.xx.run” command to install HPLIP.

2. Select custom installation as shown below:

Screenshot from 2017-12-12 12-08-46.png

3. Select Class Drivers(‘c’) option as shown below:

4. Select install option(‘i’) to install the class drivers on current machine or create package option(‘p’) to create the class driver package:

Screenshot from 2017-12-12 12-15-46.png

5. Based on the options selected by the installer would create either TAR, DEB or RPM package. In Debian based distros, the TAR and DEB options are available and in RPM based distros, the TAR and RPM options are available

Читайте также:  Ubuntu package linux source

Screenshot from 2017-12-12 12-16-38.png

Screenshot from 2017-12-12 13-47-00.png

5 Class Driver Installation Using the TAR Package for “Advanced” Users

HPLIP publishes a TAR package containing the entire source code of HPLIP (other than Proprietary plug-ins). This is to aid users who possess technical skills required for building HPLIP and hence can use HPLIP for their customized purposes.

This tar package gets published at

Class Drivers source code is included as part of this TAR package.

5.1 Install from TAR Package

The class drivers can be installed from the downloaded “hplip.x.xx.xx.tar.gz” file by executing the below set of commands.

Step 1: Extract the files from the downloaded tar ball

tar -xvf hplip-3.17.11.tar.gz

Step 2: Configure for class driver installation

./configure —prefix=/usr –enable-class-driver

Step 3: Run Make

Step 4: Run Make Install

sudo make install

This will install the class driver for print functionality.

5.2 Create DEB Package

Follow the below instructions if a DEB package is required to be created by making use of the Advanced Tar package.

Step 1: Extract the files from the downloaded tar ball

tar -xvf hplip-3.17.11.tar.gz

Step 2: Configure for class driver installation

./configure —prefix=/usr –enable-class-driver

Step 3: Run Make

Step 4: Run Make deb

This creates the class driver .deb package which can be used to install class drivers on Debian based Linux flavors.

If HPLIP is already installed on the system the driver needs to be uninstalled before installing the .deb package or the deb package need to be installed with the “–force-all” option as part of the step ‘dpkg’ command to have clean installation of class drivers.

5.3 Install from RPM Package

Follow the below instructions if a RPM package is required to be created by making use of the Advanced Tar package.

Step 1: Extract the files from the downloaded tar ball

tar –xvf hplip-3.17.11.tar.gz

Step 2: Configure for class driver installation

./configure —prefix=/usr –enable-class-driver

Step 3: Run Make

Step 4: Run Make rpm

This creates the class driver .rpm package which can be installed on other RPM supported distros.

If HPLIP is already installed on the system the driver needs to be uninstalled before installing the .rpm package for a clean installation.

For RHEL 7, the .rpm package need to be installed with —force option in the rpm install command for proper installation of hplip driver.

6 Class Driver Package Content

The below list contains the contents of class driver installation or packages.

Class PPD’s for PCL3, PCLM, LJ and Postscript devices

Tool to assist finding the appropriate class PPD for any given model

Print filter for Raster data

Print filter for Postscript data

Contain all the supported device models

Contains the HPLIP configuration information

7 Class Drivers Usage

7.1 Installation

Installation usage details are provided under section4 and section5

Choose the installation path that suits your needs and install Class Drivers following the instructions.

7.2 Locate Driver Tool

The ‘hp-locatedriver’ tool is provided as part of class driver installation/package. This tool can be used to get the class PPD name for a printer. The usage of this tool is as shown below.

7.3 Configure a Queue

7.3.1 Configure Queue using lpadmin

The Print queue can be configured using the lpadmin command as shown below:

7.3.2 Print

Once the printer queue is configured, user will be able to initiate a print

From applications printer dialog or

By using the ‘lpr’ command as shown below:

7.3.3 Configure Queue using CUPS

The Print queue can be configured using the CUPS web interface available at http://localhost:631

Step 1: Open http://localhost:631 in a web-browser. Select ‘Adding Printers and Classes’ option.

image012.png

Step 2: Select the ‘Add Printer’ option to display the list of devices available on USB or on Network.

image013.png

Step 3: Select the appropriate printer to be added.

image014.png

Step 4: The printer name, description and location can be set as accordingly.

image015.png

Step 5: The ‘Add Printer’ page will provide the option to select the class drivers either from the model list or by manually browsing the Provide a PPD file option.

image016.png

Step 6: Once the printer is added the print queue would be created for the selected device. Print can be initiated from the applications by selecting the configured driver.

Class driver limitations: Class Drivers are not tailored to specific needs/capabilities of devices

Difference in final output as compared to output from Discrete drivers could be seen
Class Drivers are based on sub-set or super-set of capabilities and standardization of features/values as may required
UI dependencies on PPDs may be impacted

New Devices with significant difference in internal device features/support may not have acceptable quality with Class Drivers

Источник

Оцените статью