Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing an Image in AWT..

Status
Not open for further replies.

Radeon

Programmer
Jul 12, 2000
7
US
I'm trying to print an Image... although being able to print a ViewerCanvas or a panel would be fine too.. I'm using the getGraphics() function... which is supposed to return a graphics type that is an instance of PrintGraphics.. but it isn't working.. can anyone help??

Radeon

 
OK.. I got stuff printing... but its not quite doing it right... its trying to almost center the image.. and cram as much of it on the page as it can.. its now missing the top right corner.. and its missing a lot to the right and below... and not doing multiple pages... any suggestions??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top