asiaswallow at yahoo.com.cn
Sun Oct 8 04:52:50 GMT 2000
I have a question about samba.
I have a SUN workstation and several PCs in our lab .
One of my PCs have a printer (style:epson
stylus color 300)
I want to share the print with my SUN,so I install the
samba2.0.7(binary).It run very well.
I find the samba2.0.7 has no smbprint.sysv ,so
I copy it from samba1.9(maybe),and move it to the
# ls /opt/samba
bin/ man/ lib/ swat/ doc/ license/ smbprint.sysv
# cd /opt/samba
# ls smbprint.sysv
-rw-r--r-- 1 root other 1853 9.28 11:51
and I modify the smbprint.sysv
# vi /opt/samba/smbprint.sysv
server = lxf (lxf is the netbios name of the
PC which has the printer)
service = EPSON (its shared printer name)
passwd = "" (no passwd)
and I modify the script
echo "print -"
) | /opt/samba/bin/smbclient "\\\\$server\\%service"
.... here I add bin
$passwd -N -P > /dev/null
# lpadmin -p epson_printer -v /dev/null -i
# enable epson_printer
# accept epson_printer
it runs well.
I use admintool to set the epson_printer default
then I restart the Samba daemons
when I usr
# lp text <filename>
it show :
request id is epson_printer-1(1 file(s))
It looks like right
but the printer has no reaction!!!!!!!!!!
(The printer is no wrong,I use very well)
and when I input:
# lpstat -p -l
printer epson_printer is idle enable since Thursday
September 28 16:15:29 CST 2000 available
Contant types: simple
Printer types: unknown
on fault:write to root once
Default page size
Default port settings:
the up is all.
Is the file "smbprint.sysv" wrong? I don't know.
Could you give me the file :smbprint.sysv?
Because I have no printer with SUN , my smb.conf
include [printers] this part,and I have set no items
correlative to printer (such as load printers = yes)
I have no way to do this.
Could you give me a hand?
Thank you very much! Hope your email!!!
email:AsiaSwallow at yahoo.com.cn
Do You Yahoo!? µÇÂ¼Ãâ·ÑµçÓÊÕÊºÅ
Get your free @yahoo.com.CN address at http://mail.yahoo.com.cn
More information about the samba