Syntax: getPaperWidth(document)
getPaperWidth(
)
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.