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

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

On Debian possible default full paths are:

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

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