Hi everyone,

I have a properly configured printer (with cups) attached to the
computer running the samba server. It prints when issued within the
command line (lp). When I try to print via samba, the printer doesn't
react. I have configured the smb.conf using the man page of
cupsaddsmb. The samba log files don't report anything at all (tried to
turn the verbose loggin but failed). The cups log files act as if the
page was printed normally (there is no big difference in the output
when printing with lp and when printing from samba). Here is my
smb.conf file:

===========smb.conf=============
[global]        
        workgroup = ISSIHOME
        server string = Samba Server Version %v
        
        netbios name = ISSIPC
        
        
        log file = /var/log/samba/log.%m
        max log size = 50
        
        security = user
        passdb backend = tdbsam
        
        wins support = yes
        
        load printers = yes
        cups options = raw

        printing = cups
        printcap name = cups
        
[printers]
        comment = All Printers
        path = /var/spool/samba
        use client driver = yes
        browseable = no
        public = yes
        guest ok = yes
        writable = no
        printable = yes

[print$]
        comment = Printer Drivers
        path = /usr/share/cups/drivers
        browseable = yes
        use client driver = yes
        guest ok = no
        read only = yes
        write list = root       
        
[tmp]
        comment = Temporary file space
        path = /tmp
        read only = no
        public = yes

Here are the changes in cups log files when trying to print with samba
(connecting to the printer with samba_client and then using put/print
command) /* tail -f /var/log/cups/* */
==> access_log <==
localhost - - [21/Jan/2009:00:36:26 +0200] "POST / HTTP/1.1" 200 268
Get-Jobs successful-ok
localhost - - [21/Jan/2009:00:36:26 +0200] "POST / HTTP/1.1" 200 189
Get-Printer-Attributes successful-ok
localhost - - [21/Jan/2009:00:36:26 +0200] "POST /printers/xerox3117
HTTP/1.1" 200 362 Print-Job successful-ok

==> error_log <==
I [21/Jan/2009:00:36:26 +0200] [Job 51] Adding start banner page "none".
I [21/Jan/2009:00:36:26 +0200] [Job 51] Adding job file of type
application/vnd.cups-raw.
I [21/Jan/2009:00:36:26 +0200] [Job 51] Adding end banner page "none".
I [21/Jan/2009:00:36:26 +0200] [Job 51] Queued on "xerox3117" by "iskren".
I [21/Jan/2009:00:36:26 +0200] [Job 51] Started backend
/usr/lib/cups/backend/usb (PID 13656)
I [21/Jan/2009:00:36:26 +0200] [Job 51] Completed successfully.

==> page_log <==
xerox3117 iskren 51 [21/Jan/2009:00:36:26 +0200] 1 1 - 192.168.1.100

Here are the changes in cups log files when printing with lp:
==> access_log <==
localhost - - [21/Jan/2009:00:41:12 +0200] "POST / HTTP/1.1" 200 418
CUPS-Get-Printers successful-ok
localhost - - [21/Jan/2009:00:41:12 +0200] "POST / HTTP/1.1" 200 418
CUPS-Get-Classes successful-ok
localhost - - [21/Jan/2009:00:41:12 +0200] "POST / HTTP/1.1" 200 75
CUPS-Get-Default successful-ok
localhost - - [21/Jan/2009:00:41:12 +0200] "POST /printers/xerox3117
HTTP/1.1" 200 421 Print-Job successful-ok

==> error_log <==
I [21/Jan/2009:00:41:12 +0200] [Job 52] Adding start banner page "none".
I [21/Jan/2009:00:41:12 +0200] [Job 52] Adding job file of type text/plain.
I [21/Jan/2009:00:41:12 +0200] [Job 52] Adding end banner page "none".
I [21/Jan/2009:00:41:12 +0200] [Job 52] Queued on "xerox3117" by "iskren".
I [21/Jan/2009:00:41:12 +0200] [Job 52] Started filter
/usr/lib/cups/filter/texttopaps (PID 13696)
I [21/Jan/2009:00:41:12 +0200] [Job 52] Started filter
/usr/lib/cups/filter/pstops (PID 13697)
I [21/Jan/2009:00:41:12 +0200] [Job 52] Started filter
/usr/lib/cups/filter/foomatic-rip (PID 13698)
I [21/Jan/2009:00:41:12 +0200] [Job 52] Started backend
/usr/lib/cups/backend/usb (PID 13699)
I [21/Jan/2009:00:41:13 +0200] [Job 52] Completed successfully.

==> page_log <==
xerox3117 iskren 52 [21/Jan/2009:00:41:13 +0200] 1 1 - localhost

I'm using samba 3.0.26a-6.fc8, and cups 1.3.7 both installed throug
fedora 8 repo.
I have already written to cups mailing lists and no one answered for
nearly a week.

Regards,
Iskren
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to