* Remote Print from Linux to Digital Unix
@ 1998-04-02 5:00 M. Kokaly
1998-04-02 5:00 ` Geoff Short
0 siblings, 1 reply; 2+ messages in thread
From: M. Kokaly @ 1998-04-02 5:00 UTC (permalink / raw)
Hi everyone,
I'm having a hard time getting this setup correctly.
We have a Digital Workstation I'll call remote.computer
and a pc running linux I'll call local.computer
and a printer hooked up to the Digital workstation I'll call
printer.
I have managed to get a HPIII laserjet setup using the following printcap
on Digital Unix Version 4.0C.
printer|lp0:\
:af=/usr/adm/lpacct:\
:if=/usr/lbin/hplaserof:\
:lf=/usr/adm/lperr:\
:lp=/dev/lp0:\
:mx#0:\
:of=/usr/lbin/hplaserof:\
:pl#66:\
:pw#80:\
:sd=/usr/spool/lpd:\
:xf=/usr/lbin/xf:
I can print while logged on Digital workstation without a problem:
lpr -Pprinter filename
I have the following printcap file on the linux station:
printer|lp0:\
:sd=/var/spool/lpd:\
:lp=/dev/null:\
:mx#0:\
:sh:\
:rm=remote.computer:\
:rp=printer:\
From the Digital Unix System Administration Guide I created
a .rhosts file in my home directory on the Digital station
/myremotehomedirectory/.rhosts
that contains:
local.computer mylocalloginname
I did this instead of /etc/hosts.lpd because the remote machine is Digital Unix
and not Linux
Now the problem:
I try
lpr -Pprinter filename
I get:
lpr: connect: No such file or directory
jobs queued, but cannot start daemon.
From my local machine's lpc status:
printer:
queuing is enabled
printing is enabled
1 entries in spool area
waiting for queue to be enabled on remote.computer
But from the remote machine's lpc status:
printer:
printer is on device '/dev/lp0' speed -1
queuing is enabled
printing is enabled
no entries
no daemon present
Finally, lpq from my local machine gives:
local.computer: waiting for queue to be enabled on
remote.computer
Rank Owner Job Files Total
Size
1st mylocalloginname 0 work1.inp 7323
bytes
Warning: local.computer does not have access to remote printer
printer
and lpq on remote gives:
Wed Apr 1 15:26:24 1998:
no entries
I can use rlogin from the local computer to login to the remote computer
without a problem. (So .rhosts is working?)
What am I missing?
Thanks for any help,
Matthew T Kokaly
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Remote Print from Linux to Digital Unix
1998-04-02 5:00 Remote Print from Linux to Digital Unix M. Kokaly
@ 1998-04-02 5:00 ` Geoff Short
0 siblings, 0 replies; 2+ messages in thread
From: Geoff Short @ 1998-04-02 5:00 UTC (permalink / raw)
M. Kokaly (ranger5@u.washington.edu) wrote:
: I'm having a hard time getting this setup correctly.
: What am I missing?
lpd is run by root, and probably reports its id as bin (or maybe root
or lp) to the remote comuter. Try changing the .rhost userid.
Geoff
--
----------------------------------------------------------------------------
Ever sit and watch ants? They're always busy with Geoff Short
something, never stop for a moment. I just geoff@kipper.york.ac.uk
can't identify with that kind of work ethic. http://kipper.york.ac.uk/~geoff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-04-02 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-02 5:00 Remote Print from Linux to Digital Unix M. Kokaly
1998-04-02 5:00 ` Geoff Short
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox