catch (Exception exception) { exception.printStackTrace(); com.cosylab.vdct.Console.getInstance().println("Printing error: " + exception); } finally { view.setScale(scale); view.setRx(rx); view.setRy(ry);  setCursor(java.awt.Cursor.getPredefinedCursor(java.awt.Cursor.DEFAULT_CURSOR)); Settings.getInstance().setShowGrid(showGrid);  CommandManager.getInstance().execute("RepaintWorkspace"); } }
			public void run() {				com.cosylab.vdct.graphics.printing.Page.setPageFormat(job.pageDialog(com.cosylab.vdct.graphics.printing.Page.getPageFormat()));			}