states: 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/states - from package: enscript

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

On Debian possible default full paths are:

/usr/bin/states - from package: enscript

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