PrintDialog pd = new PrintDialog();System.Drawing.Printing.PaperSize defaultPageSize = pd.PrinterSettings.DefaultPageSettings.PaperSize;