Skip to content

Instantly share code, notes, and snippets.

@sturmenta
Last active March 19, 2025 11:32
Show Gist options
  • Save sturmenta/b3f6f2f4df0a978dc54a31261f9593e7 to your computer and use it in GitHub Desktop.
Save sturmenta/b3f6f2f4df0a978dc54a31261f9593e7 to your computer and use it in GitHub Desktop.
driver printer hp laserjet p1005 mac
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/16.0/' ~/Downloads/hp-expand/Distribution
pkgutil --flatten ~/Downloads/hp-expand ~/Downloads/HP_Drivers_16.pkg
rm -R ~/Downloads/hp-expand
# sources:
# https://www.reddit.com/r/MacOSBeta/comments/1hce0jv/issues_while_installing_software/
# https://discussions.apple.com/thread/255806096?sortBy=rank
# https://forums.macrumors.com/threads/monterrey-and-hp-printers.2319676/?post=30525559#post-30525559
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment