Allow to write batchfile for hardcopy