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

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

On Debian possible default full paths are:

/usr/bin/ps2pdfwr - from package: ghostscript

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