My problem is as follows: I print f.e. 5 files (using lp). Then I remove these 5 files (using rm). Only the first 2 files are printed.
I need to have some mechanism in my script that makes sure the files are actually printed before it starts removing them.
Any help would be greatly appreciated...
I need to have some mechanism in my script that makes sure the files are actually printed before it starts removing them.
Any help would be greatly appreciated...