# PrintDlg

```csharp
[DllImport("Comdlg32.dll", SetLastError = true)]
public static extern bool PrintDlg(
   ref PRINTDLG lppd
);
```

Microsoft documentation: [Link](https://learn.microsoft.com/en-us/previous-versions/windows/desktop/legacy/ms646940\(v=vs.85\))
