Thursday 22 January 2015

HP Photosmart All-in-One (2710) installation on Fedora 21

Background

This is what I had to do to set up HP Photosmart All-in-One 2710 device on my laptop running Fedora 21

The 2710 device is already configured to be a wireless network printer on the network.

Procedure

Ensure the device is connected to the network and can be pinged.

Commands entered
[mochapenguin@dv6tqe ~]$ ping 192.168.0.200
PING 192.168.0.200 (192.168.0.200) 56(84) bytes of data.
64 bytes from 192.168.0.200: icmp_seq=1 ttl=255 time=130 ms
64 bytes from 192.168.0.200: icmp_seq=2 ttl=255 time=14.8 ms

Ensure hplip is installed:


Commands entered
[mochapenguin@dv6tqe ~]$ sudo yum install hplip
[sudo] password for mochapenguin:
Loaded plugins: langpacks
adobe-linux-x86_64 | 951 B 00:00
google-chrome | 951 B 00:00
rpmfusion-free-updates | 2.7 kB 00:00
rpmfusion-nonfree-updates | 2.7 kB 00:00
updates/21/x86_64/metalink | 26 kB 00:00
(1/4): google-chrome/primary | 1.9 kB 00:00
(2/4): adobe-linux-x86_64/primary | 1.2 kB 00:00
(3/4): rpmfusion-nonfree-updates/21/x86_64/primary_db | 48 kB 00:00
(4/4): rpmfusion-free-updates/21/x86_64/primary_db | 104 kB 00:00
adobe-linux-x86_64 2/2
google-chrome 3/3
Package hplip-3.14.10-5.fc21.x86_64 already installed and latest version
Nothing to do

Install hplip-gui


Commands entered
[mochapenguin@dv6tqe ~]$ sudo yum install hplip-gui
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package hplip-gui.x86_64 0:3.14.10-5.fc21 will be installed
--> Processing Dependency: python-reportlab for package: hplip-gui-3.14.10-5.fc21.x86_64
--> Processing Dependency: PyQt4 for package: hplip-gui-3.14.10-5.fc21.x86_64
--> Running transaction check
---> Package PyQt4.x86_64 0:4.11.3-1.fc21 will be installed
--> Processing Dependency: sip-api(11) >= 11.1 for package: PyQt4-4.11.3-1.fc21.x86_64
---> Package python-reportlab.x86_64 0:3.1.8-4.fc21 will be installed
--> Running transaction check
---> Package sip.x86_64 0:4.16.5-1.fc21 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
hplip-gui x86_64 3.14.10-5.fc21 updates 1.5 M
Installing for dependencies:
PyQt4 x86_64 4.11.3-1.fc21 fedora 3.1 M
python-reportlab x86_64 3.1.8-4.fc21 fedora 1.2 M
sip x86_64 4.16.5-1.fc21 updates 125 k

Transaction Summary
================================================================================
Install 1 Package (+3 Dependent packages)

Total download size: 5.9 M
Installed size: 25 M
Is this ok [y/d/N]: y
Downloading packages:
(1/4): PyQt4-4.11.3-1.fc21.x86_64.rpm | 3.1 MB 00:01
(2/4): python-reportlab-3.1.8-4.fc21.x86_64.rpm | 1.2 MB 00:00
(3/4): hplip-gui-3.14.10-5.fc21.x86_64.rpm | 1.5 MB 00:06
(4/4): sip-4.16.5-1.fc21.x86_64.rpm | 125 kB 00:00
--------------------------------------------------------------------------------
Total 974 kB/s | 5.9 MB 00:06
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction (shutdown inhibited)
Warning: RPMDB altered outside of yum.
Installing : python-reportlab-3.1.8-4.fc21.x86_64 1/4
Installing : sip-4.16.5-1.fc21.x86_64 2/4
Installing : PyQt4-4.11.3-1.fc21.x86_64 3/4
Installing : hplip-gui-3.14.10-5.fc21.x86_64 4/4
Verifying : sip-4.16.5-1.fc21.x86_64 1/4
Verifying : hplip-gui-3.14.10-5.fc21.x86_64 2/4
Verifying : PyQt4-4.11.3-1.fc21.x86_64 3/4
Verifying : python-reportlab-3.1.8-4.fc21.x86_64 4/4

Installed:
hplip-gui.x86_64 0:3.14.10-5.fc21

Dependency Installed:
PyQt4.x86_64 0:4.11.3-1.fc21 python-reportlab.x86_64 0:3.1.8-4.fc21
sip.x86_64 0:4.16.5-1.fc21

Complete!

Now it's time to run the main setup program hp-setup

Commands entered

[mochapenguin@dv6tqe ~]$ sudo hp-setup

HP Linux Imaging and Printing System (ver. 3.14.10)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


This launches the following window:
 

Selected - Network/Ethernet/Wireless network (direct connection or JetDirect).








Used Manual Discovery option with IP address





All-in-One 2710 successfully recognised



Enter printer details and click on [Add Printer]



























Happy printing and scanning