• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help: I have an is it possible question?

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
This guy is skipping without a rope. At least, that's what this tiny ad said:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic