[Samba] Samba printing queue problem detailed!
Joel Hammer
Joel at HammersHome.com
Tue Feb 12 06:44:08 GMT 2002
Here is my queue which does want you want.
You don't have printing = or lprm command = among other missing commands.
How does samba know if you are using cups or lprng or whatever?
Have you tried them?
Joel
[lp]
comment = Raw Printer for Z53
path = /tmp
create mask = 0700
guest ok = Yes
hosts allow = 192.168.
printable = Yes
printing = lprng
print command = echo %J %p %s >> /tmp/junkJ;\
a="`echo '%J' | sed "s/^.*- //"`" ;\
echo This is truncated $a >> /tmp/junkJ;\
/usr/bin/lpr -Plp -J"$a" %s;\
rm %s
lpq command = /usr/bin/lpq -Plp
lprm command = /usr/bin/lprm -Plp %j
lppause command = /usr/sbin/lpc hold -Plp %j
lpresume command = /usr/sbin/lpc release -Plp %j
printer name = lp
More information about the samba
mailing list