hpijs: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/hpijs - from package: hpijs

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/hpijs - from package: printer-driver-hpijs

You may install the required package with command apt-get install {package}
Error in other languages:
hpijs: bevel nie gevind nie
hpijs: comandă negăsită
hpijs: comando não encontrado
hpijs: commande introuvable
hpijs: command not found
hpijs: käsku ei ole
hpijs: không tìm thấy lệnh
hpijs: komanda nerasta
hpijs: Kommando nicht gefunden.
hpijs: kommandot finns inte
hpijs: komut yok
hpijs: nie znaleziono polecenia
hpijs: níor aimsíodh an t-ordú
hpijs: no se encontró la orden
hpijs: no s'ha trobat l'ordre
hpijs: opdracht niet gevonden
hpijs: parancs nem található
hpijs: perintah tidak ditemukan
hpijs: príkaz nenájdený
hpijs: příkaz nenalezen
hpijs: команда не найдена
hpijs: командата не е открита
hpijs: 命令找不到
hpijs: コマンドが見つかりません