How to change page layout from vertical to horizontal on command line

I want to use instruction to change page layout from vertical to horizontal

The meta tag is for matters related to this site.

Please, choose retag (below your question), delete meta, type “writer” or calc or “impress” or “draw”, and press Enter twice. Thanks.