Hi Mark,

I myself asked that question just last week!  Glad to know I am not alone ;)

The answer is that you need to move to 1.7 (or above?), which is a dev version.  There 
you can use the following command:


      HSSFSheet.getPrintSetup().setLandscape(true);


That should work.  I am using 1.7.0 right now.

Paul



                                                                                       
                                                                                
                      "Yanker, Mark"                                                   
                                                                                
                      <Mark.Yanker@Bell        To:       
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>                          
                       
                      South.com>               cc:                                     
                                                                                
                                               Subject:  HSSFPrintSetup                
                                                                                
                      07/30/2002 06:01                                                 
                                                                                
                      PM                                                               
                                                                                
                      Please respond to                                                
                                                                                
                      "POI Users List"                                                 
                                                                                
                                                                                       
                                                                                
                                                                                       
                                                                                




I'm just getting going on HSSF.  Seems great.  One problem, though. In trying to set 
the print setup to landscape, (sheet.getPrintSetup().setLandscape(true);) I realized 
that HSSFPrintSetup doesn't appear to be in the 1.51 or 1.50 bin or src downloads(that 
I looked at).  I just joined the list but I looked back through the archive and I 
didn't see anything about it.  It's late in the day, so sorry if I'm missing 
something(Like a brain) but what's up?




Mark Yanker




**************************************************************************************************************************************************
"The information transmitted is intended only for the person or entity to which it is 
addressed and may contain confidential, proprietary, and/or privileged material. Any 
review, retransmission, dissemination or other use of, or taking of any action in 
reliance upon, this information by persons or entities other than the intended 
recipient is prohibited. If you received this in error, please contact the sender and 
delete the material from all computers."

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>





--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to