kprinter to remove file after printing

Till Kamppeter kde-print@mail.kde.org
Fri, 07 Mar 2003 14:05:55 +0100


ktom@tracy.bot.ch wrote:
> Hi
> 
> I am using KDE 3.1 (SuSE RPM) and would like kprinter to remove the file after 
> printing. Can this be achieved somehow?
>

Why not simply using a wrapper named "kprinterrm" like

#!/bin/sh
kprinter $1
rm -f $1

which is called as follows:

kprinterrm <file>

    Till