lispmtopgm: 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/lispmtopgm - from package: netpbm-progs

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

On Debian possible default full paths are:

/usr/bin/lispmtopgm - from package: netpbm

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