hp-fab: 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/hp-fab - from package: hplip

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/hp-fab - from package: hplip-gui

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