The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Printing image files on the printer

Posted by Hoshi Mistry on August 19, 2001 at 6:28 AM

I am writting an application program in Java using the JDK1.2 in which I need to print text, drawings and pictures on the Printer. Using the 1.2 print API I am able to send text strings to the printer and have them print at any (x,y) location on the page. However I am facing problems with the image files. I am also able to print form components like a button or a panel or a frame on the printer. But the moment I add images (.bmp, .gif, or .jpg), it stops printing. Can anyone help ?





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us