problems with printer behind samba
Iskren Ivov Chernev
iskren.chernev at gmail.com
Tue Jan 20 23:45:36 PST 2009
Hi everyone,
I have a Xerox 3117 properly installed on my computer. I also have a samba server installed, and a printer configured in it - I got the information from the man page of cupsaddsmb. When I connect to the printer using smbclient and use put/print command to print a file the server accepts the file but it doesn't print. I used 'tail -f *' to see the changes of the log files of cups and samba. Samba log files don't show anything on printing. Cups log files showed some stuff, which all seems OK - but the printer doesn't work.
(I'm connecting to the printer from the same machine the printer is connected to.)
I attached the printer to a Windows machine on the network and shared it. When I log in to the printer (from my Linux box) and use put/print the printer doesn't work again.
Here is my Samba configuration 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
browseable = no
public = yes
guest ok = yes
writable = no
printable = yes
# the following is from the cupsaddsmb man page
[print$]
comment = Printer Drivers
path = /usr/share/cups/drivers
browseable = yes
guest ok = no
read only = yes
write list = root
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
Here is the output of 'tail -f *' upon the cups log files, while trying to print from samba:
==> 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
This is the 'tail -f' upon cups log files while normal printing from console 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 cups 1.3.7 installed from fedora repo.
I'm using samba 3.0.36a installed from fedora repo.
More information about the cups
mailing list