From: ranger5@u.washington.edu (M. Kokaly)
Subject: Remote Print from Linux to Digital Unix
Date: 1998/04/02 [thread overview]
Message-ID: <6fumir$11lo$1@nntp6.u.washington.edu> (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
next reply other threads:[~1998-04-02 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-02 5:00 M. Kokaly [this message]
1998-04-02 5:00 ` Remote Print from Linux to Digital Unix Geoff Short
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox