xiaoy@ecf.toronto.edu (XIAO Yan) (03/17/91)
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