Plea for help: Windows/Linux interoperability diffculties

Joel Hammer jhammer2 at home.com
Sun Nov 4 11:53:02 GMT 2001


> > Linux clients can ask the server to filter their print jobs, which
> > usually arrive as postscript documents at the server.
> 
> 	Huh? AFAIK, when configured smbd will use the system's printing
> commands to print. AFAICT, it has always done this, whether implicitly or
> explicitly configured.
>  
I would not abandon this line of investigation just yet.
For example, here are the print commands you have specified in your global
section.
	print command = /usr/bin/lpr -P%p -h -r %s
        lpq command = /usr/bin/lpq -P%p
        lprm command = /usr/bin/lprm -P%p %j
        lppause command = /usr/bin/lpc -P%p stop
        lpresume command = /usr/bin/lpc -P%p start
Have you verified the %p is the print queue you want the jobs to
go to?  You have a generic printer share and and a specific printer share.
Maybe they see %p not quite the way you might expect.
I would put a preexec command in my printer share(s):
exec = echo This is printer share (put in the printer share name) %p > /tmp/queue
and see which queue and share are being invoked.
It is very unlikely that
the same queue will handle prefiltered jobs from windows and 
postscript jobs requiring filtering.
Hmmm.. Which prompts me to ask: Is your printer a postscript printer? If so,
that might explain why the same queue can handle either windows or linux
clients!
Joel







More information about the samba mailing list