[cups] adding delay between print job.

Helge Blischke helgeblischke at web.de
Thu Dec 3 02:25:13 PST 2015


> Am 03.12.2015 um 04:21 schrieb Dil Lee <dillee1 at gmail.com>:
> 
> the /usr/lib/cups/filter/wait script
> 
> #!/usr/bin/bash
> # wait time in seconds
> sleep 30;
> 
> 

Sorry, I forgot the statement(s) to copy standard input to standard output.
So, your bash script should read:

#!/usr/bin/bash
cat		# or, without output buffering:  cat -u
#wait time in seconds
sleep 30
 
Helge







More information about the cups mailing list