如何找到局域网里共享的打印机
Tofloor
poster avatar
solothink
deepin
2020-06-13 16:19
Author
管理员好,我有两台deepin20.一台安装了打印机,工作正常。共享了以后,无法被局域网里另外一台deepin20找到,手动采用smb://deepin/canon-mg2500-series这种方式安装后,也无法把打印任务发送到共享打印机那。以前15.11是正常的。
Reply Favorite View the author
All Replies
avatar
mcaoser
deepin
2020-06-15 07:31
#1
会不会是需要配置cups,http://localhost:631,我没有用linux共享过打印机,但记得CPUS里有个配置用网络打印机的选项
Reply View the author
avatar
李逍遥mx
deepin
2020-06-15 08:39
#2
本帖最后由 lrbmfx 于 2020-6-15 00:40 编辑

貌似要装一些组件,在vbox里虚拟的ubuntu里试着瞎着装了samba,连接Win10的共享打印机可以正常打印。
我现在不用deepin,你可以试试装一下samba看看行不行。
Reply View the author
avatar
solothink
deepin
2020-06-15 18:27
#3
https://bbs.deepin.org/post/195922
会不会是需要配置cups,http://localhost:631,我没有用linux共享过打印机,但记得CPUS里有个配置用网络打 ...

关闭了ipv6就好了。
Reply View the author
avatar
solothink
deepin
2020-06-15 18:28
#4
https://bbs.deepin.org/post/195922
貌似要装一些组件,在vbox里虚拟的ubuntu里试着瞎着装了samba,连接Win10的共享打印机可以正常打印。
我现 ...

关闭了ipv6就好了。管理员给了方案,太开心了
Reply View the author
avatar
solothink
deepin
2020-06-15 18:32
#5
本帖最后由 solothink 于 2020-6-21 21:44 编辑

添加内核参数彻底禁用IPv6:sudo dedit /etc/default/grub
在此行添加参数:GRUB_CMDLINE_LINUX="ipv6.disable=1"
保存退出后执行:sudo update-grub 执行完命令之后,需要重新启动系统另外到应用商店里下载“打印机”程序,用这个寻找共享打印机就能找到。
以上操作也可以解决qq图片不显示的问题。
Reply View the author
avatar
solothink
deepin
2020-06-15 18:51
#6
本帖最后由 solothink 于 2020-6-15 11:06 编辑

