question: public boolean pageSetupDialog ( PrinterJob job ) { PrintRequestAttributeSet prats = getPrintRequestAttributeSet ( ) ; PageFormat pf = job . pageDialog ( prats ) ; setPrintRequestAttributeSet ( prats ) ; return true ; }
target:  Show Dialog and Set Paper