|
Samba+Cups lexmark printing from windows
Hi,
I am trying to make my deban sarge act like a printserver for Lexmark Z705.
Sofar I have configured cups and samba, I have installed the right drivers on the server and cups drivers on the windows xp platform.
Printing from command line with "lp filename" works fine.
But when I try to print from the windows machine, cups looks like its about to print and then says the job is complete without printing anything.
The last few lines of the log.
I [24/Feb/2006:21:46:23 +0100] Started backend /usr/lib/cups/backend/z700 (PID 3004) for job 24.
D [24/Feb/2006:21:46:23 +0100] ProcessIPPRequest: 5 status_code=0
D [24/Feb/2006:21:46:23 +0100] CloseClient: 5
D [24/Feb/2006:21:46:24 +0100] UpdateJob: job 24, file 0 is complete.
D [24/Feb/2006:21:46:24 +0100] CancelJob: id = 24
D [24/Feb/2006:21:46:24 +0100] StopJob: id = 24, force = 0
D [24/Feb/2006:21:46:24 +0100] StopJob: printer state is 3
The printer is not inited and nothing is printed at it.
some smb.conf
print command = echo print %p %s;lp -d%p %s;rm %s
cups options = "raw"
use client driver = no
load printers = yes
printing = cups
printcap name = cups
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = yes
writable = no
printable = yes
create mode = 0700
Any ideas ?
|