Debian 12. HP Laserjet Professional P1606dn

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?

  • taladar@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    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.

        • WasPentalive@lemmy.oneOP
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Actually, I think it might take a whole “open source” company - the printer itself is sold assembled at a profit (Much more expensive than printers today) but it can be assembled from available plans and off-the-shelf parts. The control inside the computer would probably be something a lot like a Raspberry Pi.

          The ink is provided at the actual cost, and the formula for the ink is available.

          The firmware is downloaded from the host computer on printer power-up, so that can be fully open source- allowing the user to correct or add functionality. Perhaps driven by a high-level “printer language” that would make writing printer firmware easy to understand and update.

            • WasPentalive@lemmy.oneOP
              link
              fedilink
              arrow-up
              2
              ·
              1 year ago

              But first, you will need to discover how to pry the existing firmware off so many different kinds of printers. This, unfortunately, is probably a DMCA violation (bypassing a security measure, for example, the code that forces one to use only ‘approved’ ink supplies)

    • BaldProphet@kbin.social
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      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.

      • taladar@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        I said “for all print protocols”, as in all the ones network printers have to support to get all possible clients to work.

  • words_number@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Rage against the machine never specified what kind of machine they meant. Now we know it was probably a printer.

    Sorry, I know this is not helping, but I love that joke :D

  • qwesx@kbin.social
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    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 hplip here. Looks like your printer is perfectly supported (as long as you let hplip’s tray program install their proprietary driver plugin).

    • WasPentalive@lemmy.oneOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      I will try that. Thanks! I am not sure what features I don’t get to use because of the USB/Generic PCL printer setup I have now.

      • WasPentalive@lemmy.oneOP
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        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.

        • qwesx@kbin.social
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          Have you installed the plugin within hplip, or rather, the hplip-GUI program? Have you removed the old printer from CUPS before trying?

          • WasPentalive@lemmy.oneOP
            link
            fedilink
            arrow-up
            0
            ·
            1 year ago

            I don’t really understand the CUPS web interface at localhost:[cups port] but I am removing the printer from the control panel and ensuring it disappeared over a reboot. I installed the hplip package using apt. I don’t know if it brought a GUI along with it. I have been interacting with things using the settings app.

            • qwesx@kbin.social
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              What settings app? hp-toolbox is the program to use (which might in your applications menu as “HP Device Manager”), alternatively hp-setup to set it up from the CLI.

  • Johannes Jacobs@lemmy.jhjacobs.nl
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    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 :)

    • WasPentalive@lemmy.oneOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      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?

      • Reihar@beehaw.orgB
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        As mentioned by another commenter, Brother sells out of the box working on Linux printers.

      • RoboRay@kbin.social
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Both of the Brother printers I have are completely plug and play on Linux… no set up at all. As soon as I had them connected to the network, I got a popup saying a new printer was available.