EXPORTPAPERSPACE system variable
Function Description:
The EXPORTPAPERSPACE system variable is used to specify which part of drawing in layout space to export to a DWF, DWFx or PDF file.
Type : Integer 
Saved in : Drawing 
Initial value : 0 
Range : 0,1,2
System Variable Value:
0 : display
1  :extent
2 : window