hp-search-mac: 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 Debian possible default full paths are:

/usr/bin/hp-search-mac - from package: hp-search-mac

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