将Ubuntu 16.04升级到18.04(HP MFC-7470DW)后无法打印
我刚刚将我的系统从Ubuntu 16.04 LTS升级到18.04 LTS。 由于升级,我无法在Brother MFC-J470DW上打印。 插入时发现打印机(USB)。 但是当我发送测试打印(或任何其他文档)时,它会短暂出现在打印机作业列表中,并在几秒钟后完成,在作业列表中显示成功的作业。
另一方面,扫描从床和进料器上工作正常。
我已经在互联网上搜索了几天但到目前为止没有任何工作。
在使用CUPS Web界面删除打印机后,我尝试使用设置 – >打印机并使用命令行中兄弟的卸载工具从命令行重新安装驱动程序几次。
还尝试了将usblp
模块列入黑名单的程序。
值得一提的是,在16.04我在/etc/init.d目录中添加了链接lpd到cups。 这是我在16.04的修复,但这不再是诀窍了。)
输出dmesg
:
[120902.496158] usb 1-1.2: new high-speed USB device number 13 using ehci-pci [120902.609557] usb 1-1.2: New USB device found, idVendor=04f9, idProduct=02e8 [120902.609559] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [120902.609560] usb 1-1.2: Product: MFC-J470DW [120902.609562] usb 1-1.2: Manufacturer: Brother [120902.609563] usb 1-1.2: SerialNumber: BROM3F156149 [120902.612364] usblp 1-1.2:1.0: usblp1: USB Bidirectional printer dev 13 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02E8
lsusb
信息:
$ lsusb | grep Brother Bus 001 Device 013: ID 04f9:02e8 Brother Industries, Ltd
permssions似乎是正确的:
$ ls -l /dev/bus/usb/001/013 crw-rw-r--+ 1 root lp 189, 12 Oct 11 11:38 /dev/bus/usb/001/013
拔出并重新连接后,连接可能会改变,但清理和创建似乎是正确的权限。
任何想法接下来要尝试什么?
另一篇文章似乎与此相关,不同打印机的问题相同。
更新:
在卸载并重新安装新驱动程序之后,使用不同的条件(例如在未连接打印机时安装),使用不同的驱动程序版本打印机仍然无法正常工作。
我注意到的一些事情(可能或可能不相关):
-
synaptic包管理器将打印机驱动程序显示为0 Kb
-
原始打印到/ dev / usb / lpx使打印机唤醒,显示消息’接收’带有一些进度标记,但即便如此也不会打印。
我确定我使用的驱动程序与Ubuntu 16.04 LTS相同,仍然使用CUPS,尽管版本不同,仍然将init.d / lpd链接到init.d / cups,检查并重新检查Brother的所有要求。
更新:
经过一些严肃的挖掘和测试后,我认为我将打印问题的问题缩小到了一些未找到问题的文件。
请注意error_log中的icc配置文件未找到错误。 我不知道它需要什么或它做什么,但似乎是一个问题。
D [16/Oct/2018:01:09:48 +0200] [Job 6] DATA======BRHalfTonePattern=Diffusion BRMonoColor=Mono number-up=1 BRJpeg=Recommended BRDuplex=DuplexNoTumble noCollate PageSize=A4 BRColorMatching=Vivid BRContrast=0 BRBlue=0 BRColorEnhancement=OFF BRBrightness=0 BRGreen=0 BRMediaType=PlainDuplex BRDuplexMode=Normal BRSlowDrying=OFF BRColorPaperThick=Regular BRResolution=PlainNormal BRRed=0 BRBiDir=ON job-uuid=urn:uuid:3fcd853a-cee3-3cab-7b08-d5391119cf43 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1539641635 time-at-processing=1539644988 Copies=1 D [16/Oct/2018:01:09:48 +0200] [Job 6] search_data======BRContrast= D [16/Oct/2018:01:09:48 +0200] [Job 6] DATA======-cont D [16/Oct/2018:01:09:48 +0200] [Job 6] search_data======-cont D [16/Oct/2018:01:09:48 +0200] [Job 6] DATA======BRHalfTonePattern=Diffusion BRMonoColor=Mono number-up=1 BRJpeg=Recommended BRDuplex=DuplexNoTumble noCollate PageSize=A4 BRColorMatching=Vivid BRContrast=0 BRBlue=0 BRColorEnhancement=OFF BRBrightness=0 BRGreen=0 BRMediaType=PlainDuplex BRDuplexMode=Normal BRSlowDrying=OFF BRColorPaperThick=Regular BRResolution=PlainNormal BRRed=0 BRBiDir=ON job-uuid=urn:uuid:3fcd853a-cee3-3cab-7b08-d5391119cf43 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1539641635 time-at-processing=1539644988 Copies=1 D [16/Oct/2018:01:09:48 +0200] [Job 6] search_data======BRRed= D [16/Oct/2018:01:09:48 +0200] [Job 6] DATA======-red D [16/Oct/2018:01:09:48 +0200] [Job 6] search_data======-red D [16/Oct/2018:01:09:48 +0200] [Job 6] DATA======BRHalfTonePattern=Diffusion BRMonoColor=Mono number-up=1 BRJpeg=Recommended BRDuplex=DuplexNoTumble noCollate PageSize=A4 BRColorMatching=Vivid BRContrast=0 BRBlue=0 BRColorEnhancement=OFF BRBrightness=0 BRGreen=0 BRMediaType=PlainDuplex BRDuplexMode=Normal BRSlowDrying=OFF BRColorPaperThick=Regular BRResolution=PlainNormal BRRed=0 BRBiDir=ON job-uuid=urn:uuid:3fcd853a-cee3-3cab-7b08-d5391119cf43 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1539641635 time-at-processing=1539644988 Copies=1 D [16/Oct/2018:01:09:48 +0200] [Job 6] search_data======BRGreen= D [16/Oct/2018:01:09:48 +0200] [Job 6] DATA======-green D [16/Oct/2018:01:09:48 +0200] [Job 6] search_data======-green D [16/Oct/2018:01:09:48 +0200] [Job 6] DATA======BRHalfTonePattern=Diffusion BRMonoColor=Mono number-up=1 BRJpeg=Recommended BRDuplex=DuplexNoTumble noCollate PageSize=A4 BRColorMatching=Vivid BRContrast=0 BRBlue=0 BRColorEnhancement=OFF BRBrightness=0 BRGreen=0 BRMediaType=PlainDuplex BRDuplexMode=Normal BRSlowDrying=OFF BRColorPaperThick=Regular BRResolution=PlainNormal BRRed=0 BRBiDir=ON job-uuid=urn:uuid:3fcd853a-cee3-3cab-7b08-d5391119cf43 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1539641635 time-at-processing=1539644988 Copies=1 D [16/Oct/2018:01:09:48 +0200] [Job 6] search_data======BRBlue= D [16/Oct/2018:01:09:48 +0200] [Job 6] DATA======-blue D [16/Oct/2018:01:09:48 +0200] [Job 6] search_data======-blue D [16/Oct/2018:01:09:48 +0200] [Job 6] ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find default_gray.icc D [16/Oct/2018:01:09:48 +0200] [Job 6] | ./base/gsicc_manage.c:2261: gsicc_init_iccmanager(): cannot find default icc profile D [16/Oct/2018:01:09:48 +0200] [Job 6] ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find default_rgb.icc D [16/Oct/2018:01:09:48 +0200] [Job 6] | ./base/gsicc_manage.c:2025: gsicc_set_device_profile(): cannot find device profile D [16/Oct/2018:01:09:48 +0200] [Job 6] **** Unable to open the initial device, quitting. D [16/Oct/2018:01:09:48 +0200] [Job 6] Sent 0 bytes... D [16/Oct/2018:01:09:48 +0200] [Job 6] PID 9992 (/usr/lib/cups/filter/brother_lpdwrapper_mfcj470dw) exited with no errors. D [16/Oct/2018:01:09:48 +0200] [Job 6] Waiting for read thread to exit... D [16/Oct/2018:01:09:49 +0200] [Job 6] PID 9993 (/usr/lib/cups/backend/usb) exited with no errors. D [16/Oct/2018:01:09:49 +0200] [Job 6] time-at-completed=1539644988 D [16/Oct/2018:01:09:49 +0200] cupsdMarkDirty(----S) D [16/Oct/2018:01:09:49 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files" I [16/Oct/2018:01:09:49 +0200] [Job 6] Job completed. I [16/Oct/2018:01:09:49 +0200] Expiring subscriptions...
所以工作通过usb quircks和不同的filter,但未能找到icc配置文件我不知道足以扣除并更不用说解决问题但也许有人可以告诉我,如果我在正确的道路上或错过了完全问题?
磁盘上有一堆icc配置文件,但是某些搜索路径未正确设置或者我缺少一些必需的包。 在这里,我完全陷入困境; 有谁能给我一个如何继续研究的方向?
谢谢
我尝试了这个对某些人有用的答案 :
sudo rmdir /usr/share/ghostscript/9.25/iccprofiles sudo apt-get install --reinstall libgs9-common
但是,在新的克隆16.04并升级到2018年10月14日的18.04后,兄弟DCP-7065DN打印机对我无效。
重启后工作
清除ghost脚本有效,但直到你重启。 然后, 即使在您登录之前,之前未能打印的所有内容都会突然打印出来。
这是一个巨大的安全问题! 想象一下,经理在18.04升级后尝试打印敏感文档,但失败了。 经理放弃并开始致电技术支持。 另一个用户重新启动计算机,甚至在他们签署经理的报告之前就会吐出未经授权的员工查看。
初次重启后,我能够正常打印。
其他有类似问题的人
许多人在16.04到18.04升级后打印出现问题:
- 打印机“过滤失败”
- 分发升级后打印机无法正常工作
- 升级16.04到18.04后,打印机停止工作
- Ubuntu 18.04:打印机不适用于大多数应用程序(PDF,evince,Firefox …)
- 升级16.04到18.04后,打印机停止工作
- 兄弟打印机在升级到18.04后打印垃圾
- 爱普生RX620自升级至18.04 LTS后未打印
- Ubuntu 18.04 LTS – 打印服务不可用
- 升级到Ubuntu 18.04.1 LTS现在无法打印
就是这样,谢谢你的回答。 这正是我所需要的。
检查/usr/share/ghostscript/9.25/iccprofiles目录; 它是空的。 像医生订购的那样执行命令:
sudo rmdir /usr/share/ghostscript/9.25/iccprofiles sudo apt-get install --reinstall libgs9-common
试图运行测试打印。 检查一下。
作为参考工作的最后几个条目:
D [16/Oct/2018:13:03:42 +0200] [Job 8] Wrote 8192 bytes of print data... D [16/Oct/2018:13:03:42 +0200] [Job 8] Read 8192 bytes of print data... D [16/Oct/2018:13:03:42 +0200] [Job 8] Wrote 8192 bytes of print data... D [16/Oct/2018:13:03:42 +0200] [Job 8] Read 3552 bytes of print data... D [16/Oct/2018:13:03:42 +0200] [Job 8] Wrote 3552 bytes of print data... D [16/Oct/2018:13:03:42 +0200] [Job 8] Sent 2130460 bytes... D [16/Oct/2018:13:03:42 +0200] [Job 8] PID 13368 (/usr/lib/cups/filter/brother_lpdwrapper_mfcj470dw) exited with no errors. D [16/Oct/2018:13:03:42 +0200] [Job 8] Waiting for read thread to exit... D [16/Oct/2018:13:03:42 +0200] [Job 8] PID 13369 (/usr/lib/cups/backend/usb) exited with no errors. D [16/Oct/2018:13:03:42 +0200] [Job 8] time-at-completed=1539687822 D [16/Oct/2018:13:03:42 +0200] cupsdMarkDirty(----S) D [16/Oct/2018:13:03:42 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files" I [16/Oct/2018:13:03:42 +0200] [Job 8] Job completed.
我不能把你的答案标记为有用(声誉太低)。