printdlg - Print dialog box

Syntax

printdlg
printdlg(fig)
printdlg('-crossplatform',fig)
printdlg('-setup',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. 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

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS