Open figure Print dialog box
Use this function only with GUIDE, or with apps created using the
-setup input arguments have
been removed in R2014b. They no longer have any effect.
printdlg prints the current figure.
printdlg(fig) creates a modal dialog box from
which you can print the figure window identified by the handle
do not print.
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.