System.Drawing.Printing.PrintDocument pd = new System.Drawing.Printing.PrintDocument(); for (int p = 0; p < pd.PrinterSettings.PaperSizes.Count; p++) { //My custom page size (Bill Printing 3.5x3) not display in this Listbox listBox1.Items.Add(pd.PrinterSettings.PaperSizes[p].PaperName); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)