getPaperWidth

Syntax: getPaperWidth(document)

Returns: the width of the physical paper, in points

This function returns the width of the physical piece of paper that the current document is configured to print on.