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

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