HP Envy 4504 Set-up

HP Printer setup



cups, hplip, python2, sane


cups, hplip, hplip-gui, sane

Some optional dependancies may be needed.


sudo systemctl enable cups
sudo systemctl start cups
sudo hp-setup

hp-setup -i

Select “Network”, and “Advanced Options -> Manual Discovery”
Printer: npr1

PPD File:


Uncoment hpaio from /etc/sane/dll.conf.

Some commands:

cupsenable printer
lpstat -p
lpadmin -p PrinterName -E

Also since it is a WIFI printer normally it will go into sleep/power save mode. This means if you then try to print from cups it will fail (printer is asleep). Subsequent prints should work but now cupsd has flagged the printer as paused. To prevent this you should configure the default ErrorPolicy in /etc/cups/cupsd.conf by adding in the top scope:

ErrorPolicy retry-job



About alex

Owner of this website...
This entry was posted in Linux, Z1 and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *