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

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

On Debian possible default full paths are:

/usr/bin/mkafmmap - from package: enscript

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