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

steve steve at steve-ss.com
Mon Jun 10 01:47:20 MDT 2013


On 09/06/13 20:16, Gerry Reno wrote:
> On 06/09/2013 06:45 AM, steve wrote:
>> 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
>>
>>
> Steve, still not working for me.
>
> What is the output of  lpinfo -v  on your system?
>
> Gerry
>
>
>
>
Hi Gerry
lpinfo -v
network http
network ipp
network ipps
network https
direct usb://HP/Deskjet%20F2200%20series?serial=CN8BO1S0S605CC
network socket
network lpd
direct hp:/usb/Deskjet_F2200_series?serial=CN8BO1S0S605CC
network smb
direct parallel:/dev/lp0
network beh
direct hpfax

I wonder if you have the cups dev libraries and headers installed before 
you compile. I didn't so that was another problem I had. On openSUSE 
it's cups-devel. Just to make sure, I built with ./configure --enable-cups

Suerte,
Steve



More information about the samba mailing list