hp-plugin: 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/hp-plugin - from package: hplip

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

On Debian possible default full paths are:

/usr/bin/hp-plugin - from package: hplip

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