pageWidth

Description

Returns the physical width of the current printer paper selection.

ScriptX uses the default units of measure of the user's system. In a broad network environment default units are certain to vary (they could be either inches or millimeters) so you may wish to specify a fixed unit of measure with the licensed function SetMarginMeasure.

Syntax

width = printing.pageWidth

Settings

This is a read-only property.

Applies To

printing

Example

Check out the source code of the ScriptX Techie Printing example.

See Also

bottomMargin, leftMargin, pageHeight, paperSize,  portrait,  rightMargin, topMargin, unprintableBottom, unprintableLeft, unprintableRight, unprintableTop

PageSetup,  SetMarginMeasure