L
Lloyd Dupont
Before printing I create an instance of PrintDocument as Follow (beware,
pseudo code)
//==============================
PaperSize ps = new PaperSize();
ps.Kind = PaperKind.A3
ps.Width = 1169;
ps.Height = 1654;
PrinterSettings printer = new PrinterSettings();
printer.PrinterName = "my printer";
printer.PageSettings.PaperSize = ps;
PrintDocument pd = new MyPrintDocument();
pd.PrinterSettings = ps;
//==============================
As you culd see I set the page's size (I set only value listed in the list
of PaperSize of the printer).
Now my problem is, whatever I do, it seems do ignore my page settings!!!
Am I missing something?
pseudo code)
//==============================
PaperSize ps = new PaperSize();
ps.Kind = PaperKind.A3
ps.Width = 1169;
ps.Height = 1654;
PrinterSettings printer = new PrinterSettings();
printer.PrinterName = "my printer";
printer.PageSettings.PaperSize = ps;
PrintDocument pd = new MyPrintDocument();
pd.PrinterSettings = ps;
//==============================
As you culd see I set the page's size (I set only value listed in the list
of PaperSize of the printer).
Now my problem is, whatever I do, it seems do ignore my page settings!!!
Am I missing something?