use system if using printlog.