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.
Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention. Check out this how-to article for more information.