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

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

On Debian possible default full paths are:

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

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