Function
with-page-transform. get-page-area printer &key scale dpi screen
get-page-area function is provided to simplify the calculation of suitable rectangles for use withwith-page-transform. It calculates and returns the width and height of the rectangle in the user's coordinate space that corresponds to one printable page, based on the logical resolution of the user's coordinate space in dpi. nil or unspecified, the logical resolution of the specified screen is used, or the logical resolution of the default screen if no screen is specified. The dpi argument can be a number, or a list of two elements representing the logical resolution of the coordinate spaces in the x and y directions respectively. printer-metrics-device-heightprinter-metrics-device-widthprinter-metrics-dpi-xprinter-metrics-dpi-yprinter-metrics-heightwith-page-transform