setLandscape method of HSSFPrintSetup class accepts a boolean variable to set the orientation. Logically if i pass true then the orientation should be landscape. but only when i pass false the orientation is set to landscape. it can be changed
Created attachment 2010 [details] Patch to fix this bug
Here is a patch to fix this. The internal record records a 0 for landscape mode and the record called this landscape and then the boolean functions said false. I flip it in the usermodel.
Applied, thanks. Could you please verify?
Verified.