From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9b51,7a194194a91ce5c2,start X-Google-Attributes: gidf9b51,public X-Google-Thread: fee84,7a194194a91ce5c2,start X-Google-Attributes: gidfee84,public From: ranger5@u.washington.edu (M. Kokaly) Subject: Remote Print from Linux to Digital Unix Date: 1998/04/02 Message-ID: <6fumir$11lo$1@nntp6.u.washington.edu>#1/1 X-Deja-AN: 340025373 X-Complaints-To: help@cac.washington.edu X-Trace: nntp6.u.washington.edu 891477403 34488 (None) 140.142.64.2 Organization: University of Washington NNTP-Posting-User: ranger5 Newsgroups: comp.os.linux.setup,comp.unix.osf.osf1 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