[Samba] Help - Printer driver problem?

Mark Stobbs mark at springboardasa.com
Mon Jul 31 08:19:18 GMT 2006


  

I am setting up printing services on a Suse 10.1 server useing Samba 3.0.22

I can create a printer on an XP client and connect to the Samba printer
share. I can the print a test page from XP.
The print file gets to the server (see logs below), but nothing prints

I can print files from Linux to the printer OK

Any suggestions will be appreciated

++++++++++ smb.conf ++++++++++

[global]
workgroup = sbhq
security = user
printing = cups NEXT LINE TO BE COMMENTED OUT IF THIS LINE USED
# printcap name = cups
printcap name = /etc/printcap
guest account = nobody
load printers = yes
use client driver = yes

[printers]
comment= All Printers
path = /var/spool/samba/tmp
guest ok = yes
public = yes
writable = no
printable = yes
browseable = no
printer admin = root, @ntadmins
hosts allow = 192.168.

++++++++ Cups Error Log (Unsuccessful print using Samba) +++++++++++

D [25/Jul/2006:14:52:26 +0100] ReadClient: 5 POST /printers/HP5610 HTTP/1.1
D [25/Jul/2006:14:52:26 +0100] print_job: auto-typing file...
D [25/Jul/2006:14:52:26 +0100] print_job: request file type is
application/vnd.cups-raw.
D [25/Jul/2006:14:52:26 +0100] check_quotas: requesting-user-name = 'root'
D [25/Jul/2006:14:52:26 +0100] print_job: requesting-user-name = 'root'
D [25/Jul/2006:14:52:26 +0100] Adding default job-sheets values
"none,none"...
I [25/Jul/2006:14:52:26 +0100] Adding start banner page "none" to job 36.
I [25/Jul/2006:14:52:26 +0100] Adding end banner page "none" to job 36.
I [25/Jul/2006:14:52:26 +0100] Job 36 queued on 'HP5610' by 'root'.
D [25/Jul/2006:14:52:26 +0100] Job 36 hold_until = 0
D [25/Jul/2006:14:52:26 +0100] StartJob(36, 0x80051240)
D [25/Jul/2006:14:52:26 +0100] StartJob() id = 36, file = 0/1
D [25/Jul/2006:14:52:26 +0100] job-sheets=none,none
D [25/Jul/2006:14:52:26 +0100] banner_page = 0
D [25/Jul/2006:14:52:26 +0100] StartJob: argv =
"HP5610","36","root","smbprn.00000024 Test
Page","1","","/var/spool/cups/d00036-001"
D [25/Jul/2006:14:52:26 +0100] StartJob:
envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"
D [25/Jul/2006:14:52:26 +0100] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
D [25/Jul/2006:14:52:26 +0100] StartJob: envp[2]="USER=root"
D [25/Jul/2006:14:52:26 +0100] StartJob: envp[3]="CHARSET=utf-8"
D [25/Jul/2006:14:52:26 +0100] StartJob: envp[4]="LANG=en"
D [25/Jul/2006:14:52:26 +0100] StartJob:
envp[5]="PPD=/etc/cups/ppd/HP5610.ppd"
D [25/Jul/2006:14:52:26 +0100] StartJob: envp[6]="CUPS_SERVERROOT=/etc/cups"
D [25/Jul/2006:14:52:26 +0100] StartJob: envp[7]="RIP_MAX_CACHE=8m"
D [25/Jul/2006:14:52:26 +0100] StartJob:
envp[8]="TMPDIR=/var/spool/cups/tmp"
D [25/Jul/2006:14:52:26 +0100] StartJob:
envp[9]="CONTENT_TYPE=application/vnd.cups-raw"
D [25/Jul/2006:14:52:26 +0100] StartJob:
envp[10]="DEVICE_URI=usb://HP/Officejet%205600%20series?serial=CN63PD704V04B
2"
D [25/Jul/2006:14:52:26 +0100] StartJob: envp[11]="PRINTER=HP5610"
D [25/Jul/2006:14:52:26 +0100] StartJob:
envp[12]="CUPS_DATADIR=/usr/share/cups"
D [25/Jul/2006:14:52:26 +0100] StartJob:
envp[13]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [25/Jul/2006:14:52:26 +0100] StartJob: envp[14]="CUPS_SERVER=localhost"
D [25/Jul/2006:14:52:26 +0100] StartJob: envp[15]="IPP_PORT=631"
D [25/Jul/2006:14:52:26 +0100] StartJob: statusfds = [ 8 9 ]
D [25/Jul/2006:14:52:26 +0100] StartJob: filterfds[1] = [ 10 -1 ]
D [25/Jul/2006:14:52:26 +0100] StartJob: backend =
"/usr/lib/cups/backend/usb"
D [25/Jul/2006:14:52:26 +0100] StartJob: filterfds[0] = [ -1 11 ]
D [25/Jul/2006:14:52:26 +0100] start_process("/usr/lib/cups/backend/usb",
0xbf8807c8, 0xbf880638, 10, 11, 9)
I [25/Jul/2006:14:52:26 +0100] Started backend /usr/lib/cups/backend/usb
(PID 13606) for job 36.
D [25/Jul/2006:14:52:26 +0100] ProcessIPPRequest: 5 status_code=0
D [25/Jul/2006:14:52:26 +0100] CloseClient: 5
D [25/Jul/2006:14:52:26 +0100] [Job 36] Printer using device file
"/dev/usblp0"...
D [25/Jul/2006:14:52:26 +0100] [Job 36] LPGETSTATUS returned a port status
of 18...
D [25/Jul/2006:14:52:26 +0100] UpdateJob: job 36, file 0 is complete.
D [25/Jul/2006:14:52:26 +0100] CancelJob: id = 36
D [25/Jul/2006:14:52:26 +0100] StopJob: id = 36, force = 0
D [25/Jul/2006:14:52:26 +0100] StopJob: printer state is 3


++++++++++++++ Cups Error Log (Successful print from Linux) +++++++++++

I [25/Jul/2006:16:26:21 +0100] Adding start banner page "none" to job 38.
I [25/Jul/2006:16:26:21 +0100] Adding end banner page "none" to job 38.
I [25/Jul/2006:16:26:21 +0100] Job 38 queued on 'HP5610' by 'root'.
I [25/Jul/2006:16:26:21 +0100] Started filter /usr/lib/cups/filter/texttops
(PID 13885) for job 38.
I [25/Jul/2006:16:26:21 +0100] Started filter /usr/lib/cups/filter/pstops
(PID 13886) for job 38.
I [25/Jul/2006:16:26:21 +0100] Started filter
/usr/lib/cups/filter/foomatic-rip (PID 13887) for job 38.
I [25/Jul/2006:16:26:21 +0100] Started backend /usr/lib/cups/backend/usb
(PID 13888) for job 38.

	
	
 
Mark Stobbs
Springboard-ASA Ltd
 
Ph:  +44 (0) 7917-888-336
 


More information about the samba mailing list