Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: LazyAdminPosted on 2002-11-06 at 17:00:21ID: 7417497
Hmm...
ishp.acct: \ /printconf /util/stri p_control_ file.sh:\ til/mf_wra pper:
og:\
I'm not sure that I'm getting the full scope of your problem but...
I've got a RH7.2 machine (which I think has cups) and it's configured to print through an old BSD style SunOS 4.1.3 machine named "aero1" to a printer named "mishp".
I did the configuration entirely through printconf and it worked fine.
Both machines have an "lpc" command that allows you to start/stop individual print queues. Run "lpc" and then type "?" to get an idea what's available.
Here's an excerpt from my RH7.2 /etc/printcap file:
mishp:\
:sh:\
:ml=0:\
:mx=0:\
:sd=/var/spool/lpd/mishp:\
:af=/var/spool/lpd/mishp/m
:rm=aero1:\
:rp=mishp:\
:bk=:\
:control_filter=/usr/share
:lpd_bounce=true:\
:if=/usr/share/printconf/u
Aero1 uses an *OLD* lpd system.
Here's an excerpt from the aero1 printcap which is configured in a similar manner:
mishp| Network printer on Print server axis62:\
:lp=:\
:sd=/var/spool/lpd/mishp:\
:lf=/var/spool/lpd/mishp/l
:rm=axis62:\
:rp=LPT1:
I've got some some new sysV UNIX machines printing via lpd too, but that's an entirely different beast.
If you're still having problems, On any machine that's serving LPD, type "netstat -a|grep LISTEN". The LPD server should be listening on the "printer" socket (515). If not, you've got a problem.
Also check for basic connectivity by telnetting to the LPD server on port 515.
On the old SunOS machine that gives me a "/usr/lib/lpd: Malformed from address" error.
On a new UNIX machine, I have to press return first and then I get an "invalid protocol request".
Something along those lines is normal.