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

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