[Samba] Print Command

Joel Hammer Joel at HammersHome.com
Fri Apr 12 08:08:02 GMT 2002


The print command is the exact command samba runs when you request it to do
a print job.
What command is in /tmp/run?
What do you have for your printing = parameter?
Keep things simple. Try something like:
/usr/bin/lpr -PRealPrintQueueName %s as your print command.
It is best to include the entire path for your print command.
Make sure you have the right printing= parameter for your system.
Joel

On Fri, Apr 12, 2002 at 04:21:27PM +0200, spiekey wrote:
> Hello!
> i am trying to get this working since HOURS! *grrr* ;P
> why wont that work?
>  print command = /tmp/run; echo %m > /tmp/print.log; lpr -P %p %s; rm %s
> 
> I had to add lpr -P %p %s; rm %s cause otherwise it wont print at all!
> (found it in an example on the web, i have no clue what it is actually
> doing)
> 
> 
> Cheers,, Mario Ohnewald
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list