*
The moose likes Java in General and the fly likes Help: I have an is it possible question? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Help: I have an is it possible question?" Watch "Help: I have an is it possible question?" New topic
Author

Help: I have an is it possible question?

S Saunders
Greenhorn

Joined: Mar 21, 2003
Posts: 22
Before I get to the question, here is some background to the problem I am having. I am working on a printing enhancement to an application. When I send a print job to the printer the first page prints followed by two blank pages. As far as I can tell the print() is rendering the text properly into the Graphics2D object.
Now for the question: Is it possible to view the contents of this Graphics2D object without recausing it to repaint? My hunch is that the printer is doing something incorrect with the data so I would like to view what I have rendered. The reason I am wondering if it is the printer is the fact that I can use the same code and send it to a different printer and the document prints fine.
Thanks for your help,
Steve
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Originally posted by S Saunders:
Is it possible to view the contents of this Graphics2D object without recausing it to repaint?


Well of course many programs do a "print preview" before printing. What do you mean by not recausing it to repaint? You would have to repaint to bring up the preview window.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
wood burning stoves
 
subject: Help: I have an is it possible question?
 
Similar Threads
Change the Printer Orientation??
Printing API Question
Java Print
Query regarding Applet Printing.
Printing