Sample code with initialization of PAGESETUPDLG structure

Do You know where I can get sample code with initialization PAGESETUPDLG structure for create Page Setup dialog?