foomatic-fix-xml: 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/sbin/foomatic-fix-xml - from package: foomatic

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

On Debian possible default full paths are:

/usr/sbin/foomatic-fix-xml - from package: foomatic-db-engine

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