lprm: 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/lprm - from package: cups-bsd
/usr/bin/lprm - from package: lprng
/usr/bin/lprm - from package: lpr

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