Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Network Printing: How do you set up an HP laserjet?

  1. #1
    Join Date
    May 2010
    Location
    Central USA
    Posts
    268

    Default Network Printing: How do you set up an HP laserjet?

    What is the proper way to set up wired network printing for an HP LaserJet on a fresh install?

    Which of system settings printers, yast printer, website cups, hp device manager is the best way?

    In the past, on the hp-setup of hp device manager utility, I've manually entered the IP address in the advanced options. But what is the proper way?

    I've tried it with the firewall disabled, and it finds it through the Network selection. I've added myself to the "lp" group. What else is missing?

  2. #2
    Join Date
    Jul 2018
    Location
    Loma Linda, Mo
    Posts
    301

    Default Re: Network Printing: How do you set up an HP laserjet?

    Open CUPS in your web browser http://127.0.0.1:631

    Manage your printer and make sure you click on share this printer.
    Opensuse 15.1 with VirtualBox VM's (Windows 98, XP, 7, 8.1, 10 & OpenSUSE 15.0)

    Unix since 1974 (pdp-11 in "B" , Interdata 7/32 in "C") (AT&T, Tandy, Convergent, IBM, NCR, HP flavors)
    Linux since 1995 (mandrake, redhat, fedora, centos, now OpenSUSE)

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    21,927
    Blog Entries
    1

    Default Re: Network Printing: How do you set up an HP laserjet?

    Quote Originally Posted by dt30 View Post
    What is the proper way to set up wired network printing for an HP LaserJet on a fresh install?

    Which of system settings printers, yast printer, website cups, hp device manager is the best way?
    YaST is integrated with the HPILLP utilities when configuring HP printers, so best just to use the 'hp-setup' utility IMO.

    In the past, on the hp-setup of hp device manager utility, I've manually entered the IP address in the advanced options. But what is the proper way?

    I've tried it with the firewall disabled, and it finds it through the Network selection. I've added myself to the "lp" group. What else is missing?
    You can configure manually with IP address (or Avahi hostname), or if firewall disabled, it should be able to discover automatically. Are you having problems?
    openSUSE Leap 15.2; KDE Plasma 5

  4. #4
    Join Date
    May 2010
    Location
    Central USA
    Posts
    268

    Default Re: Network Printing: How do you set up an HP laserjet?

    It just seems like I struggle each time, and I wanted to learn how to best do it. Disabling firewall for setup is best? I don't know if it's related, but I've had trouble before when resuming a paused printer with using my user name and needed to supply the root username. Figure it is best to be the user rather than root for controlling printers.

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    21,927
    Blog Entries
    1

    Default Re: Network Printing: How do you set up an HP laserjet?

    Quote Originally Posted by dt30 View Post
    It just seems like I struggle each time, and I wanted to learn how to best do it. Disabling firewall for setup is best?
    There's a long thread about this topic that drills down into this. To keep things simple though, it's easiest to disable the firewall, (most are behind service provider firewalls anyway), while configuring, or manually configure (assuming you know the IP address). If you prefer to leave the openSUSE firewall active, you can allow the mdns service in firewalld, and choose 'Show Advanced Options' in the 'hp-setup' utility. For 'Network discovery method' choose 'Avahi'. This will allow the inbuilt Avahi service to be used for discovery on a LAN. Other methods will faill, unless you're prepared for more complex firewall configuration outlined in the thread.

    I don't know if it's related, but I've had trouble before when resuming a paused printer with using my user name and needed to supply the root username. Figure it is best to be the user rather than root for controlling printers.
    The user/admin privileges are defined by various directives in /etc/cups/cupsd.conf

    More info...
    Code:
    man cupsd.conf
    Last edited by deano_ferrari; 06-Aug-2020 at 02:37.
    openSUSE Leap 15.2; KDE Plasma 5

  6. #6
    Join Date
    Jun 2008
    Location
    Europe
    Posts
    430

    Default Re: Network Printing: How do you set up an HP laserjet?

    Quote Originally Posted by dt30 View Post
    I've manually entered the IP address in the advanced options. But what is the proper way?
    Hi.
    Do you mean that the printer has a manual (not dhcp) fixed IP on the local network ?
    In that same case, i used the hplip he-setup tool with manual discovery and it just worked out of the box without any tweak on the firewall.
    Or you are in a different case ? Printer not in the same network ? DHCP printer ip adress ?
    Or are you accessing the dedicated printer wireless network from your computer ?

  7. #7
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,538

    Default Re: Network Printing: How do you set up an HP laserjet?

    On a fresh install, plug it in and turn it on before you start the installation and in course of the installation it will be configured automatically for you along with all the other hardware on the system.

  8. #8
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,676
    Blog Entries
    38

    Default Re: Network Printing: How do you set up an HP laserjet?

    I have been using the same technique for an assortment of printers on openSUSE, going back to many versions before openSUSE-12.1, and even with the latest LEAP-15.2 and latest Tumbleweed this technique still works. It may not be the quickest (although I find it moderately quick) and it is not the most automated (although I do use a wizard in parts). The main aspect of it is NOT to rely on manual discovery, but rather provide openSUSE the LAN/WLAN network IP address of one's printer a couple of times. Hence one 1st needs to figure out the IP address of their printer. One also needs hplip installed.

    I blogged about this here:
    https://forums.opensuse.org/entry.ph...reless-printer

    While I posted about an "inkjet" HP C309a, I have also used this approach with a Laserjet.

    I also blogged more recently using this approach with another inkjet:
    https://forums.opensuse.org/entry.ph...with-SUSE-LEAP

    Again, this approach also work with a Laserjet.

    I have never had a firewall issue adopting this approach.

  9. #9
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    21,927
    Blog Entries
    1

    Default Re: Network Printing: How do you set up an HP laserjet?

    Quote Originally Posted by oldcpu View Post
    I have never had a firewall issue adopting this approach.
    You won't. That is only an issue for those relying on automatic discovery (SLP, Avahi etc).
    openSUSE Leap 15.2; KDE Plasma 5

  10. #10
    Join Date
    May 2010
    Location
    Central USA
    Posts
    268

    Default Re: Network Printing: How do you set up an HP laserjet?

    Quote Originally Posted by deano_ferrari View Post
    There's a long thread about this topic that drills down into this. To keep things simple though, it's easiest to disable the firewall, (most are behind service provider firewalls anyway), while configuring, or manually configure (assuming you know the IP address). If you prefer to leave the openSUSE firewall active, you can allow the mdns service in firewalld, and choose 'Show Advanced Options' in the 'hp-setup' utility. For 'Network discovery method' choose 'Avahi'. This will allow the inbuilt Avahi service to be used for discovery on a LAN. Other methods will faill, unless you're prepared for more complex firewall configuration outlined in the thread.
    Wow! That's useful information. Enough to convince me to temporarily disable the firewall or enter the IP address. The IP address was what I had been doing, but thought it should be better to use DHCP for the printer to get an IP. But for a small network, I can see it's not worth the effort. I notice in my 15.2, (or is it hplip 3.19.12?) the Avahi service is not an option. It only shows SLP and mDNS/Bonjour. But I'll try it with the IP address.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •