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

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