The following commands are used to set up document parameters and to display printin dialogs:
doPageSetup
Presents the Page Setup dialog
doJobSetup
Presents the Print Job Setup dialog
setLandscapeMode
Sets landscape or portrait orientation
setMargins
Sets the margins of the
setDocumentName
Sets the name of the document