在 openSUSE-Leap-15.4-DVD-x86_64 中使用 gutenprint 安装打印机驱动程序 ppd 文件
最近在 fedora38 系统中将打印机的 USB 接口插入电脑主机按下电源键,它会自动提示打印机已添加,而且还能正常打印,原来是安装了 gutenprint 提供大量的打印机驱动文件 ppd,在 opensuse15.4 里也有提供 gutenprint-5.2.14 安装,按下打印机电源键就会自动安装驱动文件,但没有弹出什么提示,也是能正常打印
localhost:~ # zypper search guten
Loading repository data…
Reading installed packages…
S | Name | Summary | Type
–±----------------------±-----------------------------------------------------------±-------
| gutenprint | Printer drivers for CUPS from the Gutenprint project | package
| gutenprint-devel | Development environment for Gutenprint | package
| gutenprint-gimpplugin | Alternative GIMP print plug-in from the Gutenprint project | package
localhost:~ # zypper install gutenprint
Loading repository data…
Reading installed packages…
Resolving package dependencies…
The following NEW package is going to be installed:
gutenprint
1 new package to install.
Overall download size: 18.8 MiB. Already cached: 0 B. After the operation, additional 81.0 MiB will be used.
Continue? [y/n/v/…? shows all options] (y): y
Retrieving package gutenprint-5.2.14-150000.3.2.2.x86_64 (1/1), 18.8 MiB ( 81.0 MiB unpacked)
Retrieving: gutenprint-5.2.14-150000.3.2.2.x86_64.rpm …[done (1.1 MiB/s)]
Checking for file conflicts: …[done]
(1/1) Installing: gutenprint-5.2.14-150000.3.2.2.x86_64 …[done]
localhost:~ # rpm -ql gutenprint-5.2.14-150000.3.2.2.x86_64 | head -n 50
…………
/usr/lib64/libgutenprintui2.so.1
/usr/lib64/libgutenprintui2.so.1.0.0
/usr/sbin/cups-genppd.5.2
/usr/sbin/cups-genppdupdate
/usr/share/cups
/usr/share/cups/calibrate.ppm
/usr/share/cups/model
/usr/share/cups/model/gutenprint
/usr/share/cups/model/gutenprint/5.2
…………
localhost:~ # cups-genppd.5.2 -M
罗列出所有自带的打印机驱动程序 ppd 文件
localhost:~ # ls /usr/share/cups/model/gutenprint/5.2/C/
ppd 文件存放在/usr/share/cups/model/gutenprint/5.2/C/
自己的打印机是佳能 ip2700,分别以关键字 ip、2700、ip2700、ip27 查一查
localhost:~ # cups-genppd.5.2 -M | grep -i ip
localhost:~ # cups-genppd.5.2 -M | grep -i 2700
localhost:~ # cups-genppd.5.2 -M | grep -i ip2700
localhost:~ # cups-genppd.5.2 -M | grep -i ip27
bjc-iP2700-series
bjc-PIXMA-iP2700
bjc-PIXUS-iP2700
bjc-PIXMA-iP2701
bjc-PIXMA-iP2702
bjc-PIXMA-iP2740
bjc-PIXMA-iP2760
bjc-PIXMA-iP2770
bjc-PIXMA-iP2772
bjc-PIXMA-iP2780
bjc-PIXMA-iP2788
grep 后的-i 表示忽略字母大小写
应用程序——系统工具——打印设置——右上角解锁——输入 root 密码——IP2700-series——打印机——属性——生产和型号:Canon iP2700 series - CUPS+Gutenprint v5.2.14