XPRINT GET CLIENT statement  

Purpose

Retrieves the size of the client area (printable area) on the host printer page.

Syntax

XPRINT GET CLIENT To WidthVar!, HeightVar!

Function Form:

WidthVar!  = XPRINT(Client.X)

HeightVar! = XPRINT(Client.Y)

Remarks

XPRINT GET CLIENT retrieves the physical size of the client area (printable area) for the attached host printer.  The size is always specified in Pixels (points).  This is very similar to XPRINT GET CANVAS, with the single exception that scaled values (set by XPRINT SCALE) are not utilized.  If executed without a host printer attached, error 57 is generated.

See also

XPRINT ATTACH, XPRINT GET CANVAS, XPRINT GET CLIP, XPRINT GET MARGIN, XPRINT GET PPI, XPRINT GET SIZE