printdlg

Open figure Print dialog box

Use this function only with GUIDE, or with apps created using the figure function.

Note

The -crossplatform and -setup input arguments have been removed in R2014b. They no longer have any effect.

Syntax

printdlg
printdlg(fig)

Description

printdlg prints the current figure.

printdlg(fig) creates a modal dialog box from which you can print the figure window identified by the handle fig. Uimenus do not print.

Tips

If you want to set up a new printer, use the operating system printer management utilities. Restart MATLAB® if you do not see the printer which is already setup.

Introduced before R2006a