deepin 20打印出错,搞不懂了
Tofloor
poster avatar
泰然
deepin
2020-10-12 21:54
Author
从deepin15.11到deepin 20 一切都还可以,就是打印一直没有解决,太难了,无法工作,难道仅仅为了打印机还要退回15.11?谁能帮我看看,谢谢
Reply Favorite View the author
All Replies
deepinuser17
deepin
2020-10-13 06:50
#1
目前的设置为使用Windows共享模式连接. 但是深度20机器无法使用smb模式. (需要开启samba服务).

  1. {'cups_device_uri_scheme': 'smb',
  2. 'cups_printer_dict': {'device-uri': 'smb:///192.168.1.102',
  3.                        'printer-info': 'Canon MF4700 UFRII LT',
  4.                        'printer-is-shared': True,
  5.                        'printer-location': '',
  6.                        'printer-make-and-model': 'Canon MF4700 Series UFRII LT',
  7.                        'printer-state': 4,
  8.                        'printer-state-message': 'Unable to connect to CIFS '
  9.                                                 'host, will retry in 60 '{'cups_device_uri_scheme': 'smb',
Copy the Code


192.168.1.102是打印机的IP地址还是Windows机器的地址?   

如果192.168.1.102是打印机的IP地址, 到打印机管理器里,修改URI, 把smb://192.168.1.102改成 "ipp://192.168.1.102/ipp".

联网的打印机, 可以通过其IP地址直接在深度20上连接, 不需要通过Windows机器共享方式来连接.

Reply View the author
泰然
deepin
2020-10-13 15:30
#2
https://bbs.deepin.org/post/203697
目前的设置为使用Windows共享模式连接. 但是深度20机器无法使用smb模式. (需要开启samba服务).

谢谢回复,我的是同事Windows下共享的打印机,在15.11下正常打印,这个20可以安装,就是打印不出来,折腾了好多次,不断在15.11和deepin 20 之间折腾,就因为打印机
Reply View the author
deepinuser17
deepin
2020-10-13 18:02
#3
本帖最后由 deepinuser17 于 2020-10-13 10:05 编辑
https://bbs.deepin.org/post/203697
谢谢回复,我的是同事Windows下共享的打印机,在15.11下正常打印,这个20可以安装,就是打印不出来,折腾 ...

出错信息为深度20无法联通Windows的共享服务.

运行以下命令查看, Windows机器所提供的共享服务. 如果无法获取信息, Windows机器可能要求密码验证.  最好共享打印机设置为无需用户密码验证.
  1. ping -c 3 192.168.1.102
  2. smbclient -I 192.168.1.102 -N
Copy the Code

如果打印机是联网的, 直接使用打印机的IP地址最简便. 完全没有必要通过Windows共享.
Reply View the author
泰然
deepin
2020-10-14 16:44
#4
本帖最后由 slg0739 于 2020-10-14 11:30 编辑
https://bbs.deepin.org/post/203697
出错信息为深度20无法联通Windows的共享服务.

运行以下命令查看, Windows机器所提供的共享服务. 如果无 ...

ping没有问题,打印机安装也顺利,就是打印发出命令后一直没有反应了
Reply View the author
deepinuser17
deepin
2020-10-14 19:52
#5
https://bbs.deepin.org/post/203697
ping没有问题,打印机安装也顺利,就是打印发出命令后一直没有反应了

URI的地址是192.168.1.100. 出错信息里的IP是192.168.1.102.

需要确认哪个IP地址是Windows共享机器.

运行以下命令, 确认哪个IP 地址有共享打印机.
  1. smbclient -I 192.168.1.102 -N
  2. smbclient -I 192.168.1.100 -N
Copy the Code
Reply View the author
泰然
deepin
2020-10-14 21:56
#6
本帖最后由 slg0739 于 2020-10-14 14:57 编辑
https://bbs.deepin.org/post/203697
URI的地址是192.168.1.100. 出错信息里的IP是192.168.1.102.

需要确认哪个IP地址是Windows共享机器.

不好意思让你误会了,我昨天连接的是192.168.1.102,今天变成192.168.1.100,所以我给他锁定了192.168.1.100
但还是不行,我试了你给我的命令,没有提示
deepin@deepin-PC:~$ smbclient -I 192.168.1.100 -N
Unable to initialize messaging context
我试了一下下面的命令,提示密码,我直接回车是这个结果。。。。。
deepin@deepin-PC:~$ smbclient -L 192.168.1.100 -U
Unable to initialize messaging context
Enter WORKGROUP\deepin's password:

        Sharename       Type      Comment
        ---------       ----      -------
        Canon MF4700 Series UFRII LT Printer   Canon MF4700 Series UFRII LT
        IPC$            IPC       远程 IPC
        print$          Disk      打印机驱动程序
        Users           Disk      
Reconnecting with SMB1 for workgroup listing.
do_connect: Connection to 192.168.1.100 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
Failed to connect with SMB1 -- no workgroup available
Reply View the author
泰然
deepin
2020-10-15 22:43
#7
折腾了几天,还是不能打印,关键还没有错误提示,一筹莫展。。。。。。。。
Reply View the author
bruce2018
deepin
2021-02-04 21:24
#8

搞定了吗?

Reply View the author
bruce2018
deepin
2021-02-04 21:24
#9

我的也是一样不行,15.11 打印的很爽,就这个V20瘫痪了

Reply View the author