xmhprint: 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 Debian possible default full paths are:

/usr/share/doc/mh-book/examples/xmh/bin/xmhprint - from package: mh-book

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