[Samba] Re: samba 2.27 as print server
Kurt Pfeifle
kpfeifle at danka.de
Sun Oct 26 15:36:18 GMT 2003
> [Samba] Re: samba 2.27 as print server
>
> * To: samba at listsdotsambadotorg
> * Subject: [Samba] Re: samba 2.27 as print server
> * From: "Robert" <Robertedstrom at yahoodotcom>
> * Date: Fri, 24 Oct 2003 21:30:40 -0500
>
> My original post is http://lists.samba.org/archive/samba/msg72613.html.
>
>
> [global]
[....]
> printing = lprng
> print command = lpr -U%u -P%p -r %s
As I said: you are missing a ";rm %s" at the end of your print command...
Let it be
print command = lpr -U%u -P%p -r %s; rm %s
and your problem should be gone...
See also
http://samba.vernstok.nl/htmldocs/Samba-HOWTO-Collection.html#printing
> lpq command = lpq -U%u -P%p
> lprm command = lprm -U%u -P%p %j
> lppause command = lpc -U%u hold %p %j
> lpresume command = lpc -U%u release%p %j
> queuepause command = lpq -U%u stop %p
> queueresume command = lpq -U%u start %p
>
> [ipc$]
What do you need this for???
> path = /tmp
> hosts allow = 192.168.0.0/24 127.0.0.1
> hosts deny = 0.0.0.0/0
>
> [Lexmark]
> comment = "Lexmark Z22 Color JetPrinter"
> use client driver = yes
> path = /etc/samba/printers/Lexmark
That is not a good way to define the spool path....
"/etc/" is for other things. Better use "/var/spool/samba/"
> printable = Yes
More information about the samba
mailing list