lp-get-branches: 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/lp-get-branches - from package: lptools

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