Dois anos atrás eu configurei o Samba 3.6.6 e cups (WinXP 32bit e Win7 64bit) com Point'n'Print usando os drivers CUPS. Funcionou. Agora eu tentei me conectar à impressora do Win 10 e consegui:
"Nenhum driver encontrado. O Windows não encontra um driver para Kyocera na rede. Para localizar um manualmente, clique em OK. Caso contrário, clique em Cancelar e consulte o administrador da rede ou o site do fabricante da impressora".
Existe alguma maneira de depurar isso?
No meu conhecimento, tudo está OK:
# 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
Todos os arquivos são acessados com sucesso por meio de //server/print$
.
Drivers são mostrados com sucesso:
# 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]
... e os drivers são exibidos com sucesso para serem vinculados à impressora:
# 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]