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

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

On Debian possible default full paths are:

/usr/sbin/foomatic-cleanupdrivers - from package: foomatic-db-engine

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