My app needs to print Java2D and it works OK, but I get complaints
about the large margins around the printed image. I've been doing
some investigation and it appears that java.awt.print.PageFormat
objects always have a one inch margin, despite being passed through a
PrinterJob pageDialog() method with a printer that can have much
smaller margins. I found some stuff at Sun about using
javax.print.PrintService and MediaPrintableArea, but I don't get a
MediaPrintableArea returned under Mac OS X (at least I don't with
1.4.2_07).
Anyone dealt with this stuff before and willing to share some insight?
Thanks, Nick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden