Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!rsi!prcrs!paul From: paul@prcrs.prc.com (Paul Hite) Newsgroups: comp.unix.admin Subject: Re: remote printing from HP Unix system Keywords: printing from hp to sun Message-ID: <2011@prcrs.prc.com> Date: 4 Jun 91 16:15:58 GMT References: <3882@tdw206.ed.ray.com> Organization: PRC Realty Systems, McLean, VA Lines: 34 In article <3882@tdw206.ed.ray.com>, heiser@tdw206.ed.ray.com (Bill Heiser - Unix Sys Admin) writes: > I have a user using an HP Unix system, trying to print remotely > either using lp or lpr to a Sun system. Well, for starters, how was the printer definition set up on the hp? It's easy to get it wrong. Since it isn't working anyway, try removing and re-adding it: #! /bin/sh HOST= PRINT= HPPRINT= /usr/lib/lpshut /usr/lib/lpadmin -x$HPPRINT /usr/lib/lpadmin -p$HPPRINT -mrmodel -v/dev/null -ocmrcmodel \ -osmrsmodel -orm$HOST -orp$PRINT -ob3 # assuming that HPPRINT should be the default printer: /usr/lib/lpadmin -d$HPPRINT /usr/lib/lpsched The syntax is very picky. Do not introduce any spaces in the above commands. If it still doesn't work, look in /usr/spool/{log,lpd.log} to see there are any useful messages. You can get more stuff in lpd.log by adding a -l to the invocation of rlpdaemon. This might be in /etc/rc or /etc/inetd.conf. If you don't see any errors on the hp side I would suspect the sun. I'm not familiar with suns, but we have remote printed from hp's to ultrix boxes and vice versa. I have never seen the symptom of print jobs just disappearing. I hope you post a followup when you track it down. Good luck. Paul Hite PRC Realty Systems McLean,Va paul@prcrs.prc.com (703) 556-2243 You can't tell which way the train went by studying its tracks.