> Could you send the appropriate printcap entries ?
Try this, generated automatically under RH7.3 - I assume you are not
using this distribution or you may want to try CUPS, which is what I
use; generated this only to obtain this sample.
# DO NOT EDIT! MANUAL CHANGES WILL BE LOST!
# This file is autogenerated by printconf-backend during lpd init.
# Hand edited changes can be put in /etc/printcap.local, and will be
# end of entry
I'm used to edit printcap manually, so a barebone printcap for this
purpose would be:
Of interest to you is the rm and rp directives: I gave my router a name
smc (you can set a name in /etc/hosts, if not in DNS), and the remote
printer name is lp - this must be true for most device printer servers.
(HP uses "raw" by default but you can change it.) For sanity, you may
want to set rm to IP address just to make sure. Other than that, you
need to have some entries properly entered under sd (/var/spool/lpd/lj6l
in my case).
> My system behaves insanely !!!
> printconfig wipes out printcap and cannot start lpd, even though it
> claims it did. I created a printcap entry for my printer using foomatic,
> but I don't know how to convert it to use with a UNIX server.
Remove lp directive, add rm and rp directives and you should be all set.
If you use the sample above, be sure to change sd directive to
reflect your settings. (Forget if, af directives to simplify your
initial settings.) Read printcap man page helps a lot.
>> I'm using an SMC broadband router w print server. I guessed that it
>> used lpd for printing so I simply pointed my output to use lpd, queue
>> name lp (the default printer name under Unix). It works.
>> Further, now that I'm using WinXP, I can s*the cumbersome
>> proprietary software that comes with the router, and just ask WinXP to
>> use lpd network printing to lp queue. Voila! (Somehow I have to use
>> byte count under Windows.) lpd is not an option in previous Windows,
>> Happy printing.
>> Yuan Liu
>>> My printer is Samsung ML-7050.