[Samba] samba4 + cups - it is working for someone?

steve steve at steve-ss.com
Sun Jun 9 04:45:34 MDT 2013


On 09/06/13 11:00, Adam Sienkiewicz wrote:
> Hi Steve
>
> I procceeded regarding this howtu. All seems to be fine except
> connection samba-cups. From windows I can add printer, print test page
> but all print jobs from samba are lost between samba and cups I think.
> There is no entries in cups logs only issue in samba logs
Hi
I just found my eror. i hope it's the same for you:

Here is my smb.conf:

[printers]
      path = /var/spool/samba
      printable = yes
      printing = CUPS

[print$]
      path = /srv/samba/Printer_drivers
      comment = Printer Drivers
      writeable = yes

[hpdeskjetf2200series]
      path = /var/spool/samba/
      browseable = yes
      printable = yes
      printer name = hpdeskjetf2200series
#printer name = "HP Deskjet F2200 series"

Note the printer name lines. I had the windows name "HP Deskjet F2200 
series"

The clue was in the logs:
/usr/local/samba/sbin/smbd: Unable to get jobs for 
ipp://localhost/printers/HP Deskjet F2200 series - client-error-not-found

I changed to the Linux/cups printer name and print jobs got sent without 
error.
HTH
Steve




More information about the samba mailing list