Printable (java printing)
From: astrorail (srinee_at_gmail.com)
Date: 08/19/04
- Next message: Battler: "Re: Introducing CookSwing: XML to GUI toolkit"
- Previous message: Cid: "trying to fix oneTouchExpandable button size in JSplitPane's divider"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 18 Aug 2004 21:09:43 -0700
Hi,
I have a question about Java Print Preview.
I am trying to build a Print Preview in an efficient manner. The print
preview has an option to view the Landscape mode as well as Portrait
mode
or any other mode for that matter.
I pass the printable object to the PrintPreview class
PrintPreview preview = new PrintPreview( printable );
so if set the pageformat.setOrientation( LANDSCAPE );
then I cannot set it to PORTRAIT once LANDSCAPE is set.
Is it possible to change modes by using one printable object during run
time.
One way is to pass two printable objects. set one with LANDSCAPE mode
and
the other with PORTRAIT MODE. But I think this is inefficient.
Any help?
Thanks
astrorail
- Next message: Battler: "Re: Introducing CookSwing: XML to GUI toolkit"
- Previous message: Cid: "trying to fix oneTouchExpandable button size in JSplitPane's divider"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]