foomatic-ppdfile: 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/foomatic-ppdfile - from package: foomatic

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

On Debian possible default full paths are:

/usr/bin/foomatic-ppdfile - from package: foomatic-db-engine

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