File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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