◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define GETPHYSPAGESIZE 12 short Control(lpDevice, GETPHYSPAGESIZE, NULL, lpDimensions) LPPDEVICE lpDevice; LPPOINT lpDimensions; The GETPHYSPAGESIZE escape retrieves the physical page size in device units (that is, how many pixels wide by how many scan lines high) and copies it to the location pointed to by the lpDimensions parameter. Parameter Description ──────────────────────────────────────────────────────────────────────────── lpDevice Points to a PDEVICE structure specifying the destination device. lpDimensions Points to a POINT structure that receives the physical page dimensions. Return Value The return value is positive if the escape is successful. Otherwise, it is negative. See Also PDEVICE, POINT ♦