MATLAB Function Reference    
printpreview

Preview figure to be printed

Syntax

Description

printpreview displays a dialog box showing the figure in the currently active figure window as it will be printed. The figure is displayed with a 1/4 size thumbnail or full size image.

printpreview(f) displays a dialog box showing the figure having the handle f as it will be printed.

You can select any of the following options from the Print Preview dialog box.

Option Button
Description
Print...
Close Print Preview and open the Print dialog
Page Setup...
Open the Page Setup dialog
Zoom In
Display a full size image of the page
Zoom Out
Display a 1/4 scaled image of the page
Close
Close the Print Preview dialog

See Also

printdlg, pagesetupdlg


  printdlg prod