xpstojpeg: 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/xpstojpeg - from package: libgxps-utils

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