portrait

Description

Specifies the page orientation for HTML print-outs.

The portrait property is part of the basic freely-distributable printing subset.

Setting this property never causes the margins to be swapped. If margin swapping is required, please use the orientation property.

This is a read/write property. Use true to specify portrait and false for landscape.

Syntax

printing.portrait = true|false