How to get page orientation and page size in print dialog on mac
===


I am using the following code in my JAVA program on Mac. It shows the native print dialog but the page orientation and paper size options are missing from the dialog. Could anyone suggest what needs to be done to get those options to show in the window.

        PrinterJob job = PrinterJob.getPrinterJob();
    	    // Get the default page format, then allow the user to modify it
    	    //PageFormat format = job.pageDialog(job.defaultPage());
    	    // Tell the PrinterJob what to print
    	    job.setPrintable(this, job.defaultPage());
    	PrintRequestAttributeSet atts = new HashPrintRequestAttributeSet();
    	        atts.add(DialogTypeSelection.NATIVE);
        if (job.printDialog(atts)) 
    	{
    		try {
    			job.print(atts);
    		} catch (Exception ex) {
    			
    		}
    	}

The following is the print dialog i see ...

![enter image description here][1]

Is it possible to change it to look like this ...
![enter image description here][2]

I am using Java 6 on Mac 10.7. 
I would appreciate if anyone could point me to any resources that help me put up a complete native print dialog on Mac using Java.

Thanks,
-Abhinay.
  [1]: http://i.stack.imgur.com/U5l1V.png
  [2]: http://i.stack.imgur.com/fwgPj.png