}
    public void printPages() {	if (job == null) return;	try {	    job.print();	} catch (PrinterException e) {          if(log.isErrorEnabled()) {	    log.error("Print job failed: ", e);          }	}    }