If it prints at all, it prints the top inch of the test page or just random binary. I have tried the recommended driver, the driverless driver, the Generic PCL 4/5 driver, the Generic PCL 6 driver. And probably others I am not remembering.
I am trying to print over Ethernet, but I am about to drag the printer over near my desk and print via USB.
Fortunately, I don't have actual critical printing to do right now and I am only setting up a printer after installing Debian 12. BTW this means it is a fresh install of Debian 12 too.
I have been helpdesk support at a data center. I would not consider myself a dummy, but this is getting ridiculous. A task that should have taken all of 10 minutes has taken over 2 hours so far.
How are we ever going to get "The Year of Linux on the Desktop" if simple printing is and continues to be such a pain?
In my experience printing has always been pain on all operating systems, especially Windows.
The fact that you literally need to open up about half of all possible TCP and UDP ports in a firewall just to get all printing protocols over the network to work at all and that the vendors try to prevent you from using third party ink, and other consumables is good evidence that it is more the printer vendors fault than anyone else's.
I just did a test with my Brother printer on Windows. I saw one port opened for the print protocol and four or five for various name service protocols (because I have a homelab and have screwed around with DNS a little too much, apparently). If you're opening half of all possible TCP and UDP ports to get the printing protocol to work, you're doing something wrong.
You're supposed to use hplip for HP printers. There's a Debian package for it in the main repositories.
edit: You can look up the printers and supported features with hpliphere. Looks like your printer is perfectly supported (as long as you let hplip's tray program install their proprietary driver plugin).
That was worse - the test page failed with "filter failed", went back to "Generic PCL Laser Printer", and was able to print a full Debian test page again.
I bought this printer years ago. It has worked fine most of the time up until now. Perhaps this is what I get for installing the latest Debian.
I had a Canon multifunction that absolutely refused to work with Linux. Who sells Linux friendly printers?
Update = Connecting the printer via USB gave better results. I would rather talk to it via the existing ethernet, but I did have a long USB cable so at least I don't have to give up half my desk. The printer is still connected to the network too. perhaps my wife can use it from windows.
I have never had an issue printing to my HP printer, or the many other HP, Canon, and Brother printers I have used from my Linux device. CUPS handles all of them exceptionally. On the other hand, Windows machines I've used need HP Smart for anything HP, and Macs can never correctly print to Canons.
To be fair, printing on Windows isnt all roses and sunshine either :) Printing in itself is an issue. I remember how happy i felt when the big tech started talking about the paperless office and all..
I’m still waiting, and praying for that day to come :)
I have a network connected hp officejet. If you want I can check my settings and drivers in CUPS tomorrow so you can compare. It has been working with several computers for quite a long time now and it gets auto discovered by windows and Linux.
I use ink from a 3rd party seller and it's relatively nag free since it's pretty old. It warns about non authentic ink, but then works just fine.