hpijs command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
hpijs: command not found
or when using sudo you get the following error message
sudo: hpijs: command not found
Solutions to hpijs: command not found
How To Fix hpijs: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu hpijs is provided by printer-driver-hpijs package.
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 and networked 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).
To fix this problem, we can install more using the command below.
sudo apt-get -y install printer-driver-hpijs
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install printer-driver-hpijs.
sudo apt -y install printer-driver-hpijs
Or if you have aptitude installed you can use the following command.
sudo aptitude install printer-driver-hpijs
Summary
In this tutorial we learn how to fix hpijs command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.