Word Document Template Paper Size

1 view (last 30 days)
Benjamin Green
Benjamin Green on 10 Aug 2017
I have created a word document template of paper size US Letter (8.5" x 11"), and the orientation is set to landscape. When I use this template to create the report, the paper size comes out as (11" x 8.5") with the orientation as landscape. Is there any way to have the generated word document have the correct paper size and orientation?

Answers (1)

Sangeetha Jayaprakash
Sangeetha Jayaprakash on 14 Aug 2017
I assume you are using "orient('landscape')" command to set the orientation.
If you are using MATLAB R2016a or newer version, the 'PaperPositionMode' is set to 'auto' by default.
So, the "orient('landscape')" is probably not being reflected. Try to set the 'PaperPositionMode' to 'manual' before setting the paper orientation.
For more information on this property, refer this link:

Categories

Find more on MATLAB Report Generator in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!