环境:deepin V15 打印机: cp105b
源代码来自: https://gitee.com/macos2/HBPLv1.0_Plus-Printer-driver
git clone https://gitee.com/macos2/HBPLv1.0_Plus-Printer-driver.git cd HBPLv1.0_Plus-Printer-driver make su make install
以下为运行过程:
jinesc@jinesc-PC:~/Desktop$ cd .. jinesc@jinesc-PC:~$ git clone https://gitee.com/macos2/HBPLv1.0_Plus-Printer-driver.git 正克隆到 'HBPLv1.0_Plus-Printer-driver'... remote: Enumerating objects: 75, done. remote: Counting objects: 100% (75/75), done. remote: Compressing objects: 100% (74/74), done. remote: Total 75 (delta 40), reused 0 (delta 0), pack-reused 0 展开对象中: 100% (75/75), 完成. jinesc@jinesc-PC:~$ ls Desktop Documents Downloads fcitx-qt5 HBPLv1.0_Plus-Printer-driver Music Pictures Qt5.12.9 qtscr Videos 模板 jinesc@jinesc-PC:~$ cd HBPLv1.0_Plus-Printer-driver jinesc@jinesc-PC:~/HBPLv1.0_Plus-Printer-driver$ ls configure foo2hbpl1-plus-wrapper.in hbplv1_encode.h hbplv1_template.c icm makefile.in readme.md foo2hbpl1-plus.c hbplv1_encode.c hbplv1_enum.h hbplv1_template.h makefile ppd jinesc@jinesc-PC:~/HBPLv1.0_Plus-Printer-driver$ make Build foo2hbpl1-plus Modify foo2hbpl1-plus-wrapper jinesc@jinesc-PC:~/HBPLv1.0_Plus-Printer-driver$ make install Install Binary File cp: 无法创建普通文件'/usr/bin/foo2hbpl1-plus-wrapper': 权限不够 makefile:13: recipe for target 'install' failed make: *** [install] Error 1 jinesc@jinesc-PC:~/HBPLv1.0_Plus-Printer-driver$ sudo make install [sudo] jinesc 的密码: Install Binary File Install PPD File Install ICM File
之后在打印设置里面就有了cp105的驱动了 按教程安装即可。
发表评论