MATLAB Function Reference    

Display print dialog box



printdlg prints the current figure.

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

printdlg('-crossplatform',fig) displays the standard cross-platform MATLAB printing dialog rather than the built-in printing dialog box for Microsoft Windows computers. Insert this option before the fig argument.

printdlg('-setup',fig) forces the printing dialog to appear in a setup mode. Here one can set the default printing options without actually printing.

  print, printopt printpreview