首页 > 其他分享 >MacOS怎么安装打印驱动和连接打印机

MacOS怎么安装打印驱动和连接打印机

时间:2022-12-16 11:56:15浏览次数:46  
标签:MacOS HP hp 打印机 打印驱动 HewlettPackardPrinterDrivers Downloads expand

一、下载官方驱动

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

 

 

二、安装驱动

把下载的驱动放到Downloads文件夹下。打开终端,键入以下命令:

ps: 下载的驱动文件名可能有点差异,可能需要对步骤一进行修改,我的文件名是HewlettPackardPrinterDrivers。若步骤一找不到路径,尝试ls,然后一步步cd。步骤二~步骤六可以无脑操作,程序化输入

(1)hdiutil attach ~/Downloads/HewlettPackardPrinterDrivers.dmg

(2)pkgutil --expand /Volumes/HP_PrinterSupportManual/HewlettPackardPrinterDrivers.pkg ~/Downloads/hp-expand

(3)hdiutil eject /Volumes/HP_PrinterSupportManual

(4) sed -i '' 's/12.0/13.0/' ~/Downloads/hp-expand/Distribution

(5)pkgutil --flatten ~/Downloads/hp-expand ~/Downloads/HP_Drivers_12.pkg

(6)rm -R ~/Downloads/hp-expand

三、连接打印机

打开系统偏好设置->打印机有扫描仪->点左下角的+号->输入打印机的IP地址,回车->在使用这个下拉框选择你的打印机名称->添加

ps:我用的是公司内网,可能会有差异

 

然后就OK啦,可以尝试打开一个文档,点打印试试效果

标签:MacOS,HP,hp,打印机,打印驱动,HewlettPackardPrinterDrivers,Downloads,expand
From: https://www.cnblogs.com/tingcc/p/16986952.html

相关文章