if (printer.startJob("Printing")) {
String jobName = printOptions.jobName;  if (jobName == null) { jobName = "Printing"; } if (printer.startJob(jobName)) {
	public void run() {		if (printer.startJob("Printing")) {			createPrinterColors();			initializeRenderer();			print();			dispose();			printer.endJob();					}	}