poloshiao 写了:https://help.ubuntu.com/14.04/servergui ... l#cups-web確認是否已經安裝 cups 套件 並且 設定妥當可以看到在选择”经由samba的windows打印机"时,“浏览”始终是灰色不可选的,
參閱
https://help.ubuntu.com/community/Print ... bInterface
https://help.ubuntu.com/14.04/serverguide/cups.html
http://www.cups.org/doc-1.1/sam.html
按这里的PPD文件下载驱动:. GDI 打印 for Linux
http://www.openprinting.org/printer/Gen ... DI_Printer
然后选择”经由samba的windows打印机"一路填,安装上述驱动
Description: 7719
Location: ben
Driver: Generic GDI Printer Foomatic/gdi (color, 2-sided printing)
Connection: smb://192.168.1.104/Generic19BW-3
然后 print test page
held since
2014年08月19日 星期二 10时24分16秒
"Session setup failed: NT_STATUS_LOGON_FAILURE"
然后终端中
sam@sam:~$ sudo smbclient -L 192.168.1.104
[sudo] password for sam:
Enter root's password:
session setup failed: NT_STATUS_LOGON_FAILURE
sam@sam:~$ smbclient -L 192.168.1.104
Enter sam's password:
Domain=[BEN] OS=[Windows 7 Ultimate 7601 Service Pack 1] Server=[Windows 7 Ultimate 6.1]
Sharename Type Comment
--------- ---- -------
D Disk
Generic 21BW-3 Printer Generic 19BW-3 (副本 1)
Generic19BW-3 Printer Generic 19BW-3
IPC$ IPC 远程 IPC
print$ Disk 打印机驱动程序
Users Disk
Connection to 192.168.1.104 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
NetBIOS over TCP disabled -- no workgroup availabl
已经把sam用户加入lpadmin组sambashare组