Skip to content

faradayfury/hp-printer-drivers-apple-silicon-patch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HP Printer Drivers — Apple Silicon & macOS Compatibility Patch

Download & Install

Pre-patched package — download and install in one step:

  1. Download HewlettPackardPrinterDrivers-patched.pkg from the latest release
  2. Install it:
    sudo installer -pkg HewlettPackardPrinterDrivers-patched.pkg -target /
  3. If you're on Apple Silicon, make sure Rosetta 2 is installed:
    softwareupdate --install-rosetta

The Problem

Apple's official HewlettPackardPrinterDrivers package (v10.6, dated Oct 2021) refuses to install on modern Macs due to two artificial restrictions in the installer's Distribution file:

  1. Architecture lock — The installer only declares x86_64 support, so macOS blocks it on Apple Silicon (M1/M2/M3/M4) Macs entirely.
  2. macOS version cap — A JavaScript InstallationCheck() function rejects any macOS version above 15.0 (Sequoia), throwing a fatal error.

The actual driver binaries inside the package work fine under Rosetta 2. Only the installer metadata blocks installation — the drivers themselves are not broken.

What Was Changed

Only the Distribution file was modified. No driver binaries, scripts, or payloads were touched.

Change 1: Allow Apple Silicon

<!-- ORIGINAL -->
<options hostArchitectures="x86_64"/>

<!-- PATCHED -->
<options hostArchitectures="x86_64,arm64"/>

Added arm64 to the hostArchitectures attribute so the installer runs on Apple Silicon Macs.

Change 2: Remove macOS version cap

// ORIGINAL
function InstallationCheck(prefix) {
    if (system.compareVersions(system.version.ProductVersion, '15.0') > 0) {
        my.result.message = system.localizedStringWithFormat('ERROR_25CBFE41C7', '15.0');
        my.result.type = 'Fatal';
        return false;
    }
    return true;
}

// PATCHED
function InstallationCheck(prefix) {
    return true;
}

Removed the version check that blocked installation on macOS versions newer than 15.0.

Verification: Nothing else changed

Component Modified?
Distribution Yes (2 changes above)
HewlettPackardPrinterDrivers.pkg/Payload No (identical MD5: e0576d1db286a4878d4e89b7d0f0dbd9)
HewlettPackardPrinterDrivers.pkg/Bom No (identical MD5: 9acc9cd5d19e6c29bfff6dbd4e8f9270)
HewlettPackardPrinterDrivers.pkg/PackageInfo No
HewlettPackardPrinterDrivers.pkg/Scripts No (identical contents)
Resources/ (localizations, license) No

How to Reproduce the Patch

You can use the included script to patch the original DMG yourself:

./patch.sh HewlettPackardPrinterDrivers.dmg

Or do it manually:

# 1. Mount the original DMG
hdiutil attach HewlettPackardPrinterDrivers.dmg -nobrowse

# 2. Extract the pkg
mkdir hp_pkg && cd hp_pkg
xar -xf /Volumes/HP_PrinterSupportManual/HewlettPackardPrinterDrivers.pkg

# 3. Edit Distribution — make the two changes described above
#    a) Add arm64:  hostArchitectures="x86_64,arm64"
#    b) Remove the version check in InstallationCheck()

# 4. Re-pack into a new pkg
xar -cf ../HewlettPackardPrinterDrivers-patched.pkg *

# 5. Unmount
hdiutil detach /Volumes/HP_PrinterSupportManual

# 6. Install the patched pkg
sudo installer -pkg HewlettPackardPrinterDrivers-patched.pkg -target /

Supported Printers

This driver package includes PPDs for 325+ HP printer models across the following families:

LaserJet

HP LaserJet 1010, 1012, 1015, 1150, 1160 series, Pro MFP M125-M126, Pro MFP M127-M128, Color LaserJet 3500, 3550, 3600, Color LaserJet Pro MFP M176, M177

