I was walking home yesterday and I just happened to come across an HP LaserJet p2035n sitting by the dumpster, waiting to be taken away. I’ve never owned a printer, but this thing looked like it came from an era when such devices were made to be reliable instead of forcing DRM-locked cartridges, so I picked it up and took it with me. After getting situated I started some online research and I figure this brand of printers was manufactured from about 2008-2012, and my printer has a 2012 date.

As it turns out, this tossed printer works perfectly fine. I plugged it into power and ran a test sheet, and it prints almost perfectly. I plugged it via USB-B into my PC running Fedora 41 and immediately it gets picked up and added as usable printer. I then plugged the printer into its Ethernet port and fortunately this thing is new enough to have Bonjour (i.e. mdns) services so once again my PC just immediately finds it and can print. Awesome!

My laptop is a MacBook. While it did detect the printer over the network, it couldn’t add the printer because it couldn’t find a driver to operate it. I honestly don’t understand why that’s a problem since I assume macOS also uses CUPS just like Linux. But at any rate, I found the solution:

With CUPS on Linux I can share the printer. After configuring firewall-cmd to allow the ipp service now my iPhone and my MacBook can also print to the shared printer using the generic PostScript driver. So, in conclusion, Linux helped me 1) use this printer with no additional effort of installing drivers, 2) share this printer to devices which were not plug-and-play ready, and 3) print pics of Goku and Vegeta. As always, I love Linux.

  • GnuLinuxDude@lemmy.mlOP
    link
    fedilink
    arrow-up
    42
    arrow-down
    1
    ·
    4 days ago

    Seems unfair to not share what I’ve been printing! Plus some status/config pages and I ran a few tests to see how I can manually duplex print (odds then evens on the back). I only have a few sheets of printer paper so I’ve been running them through again and again 😆

  • Lovable Sidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    3 days ago

    More good news - if you ever use up the current toner cartridge, that printer takes generic ones that cost $20 or less. Assuming you even print enough to need one. Congrats on your great find!

  • Chris@feddit.uk
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    1
    ·
    4 days ago

    MacOS should use CUPS - I believe Apple developed it or at least did some major work on it.

    • jqubed@lemmy.world
      link
      fedilink
      arrow-up
      12
      arrow-down
      1
      ·
      4 days ago

      Yes, that is surprising; I’m fairly certain they were involved in developing Bonjour also

      • GnuLinuxDude@lemmy.mlOP
        link
        fedilink
        arrow-up
        18
        ·
        edit-2
        4 days ago

        Apple bought and sponsored CUPS, essentially, until they no longer did. That story is very briefly touched on here https://www.phoronix.com/news/Apple-No-More-CUPS

        I don’t know the full history of mdns and zero config networking, but Bonjour is indeed Apple’s implementation of it. In my printer’s web config page it specifically lets me enable/disable Bonjour, so I assume they are using Apple’s implementation. On Linux we have Avahi as a competing piece of software to provide the same service.

  • Beej Jorgensen@lemmy.sdf.org
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    4 days ago

    I’ve had no joy getting my Brother printer to share over the network with our macs… It seems like the mac sees it for a moment and then it vanishes. The closest Ive come is having the printer wake up when the Mac sent a job, but it didn’t print anything. Prints fine from Linux USB.

    Someday I’ll give it a third attempt.

  • nanook@friendica.eskimo.com
    link
    fedilink
    arrow-up
    5
    ·
    4 days ago

    @GnuLinuxDude I mostly use HP printers because with Linux they are always plug-in-play and because although they will provide a message telling me my ink is cheap third party ink, they will none the less accept and print with it.

    The model I previously used, HP OfficeJet 5258 All-in-One Printer, the printer always worked well but the scanners kept breaking. I went through four of these before I tried an Epson. The Epson initially worked with 3rd party ink then after a software update didn’t so at that point I trashed it and bought another HP, this time a HP OfficeJet 8015e Wireless Color All-in-One Printer which is much more robustly constructed. In fact while taking it out of the box, I accidentally dropped it from chest level and all it did was bounce, no pieces broke off, nothing. So far it has been reliable both for scanning and printing although the scanner is easier to jam but at least it doesn’t break in the process of my unjamming it.

    • GnuLinuxDude@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      3 days ago

      The Epson initially worked with 3rd party ink then after a software update didn’t

      Infuriating!