现在有个新问题,一台deepin20客户端点打印测试页时能跳出输入账户命令的对话框,另外一台deepin20不行,是不是哪个组件有问题了。在输入sudo dedit /etc/default/grub命令时,好像显示也和其他两台deepin20不同:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
2020-06-15, 10:59:55.574 [Debug  ] [                                                         0] Windows size:  0
2020-06-15, 10:59:55.645 [Debug  ] [qsettingbackend.cpp  Dtk::Core:SettingBackend:SettingBackend 54] create config "/root/.config/deepin/deepin-editor/config.conf"
2020-06-15, 10:59:55.888 [Debug  ] [                                                         0] Open  "/etc/default/grub"  with new window
2020-06-15, 10:59:55.953 [Debug  ] [                                                         0] detect mime type:  "/etc/default/grub" "text/plain"
No appenders assotiated with category org.kde.ksyntaxhighlighting
[Error  ] <> Repository got deleted while a highlighter is still active!
No appenders assotiated with category org.kde.ksyntaxhighlighting
[Error  ] <> Repository got deleted while a highlighter is still active!
No appenders assotiated with category org.kde.ksyntaxhighlighting
[Error  ] <> Repository got deleted while a highlighter is still active!
No appenders assotiated with category org.kde.ksyntaxhighlighting
[Error  ] <> Repository got deleted while a highlighter is still active!
2020-06-15, 10:59:56.007 [Debug  ] [                                                         0] load finished:  "/etc/default/grub" ,  "UTF-8" endOfLine:  0
No appenders assotiated with category org.kde.ksyntaxhighlighting
[Error  ] <> Repository got deleted while a highlighter is still active!
No appenders assotiated with category org.kde.ksyntaxhighlighting
[Error  ] <> Repository got deleted while a highlighter is still active!
No appenders assotiated with category org.kde.ksyntaxhighlighting
[Error  ] <> Repository got deleted while a highlighter is still active!
No appenders assotiated with category org.kde.ksyntaxhighlighting
[Error  ] <> Repository got deleted while a highlighter is still active!
No appenders assotiated with category org.kde.ksyntaxhighlighting
[Error  ] <> Repository got deleted while a highlighter is still active!
No appenders assotiated with category org.kde.ksyntaxhighlighting
[Error  ] <> Repository got deleted while a highlighter is still active!
No appenders assotiated with category org.kde.ksyntaxhighlighting
[Error  ] <> Repository got deleted while a highlighter is still active!
No appenders assotiated with category org.kde.ksyntaxhighlighting
[Error  ] <> Repository got deleted while a highlighter is still active!
No appenders assotiated with category org.kde.ksyntaxhighlighting
[Error  ] <> Repository got deleted while a highlighter is still active!
No appenders assotiated with category org.kde.ksyntaxhighlighting
[Error  ] <> Repository got deleted while a highlighter is still active!
No appenders assotiated with category org.kde.ksyntaxhighlighting
[Error  ] <> Repository got deleted while a highlighter is still active!
No appenders assotiated with category org.kde.ksyntaxhighlighting
[Error  ] <> Repository got deleted while a highlighter is still active!
No appenders assotiated with category org.kde.ksyntaxhighlighting
[Error  ] <> Repository got deleted while a highlighter is still active!
2020-06-15, 10:59:56.028 [Debug  ] [                                                         0] Enter function [ checkBlockShutdown ].
2020-06-15, 10:59:56.029 [Debug  ] [                                                         0] m_tabbar->textAt(i): "grub"
2020-06-15, 10:59:56.029 [Debug  ] [                                                         0] Nublock shutdown.
2020-06-15, 10:59:56.029 [Debug  ] [                                                         0] Enter function [ checkBlockShutdown ].
2020-06-15, 10:59:56.030 [Debug  ] [                                                         0] m_tabbar->textAt(i): "grub"
2020-06-15, 10:59:56.030 [Debug  ] [                                                         0] Nublock shutdown.
2020-06-15, 10:59:56.030 [Debug  ] [                                                         0] Enter function [ checkBlockShutdown ].
2020-06-15, 10:59:56.030 [Debug  ] [                                                         0] m_tabbar->textAt(i): "grub"
2020-06-15, 10:59:56.030 [Debug  ] [                                                         0] Nublock shutdown.
2020-06-15, 11:00:11.734 [Debug  ] [                                                         0] Enter function [ checkBlockShutdown ].
2020-06-15, 11:00:11.735 [Debug  ] [                                                         0] m_tabbar->textAt(i): "grub"
2020-06-15, 11:00:11.735 [Debug  ] [                                                         0] Nublock shutdown.
2020-06-15, 11:00:27.726 [Debug  ] [                                                         0] Enter function [ checkBlockShutdown ].
2020-06-15, 11:00:27.727 [Debug  ] [                                                         0] m_tabbar->textAt(i): "grub"
2020-06-15, 11:00:27.728 [Debug  ] [                                                         0] Nublock shutdown.
2020-06-15, 11:00:38.124 [Debug  ] [                                                         0] Enter function [ checkBlockShutdown ].
2020-06-15, 11:00:38.125 [Debug  ] [                                                         0] m_tabbar->textAt(i): "grub"
2020-06-15, 11:00:38.125 [Debug  ] [                                                         0] Nublock shutdown.


Reply View the author
avatar
李逍遥mx
deepin
2020-06-16 09:05
#7
https://bbs.deepin.org/post/195922
现在有个新问题,一台deepin20客户端点打印测试页时能跳出输入账户命令的对话框,另外一台deepin20不行,是 ...

今天我用manjaro试了一下,在URL里要这样填:
smb://用户名:密码@IP/打印机共享名
不然就老是要提示输入帐号密码,而且就算帐号密码是对的也不行。
(用户名和密码是win的)
Reply View the author
avatar
solothink
deepin
2020-06-16 12:17
#8
本帖最后由 solothink 于 2020-6-16 04:19 编辑
https://bbs.deepin.org/post/195922
今天我用manjaro试了一下,在URL里要这样填:
smb://用户名:密码@IP/打印机共享名
不然就老是要提示输入帐 ...

哦,对的,直接告诉机器用户名密码,谢谢啦。不过我正常的那台电脑是只输入了一次帐号密码,就记住了。另外一台不对,我打算按照你说的试一下。
Reply View the author
avatar
solothink
deepin
2020-06-20 06:14
#9
https://bbs.deepin.org/post/195922
会不会是需要配置cups,http://localhost:631,我没有用linux共享过打印机,但记得CPUS里有个配置用网络打 ...

后来我又在应用商店里安装了打印机的程序,光是关闭IPV6还不行。现在很好了,很方便。
Reply View the author