XPRINT GET SIZE statement

Purpose

Retrieve the total size of the host printer page.

Syntax

XPRINT GET SIZE TO nWidth!, nHeight!

Remarks

XPRINT GET SIZE allows you to retrieve the full size of the host printer page, including both the printable client area and unprintable margins.  The sizes are specified in pixels  (or world coordinates, if those were defined with an XPRINT SCALE statement).  If no host printer is attached, error 57 is generated, and the values 0,0 are returned.

See also

XPRINT ATTACH, XPRINT GET CLIENT, XPRINT GET MARGIN, XPRINT GET MIX, XPRINT GET PPI