Rish:
Welsome to JavaRanch. As far as I can tell, setting your margins is something that you have to do in your document that you are printing -- since the document has to be abl to format itself, it needs to know the margins.
Alternatively, you might look at setting the
Media Printable Area attribute. It will allow you to position the x,y position on the media where printing starts, but it only effectively sets the top and left margins; the right and bottom are still document-dependent.
[ October 21, 2003: Message edited by: Joel McNary ]
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.