Install HP LaserJet Pro CP1025 on Ubuntu

HP LaserJet Pro CP1025 is detected automatically by Ubuntu but it is not sufficient for printing. You should configure HPLIP.

At first time, check that HPLIP installed and its version is 3.11.1 at least

dpkg -l hplip

In Ubuntu 14.04 you should see something like this:

ii  hplip          3.14.3-0ubun amd64        HP Linux Printing and Imaging Sys

If your version is minor that 3.11.1, download and install the latest version from HPLIP site.

Now you should install printer driver via simple GUI program.

hp-setup

or in text console mode

hp-setup -i

Follow instructions, add printer at end.