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

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

On Debian possible default full paths are:

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

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