Subject: rmt printer probs
Hello,
I have a DEC 3000/400 running OSF/1 v3.0 that is connected to an LG06
line printer. I want to have other machines on the network be able to
print to this printer; unfortunately, this isn't working. Before you
suspect I don't know what I'm doing, I have printers hung off of other
machines such that all networked machines can get to those printers, so
at least I know (or think I know) how to use 'rp' and 'rm' in the
printcap, how to put machine names in the /.rhosts file, and so on.
To rehash, I created a "local" printcap entry in the machine hooked up
to the LG06 as such:
LG06|lp5|HSP|LinePrinter|lp:\
:af=/usr/adm/lp5acct:\
:br#9600:\
:ct=dev:\
:fc#0177777:\
:fs#03:\
:if=/usr/lbin/lg06of:\
:lf=/usr/adm/lp5err:\
:lp=/dev/tty01:\
:mx#0:\
:of=/usr/lbin/lg06of:\
:pl#66:\
:pw#80:\
:sd=/usr/spool/lpd5:\
:xc#0177777:\
:xf=/usr/lbin/xf:\
:xs#044000:
Then, I put every machine's name in the /.rhosts file on that machine.
I created the /usr/spool/lpd5 and /usr/adm/lp5err and acct files, and
gave them 'root' and 'system' permissions (just like all the other
times I've set up printers). I even did a 'setld -i | grep OSFLAT' to
make sure LAT was installed, although I did not verify if LAT had been
set up (my guess is that LAT is not necessary to do what I'm doing;
opinions, anyone?). I double-checked that my /etc/hosts file named
every machine in the group (well, we're running NFS and rsh, so I
figured if these worked, everything else must be OK).
On to the remote machines, I made printcap entries as such:
LG06|lp5|HSP|LinePrinter|lp:\
:lf=/usr/adm/lp5err:\
:lp=:\
:rm=the_lg06_machine.aerosys.loral.com:\
:rp=lp:\
:sd=/usr/spool/lpd5:
I created the /usr/adm and spool lpd5 directories, checked the
/.rhosts, verified that OSFLAT was installed (but again, didn't check
if it was configured).
I then did a 'lpc down all', 'lpc clean all', 'lpc restart all', and
'lpc up all' on all machines, both local and remote. I did an lptest
and routed it from the local machine (hooked to the LG06), and it
worked. But when I did the same thing from a remote machine, nothing
happened.
I did 'lpc status' from the remote machine, and it said something along
the lines of "waiting for the_lg06_machine queue to be enabled." I
checked the local machine's lpc status, and it said the queue was
enabled, no jobs, ready for printing. I did countably many 'lpc
down/clean/restart/up' steps on both machines, resent the jobs each
time, but I keep getting this error.
Now, I will admit that although I was following the SysAdm guide, it
has been a while since I did any printer configurations, so it may be
that I am an idiot after all. But basically I looked at how other
remote printers were set up, and tried to duplicate those entries where
possible. If anybody could PLEASE tell me what I'm doing wrong, I'd be
very grateful. Oh, one more thing. The only MAIN difference that I can
see is that with other machines, I'm going through /dev/lp0 as the
local printer port rather than /dev/tty01 as with this machine.
Thanks in advance for any help given.
----------------------------------------+----------------------------------
Russ Fink, Loral Aerosys (301-805-0501) | 7375 Executive Place Suite 101
email: rfink_at_hornet.aerosys.loral.com | Seabrook, MD 20706 USA
----------------------------------------+----------------------------------
G L O B A L S T A R -- THE solution for worldwide voice/data communications
Received on Wed May 24 1995 - 12:40:07 NZST