[comp.sys.sgi] network printing problem: spool uncleaned

xiaoy@ecf.toronto.edu (XIAO Yan) (03/10/91)

Our 4D/320 uses lpsched to print.  Another 3120 uses this printer via
network (remote printer).

However, files sent from 3120 are still in 4D's /usr/tmp after being printed.
Even worse, those files in /usr/tmp are readable by everybody.

Does anybody else have the same problem?  Why the spooling dir for remote
printing is /usr/tmp, not /usr/spool/lp/request...?

Any comment is welcome.

Xiao
<xiaoy@ecf.toronto.edu>

blbates@AERO36.LARC.NASA.GOV (Brent Bates ViGYAN AAD/TAB) (03/15/91)

   The script on the 3120 puts it in /usr/tmp.  On your 3120, look at
/usr/spool/lp/interface, these files control the printers.  Find the script
for the printer in question and change it so the file is put where you want
it.  Also change the lp command in the script so the file is removed after
printing.
   Oops!, lp doesn't have the option to remove files after printing.  Well
instead of having the 3120 execute lp have it use lpr and use the minus -r
option.  Well, I guess if you really wanted to you could change the lp script
on the remote machine so it would have a -r option.
   This should give you enough rope to hang yourself, :-).  Hope this helps.

	Brent L. Bates
	NASA-Langley Research Center
	M.S. 361
	Hampton, Virginia  23665-5225
	(804) 864-2854
	E-mail: blbates@aero36.larc.nasa.gov or blbates@aero8.larc.nasa.gov