Rectangles
Important
The modern print platform is Windows' preferred means of communicating with printers. We recommend that you use Microsoft's IPP inbox class driver, along with Print Support Apps (PSA), to customize the print experience in Windows 10 and 11 for printer device development.
For more information, see Modern print platform and the Print support app design guide.
To describe a rectangle in a GPD file, use the RECT keyword. The format is:
RECT ( left , top , right , bottom )
where left, top, right, and bottom represent numeric values, in master units.