# EXPORTPDF Command
[GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [Commands](Help%20System/GSTARCAD/2022/Commands/(Commands).md) → [E](Help%20System/GSTARCAD/2022/Commands/E/(E).md)
## Function Description:
This command is used to generate a PDF file from a single layout, all layouts, or a specified area in
model space.
The [Save As PDF dialog box](Help%20System/GSTARCAD/2022/Commands/03%20Dialog%20Boxes/Save%20As%20PDF%20Dialog%20Box.md) is displayed. Users can
use this dialog box to override the device driver's page setup options, add a
plot stamp and change file options.
To export layouts to a PDF file, invoke this command from a layout. After that
use the Save As PDF dialog box to specify whether to export that layout only
or all the layouts in the drawing. To export model space to a PDF file, invoke
this command from model space. After that use the Save As PDF dialog box to
specify the area you want to export.
## Command Access:
> **Icon:**
> 
> **Menu:** File \> Export \> PDF
> **Ribbon:** /
> **Toolbar:** /
> **Command:** EXPORTPDF
> **Alias:** /
**Command Prompts: /**