kprinter to remove file after printing

Michael Goffioul kde-print@mail.kde.org
Fri, 07 Mar 2003 14:10:18 +0100


> Why not simply using a wrapper named "kprinterrm" like
> 
> #!/bin/sh
> kprinter $1
> rm -f $1

You may need to add a small delay before removing the file because
of the current internal implementation. Otherwise, you might remove
the file before it is actually sent to the print spooler.

Michael.

-- 
------------------------------------------------------------------
Michael Goffioul		IMEC-DESICS-MIRA
e-mail: goffioul@imec.be	(Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510		Kapeldreef, 75
Fax:    +32/16/28-1515		3001 HEVERLEE, BELGIUM
------------------------------------------------------------------
This e-mail and/or its attachments may contain confidential
information.  It is intended solely for the intended addressee(s). 
Any use of the information contained herein by other persons is
prohibited.  IMEC vzw does not accept any liability for the contents
of this e-mail and/or its attachments.
------------------------------------------------------------------