foo2hp: 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/foo2hp - from package: printer-driver-foo2zjs

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