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

Modified on: Thu, 13 Jun 2019 07:40:03 +0800

我在Windows 2003服务器上共享HP laserjet // w3kserver / hp

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

作者:user12096

最佳答案

来自此页

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 .

相关问答

添加新评论