You can't; have a look at what JMapPane does (it uses a renderer of some sort to render to the swing pane's graphics 2d). When you get a graphics 2d from your printer you can use the same technology. You could try "calling the swing components paint method directly (I have printed out "screen snaps" of swing apps before) - but for printing a page you probably want to go directly to the printer and have better quality output.
There is lots of documentation on printing and the Java 2d API; you should be fine. Cheers, Jody > respected Sir, > How can I print the JMapPane content by the printer(ploter)... > -- > ================= > Thanks & Regards, > Atanu Moitra > +91-9830406758 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users