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

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

On Debian possible default full paths are:

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

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