XPRINT GET SIZE statement  

Purpose

Retrieve the total size of the host printer page.

Syntax

XPRINT GET SIZE TO WidthVar&, HeightVar&

Function Form:

WidthVar&  = XPRINT(SIZE.X)

HeightVar& = XPRINT(SIZE.Y)

Remarks

XPRINT GET SIZE allows you to retrieve the full size of the host printer page, including both the printable client area and any unprintable margins.  The sizes are specified in pixels (points). 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