我一直正常使用佳能 MX420 打印机,直到我将 ubuntu 升级到 11.10。升级后,我可以将其添加到打印机中,但无法打印或扫描任何页面!我现在该怎么办?
sudo apt-get 安装 cnijfilter-mx420series
:Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
python-hachoir-parser nautilus-actions iat nautilus-image-converter
pyrenamer nautilus-filename-repairer python-hachoir-metadata
python-hachoir-core md5deep
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
cnijfilter-common
The following NEW packages will be installed:
cnijfilter-common cnijfilter-mx420series
0 upgraded, 2 newly installed, 0 to remove and 294 not upgraded.
Need to get 1,783 kB of archives.
After this operation, 7,688 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ppa.launchpad.net/michael-gruz/canon/ubuntu/ oneiric/main cnijfilter-common amd64 3.50-2ubuntu4 [113 kB]
Get:2 http://ppa.launchpad.net/michael-gruz/canon/ubuntu/ oneiric/main cnijfilter-mx420series amd64 3.50-2ubuntu4 [1,670 kB]
Fetched 1,783 kB in 17s (100 kB/s)
Selecting previously deselected package cnijfilter-common.
(Reading database ... 262781 files and directories currently installed.)
Unpacking cnijfilter-common (from .../cnijfilter-common_3.50-2ubuntu4_amd64.deb) ...
Selecting previously deselected package cnijfilter-mx420series.
Unpacking cnijfilter-mx420series (from .../cnijfilter-mx420series_3.50-2ubuntu4_amd64.deb) ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Setting up cnijfilter-common (3.50-2ubuntu4) ...
Setting up cnijfilter-mx420series (3.50-2ubuntu4) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
答案1
原始来源:http://www.ubuntubuzz.com/2011/06/download-install-canon-printer-driver.html
在终端中输入以下命令(Cntrl-Alt-T)
sudo add-apt-repository ppa:michael-gruz/canon
sudo apt-get 更新
sudo apt-get 安装 cnijfilter-mx420series
一切顺利。
如果有任何错误,请在此处发布。
已编辑
要配置打印机,您可以使用 lpadmin
输入以下命令重新启动 CUPS 守护进程
sudo /etc/init.d/cups restart 或 sudo service cups restart
通过键入以下内容将打印机注册到后台处理程序
对于 usb = /usr/sbin/lpadmin -p [打印机名称] -m [PPD 文件名] -v cnijusb:/[USB 端口] -E
喜欢
sudo /usr/sbin/lpadmin -p MX420USB -m canonmx420.ppd -v cnijusb:/dev/usb/lp0 -E
对于 LAN 对于 LAN 连接
喜欢
/usr/sbin/lpadmin -p [打印机名称] -m [PPD 文件名] -v cnijnet:/[MAC 地址] -E
sudo /usr/sbin/lpadmin -p MX420LAN -m canonmx420.ppd -v cnijnet:/00-00-85-AB-C1-23 -E
3.设置默认打印机
/usr/sbin/lpadmin -d [打印机名称] 类似
sudo /usr/sbin/lpadmin -d MX420USB
4.输入以下代码取消 usblp 模块的黑名单
sudo nano /etc/modprobe.d/blacklist-cups-usblp.conf 在“blacklist usblp”行前面添加一个 # - 请注意,这可能会导致您在同一个系统中运行多台打印机时出现问题,因为 CUPS 直接管理这些打印机
5.输入以下命令检查打印机状态
cngpijmonmx420 [printer_name] 喜欢
cngpijmonmx420 MX420USB
如果没有错误,那么您的打印机就准备就绪了......如果有错误我们可以解决它......