MATLAB Function Reference Previous page   Next Page
printdlg

Display print dialog box

Syntax

Description

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.

See Also

pagesetupdlg, printpreview


Previous page  print, printopt printpreview Next page

© 1994-2005 The MathWorks, Inc.