Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help: I have an is it possible question?

 
S Saunders
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic