I need to set page format Margins as below
I have not used PageDialog to set this, just want set this in the code not use pageFormat = printJob.pageDialog(pageFormat);
But I don't know how to set this wiht PageFormat object in code JAVA.
Please let help me with this.
Thanks in advance!