pf2afm: 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/pf2afm - from package: ghostscript

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

On Debian possible default full paths are:

/usr/bin/pf2afm - from package: ghostscript

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