
| 
 Purpose  | 
 Retrieves the resolution of the host printer page.  | 
| 
 Syntax  | 
 XPRINT GET PPI TO XVar&, YVar& Function Form: XVar& = XPRINT(PPI.X) YVar& = XPRINT(PPI.Y)  | 
| 
 Remarks  | 
 XPRINT GET PPI retrieves the resolution (points per inch) of the host printer page. The resolution is always specified in pixels, regardless of any XPRINT SCALE option. If executed without a host printer attached, error 57 is generated, and the values 0,0 are returned. This statement is particularly useful in drawing items such as rulers and graphs to a particular physical size. There are 25.4 millimeters per inch, so just divide by 25.4 to convert from pixels per inch to pixels per millimeter.  | 
| 
 See also  | 
 XPRINT ATTACH, XPRINT GET CLIENT, XPRINT GET MARGIN, XPRINT GET SIZE  |