When the Zoom to Extents flag is equal to false, output page parameters are taken from the layout's properties and a custom application cannot change them.
Please see the Page Setup dialog from the OdaMfcApp sample application. To open the Page Setup dialog, use File -> Page Setup from the main menu.