lpq.cups: 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 CentOS possible default full paths are:

/usr/bin/lpq.cups - from package: cups

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