您好,欢迎访问本站!登录后台
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧
  • 网站所有资源均来自网络,如有侵权请联系站长删除!

问题:HP LaserJet 1020使用OpenWrt安装CUPS后打印机断电重启之后无法使用

常用软件 中国人民很行 2025-10-17 124 次浏览 0个评论

问题原因:

经查证发现HP1020存在两个特殊设计

  • 专为Windows设计的驱动架构,Linux支持不完善
  • 无内置闪存,每次开机需通过/dev/usb/lp0接口写入固件
  • 解决方法:
  • 方法1、打印机插到Windows电脑上使用一次在插到OpenWrt的USB口上即可,但是断电之后又无法使用
  • 方法2、拷贝sihp1020.dl文件到openwrt的/etc目录

最终解决方法:

编写hp1020.sh文件

vi  /etc/hp1020.sh
cat /etc/sihp1020.dl >>/dev/usb/lp0
chmod +x /etc/hp1020.sh
bash /etc/hp1020.sh

启动项-本地启动脚本 把启动项加进去OpenWRT的即可

# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
sleep 5
bash /etc/hp1020.sh
exit 0


已有 124 位网友参与,快来吐槽:

发表评论

验证码