Overview | 概述
This guide will help you install HP printer drivers on macOS 15.1 by modifying the installer package to bypass version restrictions.
升级了 macOS 15.1 后,惠普打印机驱动程序无法正常工作。科研喵查了一天,找到了一些办法,将帮助您通过修改安装包以绕过版本限制,在 macOS 15.1 上安装惠普打印机驱动程序。
本指南将帮助您通过修改安装包以绕过版本限制,在 macOS 15.1 上安装惠普打印机驱动程序。
Prerequisites | 前提条件
- macOS 15.1 installed | 已安装 macOS 15.1
- Terminal access | 可以访问终端
- Administrative privileges | 管理员权限
Step 1: Download HP Drivers | 第一步:下载惠普驱动程序
English
- Visit the official HP website (https://support.hp.com)
- Download the latest macOS printer drivers (file name should be "HewlettPackardPrinterDrivers.dmg")
- Save the file to your Downloads folder
中文
- 访问惠普官方网站 (https://support.hp.com)
- 下载最新的 macOS 打印机驱动程序(文件名应为 "HewlettPackardPrinterDrivers.dmg")
- 将文件保存到下载文件夹
Step 2: Create the Modification Script | 第二步:创建修改脚本
English
- Open Terminal (Applications > Utilities > Terminal)
- Navigate to Downloads folder:
cd ~/Downloads
- Create a new script file:
nano hp_fix.sh
- Copy and paste the following script:
#!/bin/bash
hdiutil attach ~/Downloads/HewlettPackardPrinterDrivers.dmg
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
- Save the script:
- Press Control + X
- Press Y to confirm
- Press Enter
中文
- 打开终端(应用程序 > 实用工具 > 终端)
- 进入下载文件夹:
cd ~/Downloads
- 创建新的脚本文件:
nano hp_fix.sh
- 复制并粘贴以下脚本:
#!/bin/bash
hdiutil attach ~/Downloads/HewlettPackardPrinterDrivers.dmg
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
- 保存脚本:
- 按 Control + X
- 按 Y 确认
- 按 Enter
Step 3: Run the Script | 第三步:运行脚本
English
- Make the script executable:
chmod +x hp_fix.sh
- Run the script:
./hp_fix.sh
- Wait for the script to complete
中文
- 使脚本可执行:
chmod +x hp_fix.sh
- 运行脚本:
./hp_fix.sh
- 等待脚本完成
Step 4: Install the Modified Driver | 第四步:安装修改后的驱动程序
English
- Go to your Downloads folder
- Find the new file named "HP_Drivers_15.0.1.pkg"
- Double-click to open the installer
- Follow the installation prompts
- Enter your administrator password when prompted
- Wait for the installation to complete
- Restart your computer
中文
- 打开下载文件夹
- 找到名为 "HP_Drivers_15.0.1.pkg" 的新文件
- 双击打开安装程序
- 按照安装提示进行操作
- 在提示时输入管理员密码
- 等待安装完成
- 重启电脑
Step 5: Add Your Printer | 第五步:添加打印机
English
- Open System Settings
- Go to Printers & Scanners
- Click the "+" button to add a new printer
- Select your HP printer from the list
- Make sure the correct driver is selected
- Click Add
中文
- 打开系统设置
- 进入打印机与扫描仪
- 点击"+"按钮添加新打印机
- 从列表中选择您的惠普打印机
- 确保选择了正确的驱动程序
- 点击添加
Troubleshooting | 故障排除
English
If you encounter any issues:
- Make sure the printer is connected to the same network as your Mac
- Try removing and re-adding the printer
- Check if the printer is turned on and ready
- Restart both your printer and Mac
中文
如果遇到问题:
- 确保打印机与 Mac 连接到同一网络
- 尝试移除并重新添加打印机
- 检查打印机是否开启并就绪
- 重启打印机和 Mac
Notes | 注意事项
English
- This is a temporary solution until HP releases official support for macOS 15.1
- Make sure to keep your HP drivers updated
- Save this guide for future reference
中文
- 这是在惠普发布 macOS 15.1 官方支持之前的临时解决方案
- 请确保及时更新惠普驱动程序
- 保存此指南以供将来参考
参考了https://forums.macrumors.com/threads/monterrey-and-hp-printers.2319676/?post=30525559#post-30525559
Overview | 概述
This guide will help you install HP printer drivers on macOS 15.1 by modifying the installer package to bypass version restrictions.
升级了 macOS 15.1 后,惠普打印机驱动程序无法正常工作。科研喵查了一天,找到了一些办法,将帮助您通过修改安装包以绕过版本限制,在 macOS 15.1 上安装惠普打印机驱动程序。 本指南将帮助您通过修改安装包以绕过版本限制,在 macOS 15.1 上安装惠普打印机驱动程序。
Prerequisites | 前提条件
Step 1: Download HP Drivers | 第一步:下载惠普驱动程序
English
中文
Step 2: Create the Modification Script | 第二步:创建修改脚本
English
中文
Step 3: Run the Script | 第三步:运行脚本
English
中文
Step 4: Install the Modified Driver | 第四步:安装修改后的驱动程序
English
中文
Step 5: Add Your Printer | 第五步:添加打印机
English
中文
Troubleshooting | 故障排除
English
If you encounter any issues:
中文
如果遇到问题:
Notes | 注意事项
English
中文
参考了https://forums.macrumors.com/threads/monterrey-and-hp-printers.2319676/?post=30525559#post-30525559