Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
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:

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
Hi i need help doing this, im not a technician and i don t know where to run it or how, please help!
 
  • Like
Reactions: lemosher4
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:

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

Works perfectly Thanks :D
 
I am having the same problem but I have NO IDEA WHAT YOU JUST TYPED OR ARE SAYING. How do I fix this????
I’m a newbie here and just purchased a HP Officejet 6798 and I’m having issues with connecting my MacBook Monterey OS to the printer too. I have no idea where to enter the text above. Please help. ?‍♀️
 
Thankfully, Monterey 'saw' my HP Laserjet P1102w (hardwired - don't even get me started as to the wireless process on HP) after a moment - though I had to tell it to make it the Default printer again. Pleased I didn't have to visit the Land of the Terminal as noted above. But thanks for that.
How did you get there? I have no idea how to use the terminal and copying and pasting the commands do nothing. I have a LaserJet P1102s
 
Thankfully, Monterey 'saw' my HP Laserjet P1102w (hardwired - don't even get me started as to the wireless process on HP) after a moment - though I had to tell it to make it the Default printer again. Pleased I didn't have to visit the Land of the Terminal as noted above. But thanks for that.
Out of interest, did you have this installed on Big Sur and then upgrade. This was OK for us, but new installations are impossible and default PCL printing ''prints" on the computer without error, but there is no actual printing.

I have been 'chatting' with support on Twitter as we have quite a few HP printers.
1. on the forums they just suggest that your printer is too old - people are outraged!
2. on twitter personal messaging they say its terrible and send it to this or that team, but nothing happens within the stated time frame

Huge statements from these big companies like HP about sustainability, but it is green-washing if they think I should just throw away 5 printers because of a relatively minor OS update. It is not as if they don't have a considerable income stream from consumables - and very specifically so now that many of their printers require chipped toners and cartridges.
 
Out of interest, did you have this installed on Big Sur and then upgrade. This was OK for us, but new installations are impossible and default PCL printing ''prints" on the computer without error, but there is no actual printing.

I have been 'chatting' with support on Twitter as we have quite a few HP printers.
1. on the forums they just suggest that your printer is too old - people are outraged!
2. on twitter personal messaging they say its terrible and send it to this or that team, but nothing happens within the stated time frame

Huge statements from these big companies like HP about sustainability, but it is green-washing if they think I should just throw away 5 printers because of a relatively minor OS update. It is not as if they don't have a considerable income stream from consumables - and very specifically so now that many of their printers require chipped toners and cartridges.
It was installed on Big Sur - though I recall that was a bit of an ordeal when I upgraded to that. Mac couldn't find it without something about unsigned installation files, and only drivers from HP site similarly troubled until they did an update (without actually changing the version number). Many had the same issue.

Anyhoo, no such issue going from Big Sur to Monterey. Sorry to hear a fresh install is causing so much pain.

That said, I recently acquired a cheapie Windows 11 laptop for work. Windows couldn't find it and HP site's most recent drivers didn't work either. Yes, I appreciate the device is 'old', but I agree - if the product still works and they still provide the toners for it, then they should make some effort to support it. Tossing a device because the manufacturer would rather you buy a new one - which incidentally, aren't going down in price - is just plain wasteful.

(That said, they'd probably not be happy to hear I have found re-manufactured toner cartridges that works on it for 1/3 the price of their own. I guess the P1102w a pre-chip device - and another reason they want us to 'upgrade')
 
I can print to mine but the HP Smart App for desktop keeps crashing every time I open it. They just updated the app and it still does the same thing. Starts to open then crashes...
 
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:

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
Many thanks ...worked a treat
 
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

THANK YOU, THANK YOU, THANK YOU!!!
 
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



Type these down 1 by 1 in terminal and you're good to go. Only these lines worked for me
Thanks it works...
 
amazing, this worked like a charm. thank you!

I can now add the printer and it finds the drivers automatically in settings

(i have officejet 4500)
 
Last edited:
I’m a newbie here and just purchased a HP Officejet 6798 and I’m having issues with connecting my MacBook Monterey OS to the printer too. I have no idea where to enter the text above. Please help. ?‍♀️
You needs to open the application ' terminal' and enter the text line by line

However, if I was you I would be speaking to HP as you have bought a new printer (although launched in 2017). If it is being sold it should be supported or come with some warnings.
 
Does anyone have any insight into why HP have failed to respond with a new installer?

1. Are they trying to get people to change their older (often not so old) printers?
2. Are they just really disinterested in looking competent / don't care?

In an age of trying to preserve resources and move away from a throwaway culture, this really points to their high claims of environmental concern as just greenwashing - shame on you HP

Screenshot 2021-11-27 at 08.26.53.png

 
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:

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
The theapplecynic is the Man! or Woman!!

Note:
Once you copy and paste into Terminal, it will automatically download the file package. You'll see the % of load on the left. Wait until it finishes the process. Install and restart your computer. You should be able to see the driver when you setup your printer in Sys Prefs.
 
Thanks guys, the download was surprisingly large but it resolved the lack of 'Scan' button on my Intel and M1 machines when I ran the add printer wizard - a problem that existed for quite a while now. I'm running Monterey on all my Macs.
 
there seems to be a new HP driver on apples site


found at
https://support.apple.com/kb/dl1888?locale=en_US

its tagged as 12/11/2020 but seems like the package was updated 2021-11-01. installed fine on OSX 12.0.1 with no issues direct from dmg

Yeah, Apple has it on their Software Downloads page as HP 5.1.1 Printer Software Update.


Confusingly, under System Requirements it says this:

macOS 10.14

Not compatible with macOS v12 and newer

..but it installs without complaint on Monterey RC, and I was able to successfully print to an HP color printer with the driver it installed.
 
The same link I posted..

it still says Not compatible with macOS v12 and newer..

Think they need to remove the NOT
 
  • Like
Reactions: marram55
I'm very chicken about messing with the registry, etc. I have an HP Envy 7640. HP talked me through getting it to work, but it's messing up again. Says it's printing, but I have no idea where the documents end up. :p
 
I'm on a brand new M1 Pro MacBook running MacOS 12.1, and I needed a driver for a LaserJet MFP 426fdw. Before looking here, I downloaded and ran HP EasyStart (great name). Well, EasyStart never got past the initial screen ("preparing device for setup..."). When I tried to cancel it, it gave me a warning about how the printer might not work. But then it "found" and started downloading HP drivers (v6.1.x), along with EasyScan. Then it installed them, and it worked. Chalk one up for HP's Customer Experience Team. They do a great(?) job of taking care of us.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.