I am trying to print out the contents of my JTable to a printer, using table.print() method:
boolean complete = table.print(JTable.PrintMode.FIT_WIDTH,header,null);
My question is, is it possible to set the size of the left and right margin on the printable area of the paper without having to manually set them on a PrintDialog?
Thank you very much for your help!