![](https://seccdn.libravatar.org/avatar/7083274a1a0c6afeffda5fc9661b3acf.jpg?s=120&d=mm&r=g)
hi i just setup samba on my home network, and my windows box has a printer attached to it, and im trying to print with it from my linux box. i type cat $1 |lpr -b -Pepson to print, and printer raw in printcap has the following entry epson:\ :sd=/var/spool/lpd/epson:\ :af=/var/spool/lpd/epson/acct:\ :if=/usr/local/samba/bin/smbprint:\ :mx=0:\ :lp=/dev/null: once i try ptinting, i get lpr: connect: Connection refused jobs queued, but cannot start daemon. regardless of the fact whether lpd is running or not. if i try to print and then envoke lpd, i get the following in the syslog Sep 27 12:24:22 mordor lpd[15606]: restarting epson Sep 27 12:24:22 mordor last message repeated 3 times Sep 27 12:24:22 mordor lpd[15606]: epson: job could not be printed (cfA004mordor) Sep 27 12:24:22 mordor lpd[15606]: restarting epson Sep 27 12:24:22 mordor last message repeated 3 times Sep 27 12:24:22 mordor lpd[15606]: epson: job could not be printed (cfA005mordor) Sep 27 12:24:22 mordor modprobe: modprobe: Can't locate module char-major-6 how confused am i?.. should there be lpd running? i did everything from smb-howto on printing, and nothing works. thanks for any help -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
![](https://seccdn.libravatar.org/avatar/892c3502df38a2c25ab86c62f8f1df6d.jpg?s=120&d=mm&r=g)
mute wrote:
hi i just setup samba on my home network, and my windows box has a printer attached to it, and im trying to print with it from my linux box. i type cat $1 |lpr -b -Pepson
to print, and printer raw in printcap has the following entry
epson:\ :sd=/var/spool/lpd/epson:\ :af=/var/spool/lpd/epson/acct:\ :if=/usr/local/samba/bin/smbprint:\ :mx=0:\ :lp=/dev/null:
once i try ptinting, i get lpr: connect: Connection refused jobs queued, but cannot start daemon.
regardless of the fact whether lpd is running or not. if i try to print and then envoke lpd, i get the following in the syslog Sep 27 12:24:22 mordor lpd[15606]: restarting epson Sep 27 12:24:22 mordor last message repeated 3 times Sep 27 12:24:22 mordor lpd[15606]: epson: job could not be printed (cfA004mordor) Sep 27 12:24:22 mordor lpd[15606]: restarting epson Sep 27 12:24:22 mordor last message repeated 3 times Sep 27 12:24:22 mordor lpd[15606]: epson: job could not be printed (cfA005mordor) Sep 27 12:24:22 mordor modprobe: modprobe: Can't locate module char-major-6
how confused am i?.. should there be lpd running? i did everything from smb-howto on printing, and nothing works.
thanks for any help
Hmm. Did you use yast to set up the printer? There is an option to use a printer via samba on a windows machine. This involves a script called samba_print. This script has the option to enable logging by uncommenting. Further involved ate some /etc/apsfilterrc.printername scripts, that with SuSE 7.0 should be world readable (and so should be rc.config in that case). other possibilities include the use of /etc/hosts.allow / hosts.deny.
From what I guess out of your printcap, you use the samba tools. Try yast first.
Juergen -- =========================================== __ _ Juergen Braukmann juergen.braukmann@gmx.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ / ===========================================_\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (2)
-
datatwirl@gis.net
-
juergen.braukmann@ruhr-west.de