set_paper_size method

set_paper_size

Sets the default print paper size from default printer’s setting.

def set_paper_size(self, type):
    ...
ParameterTypeDescription
typePaperSizeTypeThe default paper size.

Remarks

If there is no setting about paper size,MS Excel will use default printer’s setting.

See Also