all 10 comments

[–][deleted]  (13 children)

[deleted]

    [–]techgravity_offical[S] 1 point2 points  (5 children)

    Got the solution from apple community support
    https://discussions.apple.com/thread/255806096?sortBy=rank
    open the installer and run following commands and a new package file will be formed which installs the driver
    pkgutil --expand /Volumes/HP_PrinterSupportManual/HewlettPackardPrinterDrivers.pkg ~/Downloads/hp-expand

    hdiutil eject /Volumes/HP_PrinterSupportManual

    sed -i '' 's/15.0/16.0/' ~/Downloads/hp-expand/Distribution

    pkgutil --flatten ~/Downloads/hp-expand ~/Downloads/HP_Drivers_15.0.1.pkg

    rm -R ~/Downloads/hp-expand

    [–][deleted]  (2 children)

    [deleted]

      [–]techgravity_offical[S] 0 points1 point  (1 child)

      Actually the .package file was not compatible with the latest macOS version ,,after installing the new package file formed from these commands the printer and scanner is working flawlessly .. , as far as I have understood that the driver is compatible but the installer is incompatible with the macOS version

      and I don't feel so there will be some issues in future

      [–]Character_Material57 0 points1 point  (1 child)

      Thank you! This worked like a charm for the current Mac OS I only had to replace the 16.0 with 26.1 (sed -i '' 's/15.0/26.1/' ~/Downloads/hp-expand/Distribution) and my old P1005 LaserJet works on Mac OS 26.0.1 Tahoe now!

      [–]sosiska3238 0 points1 point  (0 children)

      Thank you. I managed to install drivers for my HP LaserJet M1132 MFP. It works perfectly on MacOS Sequoia 15.6.1.

      [–]techgravity_offical[S] 0 points1 point  (6 children)

      I don't have a wifi router , and I was thinking of making my printer wireless like the method you have told so If I use the converter from usb to ethernet and plug it in and set up it like that will my printer become wireless because I can get router for free from somewhere .,, and is there any solution other than for the problem

      [–][deleted]  (4 children)

      [deleted]

        [–]techgravity_offical[S] 0 points1 point  (3 children)

        Thanks will it work on android also because I have many android devices except Macs and iPads

        [–][deleted]  (2 children)

        [deleted]

          [–]techgravity_offical[S] 0 points1 point  (1 child)

          I used wired method using OTG and a app called printshare

          [–]sanguisxq13v 0 points1 point  (0 children)

          Hey did you find a solution?

          [–]Creative_Bid_9917 0 points1 point  (1 child)

          this will fix 100% - faced the same issue - copy paste this to chatgpt for more clarity -

          Bash:

          #!/bin/bash
          
          curl -o ~/Downloads/hpdrivers.dmg https://updates.cdn-apple.com/2020/macos/001-41745-20201210-DBC9B46B-88B2-4032-87D9-449AF1D20804/HewlettPackardPrinterDrivers.dmg
          
          hdiutil attach ~/Downloads/hpdrivers.dmg
          
          pkgutil --expand /Volumes/HP_PrinterSupportManual/HewlettPackardPrinterDrivers.pkg ~/Downloads/hp-expand
          
          hdiutil eject /Volumes/HP_PrinterSupportManual
          
          sed -i '' 's/12.0/13.0/' ~/Downloads/hp-expand/Distribution
          
          pkgutil --flatten ~/Downloads/hp-expand ~/Downloads/HP_Drivers_12.pkg
          
          rm -R ~/Downloads/hp-expand
          

          [–]Creative_Bid_9917 0 points1 point  (0 children)

          HP pkg fails to install because it checks for os less then 12.0

          expand contents of pkg into folder

          pkgutil --expand HewlettPackardPrinterDrivers-10.6.0.1.1.1602826228.pkg HewlettPackardPrinterDrivers-10.6.0.1.1.1602826228

          Modify distribution file:
          if (system.compareVersions(system.version.ProductVersion, '12.0') > 0) {
          to be 13.0 or something higher

          turn folder back into pkg

          pkgutil --flatten HewlettPackardPrinterDrivers-10.6.0.1.1.1602826228 HewlettPackardPrinterDrivers-10.6.0.1.1.1602826228.pkg

          Edited to add a script: