Setting up an HP printer in Linux

Asked by Mike Davies

I have just bought an HP2820 printer which I am trying to set up on wifi. I have connected the printer and I can print from my tablet.
I would like to access the printer from my PC running Opensuse Linux. The PC is connected to the router on eth0 and I have a directly connected Epson printer. I would like to be able to use the HP printer as well.
How do I set up to connect to the printer which is on the same network?

Question information

Language:
English Edit question
Status:
Open
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bernard Stafford (bernard010) said :
#1

https://developers.hp.com/hp-linux-imaging-and-printing/howtos/install#howtocheck1
Scroll down to: How to unblock ports and enable services in the firewall
follow the instruction for Open SUSE.

To install HPLIP on Open SUSE:
https://developers.hp.com/hp-linux-imaging-and-printing/downloads

HPLIP should be in Open SUSE repository.

https://developers.hp.com/hp-linux-imaging-and-printing/gethplip

Revision history for this message
Mike Davies (mikejd39) said :
#2

I have HPLIP installed.
I have tried to follow the instructions on unblocking ports but YAST I have doesn't seem to have the same layout as suggested.

Revision history for this message
Bernard Stafford (bernard010) said :
#3

What version of open-SUSE do you have?

Revision history for this message
Mike Davies (mikejd39) said :
#4

Opensuse Leap 15.3

On 22/04/2024 13:40, Bernard Stafford wrote:
> Your question #809222 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/809222
>
> Status: Open => Needs information
>
> Bernard Stafford requested more information:
> What version of open-SUSE do you have?
>

--
Braehead, Rhynie,
Aberdeenshire,
AB54 4LS
01464 861535

Revision history for this message
Bernard Stafford (bernard010) said :
#5
Revision history for this message
Mike Davies (mikejd39) said :
#6

After reading 'Network Printers' in that documentation I ran nmap:

mike@linux:~> nmap -p 35,137-139,515,631,9100-10000 192.168.178.43
Starting Nmap 7.70 ( https://nmap.org ) at 2024-04-26 10:20 BST
Nmap scan report for HP021FD6.fritz.box (192.168.178.43)
Host is up (0.0078s latency).
Not shown: 905 closed ports
PORT STATE SERVICE
631/tcp open ipp
9100/tcp open jetdirect

Nmap done: 1 IP address (1 host up) scanned in 1.49 seconds

This has recognised the printer at that IP address. and shows 2 ports
open. Does this help?

On 25/04/2024 21:15, Bernard Stafford wrote:
> Your question #809222 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/809222
>
> Status: Open => Answered
>
> Bernard Stafford proposed the following answer:
> https://doc.opensuse.org/documentation/leap/archive/15.3/startup/html/book-startup/cha-print.html
> SUSE 15.3 Leap Printer Documentation
>

--
Braehead, Rhynie,
Aberdeenshire,
AB54 4LS
01464 861535

Revision history for this message
Mike Davies (mikejd39) said :
#8

Just to return to this for a last time:

I have connected the printer to the router by the USB port. The printer is connected to the wifi network wih the IP address 192.168.178.43. So both the PC and the printer are directly connected to the same network. Printer Information Report says connected to the network, IP address as above, signal strength is excellent, connected to internet.

Run hp-setup and hp-setup 192.168.178.43. No printer detected. Yast, CUPS no printer detected. HP Smart app shows the printer but not available.

I think it's time to give up!

Can you help with this problem?

Provide an answer of your own, or ask Mike Davies for more information if necessary.

To post a message you must log in.