How To Install printer-driver-hpijs on Debian 9
Introduction
In this tutorial we learn how to install printer-driver-hpijs
on Debian 9.
What is printer-driver-hpijs
printer-driver-hpijs is:
This package contains an IJS printer driver for Ghostscript, which adds support for most inkjet printers and some LaserJet printers manufactured by HP. It is also required for HPLIP fax support.
The Debian package of hpijs includes the so-called rss patch, to use pure black ink instead of composite black in printers that don’t do color map conversion in firmware.
HPIJS can take advantage of Ghostscript IJS KRGB support when available, to enhance black printing on printers that do color map conversion in firmware and are thus not affected by the old rss patch.
Users of the CUPS printing system are advised to also install the hplip package, and use the hp CUPS backend to send data to the printer. HPLIP supports USB, networked and parallel-port devices, and enables extended HPIJS functionality such as border-less printing. Selecting any hpijs ppd in CUPS will use hpijs automatically.
HPIJS is meant to be used through the foomatic system (see the foomatic-filters package or foomatic-rip in the cups-filters package).
There are three methods to install printer-driver-hpijs
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install printer-driver-hpijs Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install printer-driver-hpijs
using apt-get
by running the following command:
sudo apt-get -y install printer-driver-hpijs
Install printer-driver-hpijs Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install printer-driver-hpijs
using apt
by running the following command:
sudo apt -y install printer-driver-hpijs
Install printer-driver-hpijs Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install printer-driver-hpijs
using aptitude
by running the following command:
sudo aptitude -y install printer-driver-hpijs
How To Uninstall printer-driver-hpijs on Debian 9
To uninstall only the printer-driver-hpijs
package we can use the following command:
sudo apt-get remove printer-driver-hpijs
Uninstall printer-driver-hpijs And Its Dependencies
To uninstall printer-driver-hpijs
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove printer-driver-hpijs
Remove printer-driver-hpijs Configurations and Data
To remove printer-driver-hpijs
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge printer-driver-hpijs
Remove printer-driver-hpijs configuration, data, and all of its dependencies
We can use the following command to remove printer-driver-hpijs
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge printer-driver-hpijs
Dependencies
printer-driver-hpijs have the following dependencies:
References
Summary
In this tutorial we learn how to install printer-driver-hpijs
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.