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.
Update 2023-11-12
Ubuntu 22.04: for a shared printer connected to a print server in the network (i.e home), you should select the driver for "HP LaserJet Pro CP1025nw".
Update 2025-01-28
New versions of HPLIP do not find CP1025 with a following error:
No device selected/specified or that supports this functionality
The problem is the bug in the metadata. To fix it:
- edit the file
sudo nano /usr/share/hplip/data/models/models.dat
- find the section name
[hp_laserjet_cp1025]
- rename it to
[hp_laserjet_cp_1025]
- save file
- find the section name
- run
hp-setup
again