L
Lloyd Dupont
Before printing I create an instance of PrintDocument as Follow (beware,
pseudo code)
//==============================
PrinterResolution pr = new PrinterResolution();
pr.X= 600;
pr.Y= 600;
pr.Kind = PrinterResolutionKind.High;
PrinterSettings printer = new PrinterSettings();
printer.PrinterName = "my printer";
printer.PageSettings.PrinterResolution = pr;
PrintDocument pd = new MyPrintDocument();
pd.PrinterSettings = ps;
//==============================
That seems to work, even in OnPrintPage() the printer resolution is the one
I requested.
On top of that the resolution is one supported by the printer (according to
the PrinterSettings class)
Yet it doesn't seemed to be honoured!
Any tip?
pseudo code)
//==============================
PrinterResolution pr = new PrinterResolution();
pr.X= 600;
pr.Y= 600;
pr.Kind = PrinterResolutionKind.High;
PrinterSettings printer = new PrinterSettings();
printer.PrinterName = "my printer";
printer.PageSettings.PrinterResolution = pr;
PrintDocument pd = new MyPrintDocument();
pd.PrinterSettings = ps;
//==============================
That seems to work, even in OnPrintPage() the printer resolution is the one
I requested.
On top of that the resolution is one supported by the printer (according to
the PrinterSettings class)
Yet it doesn't seemed to be honoured!
Any tip?