OfficeJet

HP Officejet 100 Mobile L411, 150 Mobile L511, 2620, 4000 K210, 4100, 4105, 4200 series, 4300 series, 4400 K410, 4500 G510/K710, 4610 series, 4620 series, 4630 series, 5500 series, 5600 series, 5740 series, 6000 E609, 6100, 6200 series, 6220, 6300 series, 6500 E709/E710, 6600, 6700, 6800, 7000 E809, 7110 series, 7200 series, 7300 series, 7400 series, 7500 E910, 7610 series, 8040 series, H470, J3600 series, J4500 series, J4660 series, J4680 series, J5700 series, J6400 series, K7100, Pro 3610, 3620, 6230, 6830, Pro 8000-8660 series, Pro K550/K5300/K5400/K850/K8600, Pro L7300-L7700

DeskJet

HP Deskjet 460, 1000 J110, 1010, 1050 J410, 1510, 2000 J210, 2020, 2050 J510, 2510, 2520, 2540, 2640, 3000 J310, 3050/3050A, 3070 B611, 3320, 3420, 3500, 3510, 3520, 3540, 3600, 3740, 3840, 3900, 4510, 4610, 4620, 4640, 5400 series, 5520, 5700, 5900 series, 6500, 6520 series, 6600, 6800, 6940 series, 6980 series, 9800, D730, D1300-D1600 series, D2300-D2600 series, D4100-D4300 series, D5060-D5500 series, F300 series, F735, F2100-F2400 series, F4100-F4500 series, Ink Advantage 2010/2060, Ink Advantage K109/K209

ENVY

HP ENVY 100 D410, 110, 120, 4500, 5530, 5640, 5660, 7640 series

Photosmart

HP Photosmart 140, 240, 320, 330, 370, 380, 420, 470 series, 2570-2700 series, 3100-3300 series, 5510/5510d, 5520, 6510, 6520, 7200, 7400, 7510, 7520, 7600, 7700, 7800, 7900, 8000-8700 series, A310-A820 series, B010/B109/B110/B8500 series, C309/C3100-C8100 series, D110/D5060-D7500 series, Ink Adv K510, Plus B209/B210, Prem C310/C410, Premium C309, Pro B8300/B8800/B9100, Wireless B109, eStn C510

Designjet

HP Designjet 111, 130, 500/500ps plus, 510/510ps, T120, T520, T610, T620, T770, T790, T795, T920, T1100, T1120, T1200, T1300, T1500, T2300, T2500, T3500, Z2100, Z3100/Z3100ps, Z3200/Z3200ps, Z5200

PSC

HP PSC 1000, 1100, 1200, 1300, 1310, 1400, 1500, 1600, 2100, 2150, 2170, 2200, 2300, 2350, 2400, 2500 series

Other / Legacy

HP 910, HP 915, hp1100, hp1100w, hp1130, hp1210nf, hp1560, hp1600dn

Notes

  • The drivers run under Rosetta 2 on Apple Silicon. Make sure Rosetta is installed (softwareupdate --install-rosetta).
  • This package includes drivers for many HP printers (LaserJet, OfficeJet, DeskJet, etc.), not just a single model.
  • The original DMG is Apple's own distribution from swscan.apple.com, package identifier com.apple.pkg.HewlettPackardPrinterDrivers.
  • No proprietary binaries are modified or redistributed — only the installer metadata (Distribution XML) is patched.

Disclaimer

This patch is unofficial and is not endorsed by, affiliated with, or supported by Apple Inc. or HP Inc. It is provided as-is, without warranty of any kind. Use at your own risk.

  • No proprietary software is modified or redistributed — only the open XML installer metadata is patched.
  • This may stop working with future macOS updates if Apple changes the installer framework.
  • Always verify your printer works after installation.

About

Patch for Apple's HP printer drivers to work on Apple Silicon (M1/M2/M3/M4) and modern macOS versions

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages