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

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

On Debian possible default full paths are:

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

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