美文网首页
局域网跨网段的打印机服务器共享

局域网跨网段的打印机服务器共享

作者: JOHNNYHU_a1f5 | 来源:发表于2021-09-01 18:41 被阅读0次

    由于公司WiFi路由器的网段跟有线网络是分开的,而打印机在有线网络中,通过WiFi路由器连接的电脑无法访问打印机。为了解决这个问题,利用有线网络中一台运行Ubuntu的服务器作为网路服务器把打印机共享出来。

    方法是在Ubuntu服务器里安装cups

    sudo apt-get install cups

    CUPS is the standards-based, open source printing system developed byApple Inc.for macOS®and other UNIX®-like operating systems. CUPS uses the Internet Printing Protocol (IPP) to support printing to local and network printers.

    意思是在局域网中共享打印机的服务程序,安装完之后要在网页端进行配置。通过浏览器访问http://127.0.0.1:631,进入administrator页签,右侧Server栏下,勾选”Share printers connected to this system”,这样默认是在本地网络上共享打印机,只有同一个网段的主机才能通过网络使用这台打印机。如果同时勾选了”Allow printing from the Internet”,则所有通过网络可以访问这台主机的机器都可以使用这台打印机。

    装好之后,在客户端电脑查找网络打印机,然后添加就可以作为正常的打印机使用了。

    以上是Ubuntu客户端的截图,Windows还没有试验过。

    参考链接:https://blog.csdn.net/qq_32653205/article/details/106522705

    相关文章

      网友评论

          本文标题:局域网跨网段的打印机服务器共享

          本文链接:https://www.haomeiwen.com/subject/bzqfwltx.html