This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Swing / AWT / SWT and the fly likes Printer Prefs Dialog Confusion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Printer Prefs Dialog Confusion" Watch "Printer Prefs Dialog Confusion" New topic
Author

Printer Prefs Dialog Confusion

Aaron Roberts
Ranch Hand

Joined: Sep 10, 2002
Posts: 174
I have an app which runs in full screen mode. It doesn't change the resolution.

Here is a code snippet -



When I used the printJob.printDialog() method, to show a native print dialog menu, it doesn't show up on the full screen JFrame. I have to alt-tab to it. If I use the version shown above, the dialog shows up, but it won't let me change the printer prefs (specifically printing in color vs black white)

Is there a way to either get the native dialog to show up where I want it or to get access to the printer properties?

Thanks,
Aaron R>
[ October 28, 2004: Message edited by: Aaron Roberts ]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Moving to the Swing forum where people know about Printing.


GenRocket - Experts at Building Test Data
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Printer Prefs Dialog Confusion