加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – 如何为cups客户端构建windows共享打印机的url

发布时间:2020-12-13 17:17:19 所属栏目:Linux 来源:网络整理
导读:我在 Windows 2003服务器上共享HP laserjet // w3kserver / hp 我想从安装了cups系统的linux客户端打印.当我在Linux客户端的杯子web前端添加打印机时,我需要提供在Windows服务器上共享的打印机的URL.如何构建杯子的URL? 解决方法 从 this page开始: smbThi
我在 Windows 2003服务器上共享HP laserjet // w3kserver / hp

我想从安装了cups系统的linux客户端打印.当我在Linux客户端的杯子web前端添加打印机时,我需要提供在Windows服务器上共享的打印机的URL.如何构建杯子的URL?

解决方法

从 this page开始:
smb
This backend sends print files to printers shared by a Windows host. Examples 
of CUPS device-URIs that may be used includes:

    smb://workgroup/server/printersharename
    smb://server/printersharename
    smb://username:password@workgroup/server/printersharename
    smb://username:password@server/printersharename

The smb:// backend is a symlink to the Samba utility smbspool (does not ship with
CUPS). If the symlink is not present in your CUPS backend directory,have your 
root user create it: ln -s `which smbspool' /usr/lib/cups/backend/smb .

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读