
| 
 Purpose  | 
 Retrieves the current paper size/type.  | 
| 
 Syntax  | 
 XPRINT GET PAPER TO PaperVar& Function Form: PaperVar& = XPRINT(PAPER)  | 
| 
 Remarks  | 
 XPRINT GET PAPER retrieves the paper style for which 
 the host printer is currently configured.  The 
 paper style is identified by an 
 %DMPAPER_LETTER    = 
  1      Letter 
    8.5 
   x 
 11    inches Other paper style codes may be defined by Windows or printer suppliers. You can use XPRINT GET PAPERS to obtain a list of all the paper styles supported by the attached host printer. If the printer does not support paper style changes, the value zero is returned. If executed without a host printer attached, error 57 is generated.  | 
| 
 See also  |