*/
    public void showPrintSetupDialog() {
        PrintHelper printHelper = viewModel.getPrintHelper();
        // create a new print helper for this document instance
        if (printHelper == null) {
            MediaSizeName mediaSizeName = loadDefaultPrinterProperties();
            // create the new print help
            printHelper = new PrintHelper(documentViewController, getPageTree(),
                    mediaSizeName,
                    PrintQuality.NORMAL);
        }
        // reuse previous print attributes if they exist. 
        else {
            printHelper = new PrintHelper(documentViewController, getPageTree(),
                    printHelper.getDocAttributeSet(),
                    printHelper.getPrintRequestAttributeSet());
        }
        viewModel.setPrintHelper(printHelper);
        viewModel.getPrintHelper().showPrintSetupDialog();
        // save new printer attributes to properties
        savePrinterProperties(printHelper);
    }