pilprint: 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/pilprint - from package: python3-pil

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