hocr2pdf: 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/bin/hocr2pdf - from package: exactimage

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