Printing Problem

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top