◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define GETPRINTINGOFFSET 13 short Control(lpDevice, GETPRINTINGOFFSET, NULL, lpOffset) LPPDEVICE lpDevice; LPPOINT lpOffset; The GETPRINTINGOFFSET escape retrieves the offset from location 0, 0 (the upper-left corner of the physical page), which is the point at which the actual printing or drawing begins. This escape function is not generally useful for devices that allow the user to set the origin by hand. Parameter Description ──────────────────────────────────────────────────────────────────────────── lpDevice Points to a PDEVICE structure specifying the destination device. lpOffset Points to a POINT structure that receives the horizontal and vertical coordinates (in device units) of the printing offset. Return Value The return value is positive if the escape is successful. Otherwise, it is negative. See Also PDEVICE, POINT ♦