Open figure Print dialog box
-setup input arguments have
been removed in R2014b. They no longer have any effect.
printdlg is not supported in App Designer or in apps created using
uifigure function. Instead, use
create a printable snapshot of your app.
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.