Newsgroups: comp.sys.sgi
Path: utzoo!utgpu!news-server.csri.toronto.edu!news-server.ecf!ecf!xiaoy
From: xiaoy@ecf.toronto.edu (XIAO  Yan)
Subject:  network printing problem: problem solved.
Message-ID: <1991Mar16.170827.20837@ecf.utoronto.ca>
Sender: news@ecf.utoronto.ca (News Administrator)
Organization: University of Toronto, Engineering Computing Facility
References: <9103142057.AA08809@aero36.larc.nasa.gov>
Date: Sat, 16 Mar 91 17:08:27 GMT

Thanks a lot for those who have offered help.
Here is the solution I adopted:

Just editing the local site interface script (/usr/spool/lp/interface/*)
	1. Change remote shell printing from "rsh lp@host lp "
	                                  to "rsh lp@host lp -c"
           (So printing machine put a copy into its own spooler)
        2. Add a line after printing like this: "rsh lp@host rm /usr/tmp/*"
And it works just fine.

NB.  When you read the interface script (/usr/spool/lp/interface/*), you
     will have a good idea of what to do.

Xiao
