两年前,我使用 CUPS 驱动程序通过 Point'n'Print 设置了 Samba 3.6.6 和 cups(WinXP 32 位和 Win7 64 位)。它成功了。现在我尝试从 Win 10 连接到打印机,结果如下:
“未找到驱动程序。Windows 无法在网络上找到京瓷的驱动程序。要手动查找,请单击“确定”。否则,请单击“取消”并咨询网络管理员或打印机制造商的网站”。
有什么方法可以调试这个吗?
据我所知,一切正常:
# testparm
[...]
printcap name = cups
[...]
[print$]
comment = Printer Drivers
path = /etc/samba/drivers
write list = root, admin
create mask = 0644
directory mask = 0755
[printers]
comment = Alle Drucker
path = /var/spool/samba
guest ok = Yes
printable = Yes
print ok = Yes
browseable = No
# find /etc/samba/drivers/
/etc/samba/drivers/
/etc/samba/drivers/W32X86
/etc/samba/drivers/W32X86/cups6.ini
/etc/samba/drivers/W32X86/minolta-bw.ppd
/etc/samba/drivers/W32X86/pscript5.dll
/etc/samba/drivers/W32X86/minolta-color.ppd
/etc/samba/drivers/W32X86/ps5ui.dll
/etc/samba/drivers/W32X86/cupsui6.dll
/etc/samba/drivers/W32X86/cupsps6.dll
/etc/samba/drivers/W32X86/Kyocera.ppd
/etc/samba/drivers/W32X86/pscript.hlp
/etc/samba/drivers/W32X86/3
/etc/samba/drivers/W32X86/3/pscript5.dll
/etc/samba/drivers/W32X86/3/cupsps6.dll
/etc/samba/drivers/W32X86/3/cupsui6.dll
/etc/samba/drivers/W32X86/3/kyocera.ppd
/etc/samba/drivers/W32X86/3/minolta-bw.ppd
/etc/samba/drivers/W32X86/3/cups6.ini
/etc/samba/drivers/W32X86/3/pscript.ntf
/etc/samba/drivers/W32X86/3/minolta-color.ppd
/etc/samba/drivers/W32X86/3/ps5ui.dll
/etc/samba/drivers/W32X86/3/Kyocera.ppd
/etc/samba/drivers/W32X86/3/pscript.hlp
/etc/samba/drivers/W32X86/pscript.ntf
/etc/samba/drivers/x64
/etc/samba/drivers/x64/ps5ui.dll
/etc/samba/drivers/x64/cupsui6.dll
/etc/samba/drivers/x64/cupsps6.dll
/etc/samba/drivers/x64/3
/etc/samba/drivers/x64/3/ps5ui.dll
/etc/samba/drivers/x64/3/pscript5.dll
/etc/samba/drivers/x64/3/pscript.ntf
/etc/samba/drivers/x64/3/cups6.ini
/etc/samba/drivers/x64/3/Kyocera.ppd
/etc/samba/drivers/x64/3/pscript.hlp
/etc/samba/drivers/x64/3/minolta-bw.ppd
/etc/samba/drivers/x64/3/cupsps6.dll
/etc/samba/drivers/x64/3/minolta-color.ppd
/etc/samba/drivers/x64/3/cupsui6.dll
/etc/samba/drivers/x64/3/kyocera.ppd
/etc/samba/drivers/x64/cups6.ini
/etc/samba/drivers/x64/Kyocera.ppd
/etc/samba/drivers/x64/pscript.hlp
/etc/samba/drivers/x64/pscript5.dll
/etc/samba/drivers/x64/pscript.ntf
/etc/samba/drivers/x64/minolta-color.ppd
/etc/samba/drivers/x64/minolta-bw.ppd
所有文件都可以通过 成功访问//server/print$
。驱动程序显示成功:
# rpcclient localhost -U admin -c 'enumdrivers'
Enter admin's password:
[Windows NT x86]
Printer Driver Info 1:
Driver Name: [minolta-color]
Printer Driver Info 1:
Driver Name: [minolta-bw]
Printer Driver Info 1:
Driver Name: [kyocera]
[Windows x64]
Printer Driver Info 1:
Driver Name: [minolta-bw]
Printer Driver Info 1:
Driver Name: [minolta-color]
Printer Driver Info 1:
Driver Name: [kyocera]
...并且显示驱动程序已成功链接到打印机:
# rpcclient localhost -U admin -c 'enumprinters'
Enter admin's password:
flags:[0x800000]
name:[\\LOCALHOST\minolta-bw]
description:[\\LOCALHOST\minolta-bw,minolta-bw,Minolta QMS 2300DL, Black/White only]
comment:[Minolta QMS 2300DL, Black/White only]
flags:[0x800000]
name:[\\LOCALHOST\minolta-color]
description:[\\LOCALHOST\minolta-color,minolta-color,Minolta QMS 2300DL, Color print, high quality]
comment:[Minolta QMS 2300DL, Color print, high quality]
flags:[0x800000]
name:[\\LOCALHOST\Kyocera]
description:[\\LOCALHOST\Kyocera,Kyocera,Kyocera ECOSYS P6021cdn]
comment:[Kyocera ECOSYS P6021cdn]