Page 1 of 1

Some printersettings work only with your print dialog

Posted: Tue Sep 18, 2007 4:06 am
by Fabio Pagano
If i make appear a print dialog, then i change some advanced settings (eg. "pages per sheet") and then i pass the printdialog.printersettings to your print method, some settings are not honoured (i've tried with "page per sheet" and doesn't work, while the paper tray works).

Code: Select all

Dim pd As New System.Windows.Forms.PrintDialog
pd.ShowDialog()
Report.Print(False, pd.PrinterSettings)
In this case, if i change the "page per sheet":

Image

it is not honoured (i've seen that the papersource is honoured).

If i use your print dialog:

Code: Select all

Report.Print(TRUE)
the "page per sheet" setting is honoured.

May someone give a clarification?

Thanks.

Some printersettings work only with your print dialog

Posted: Thu Sep 20, 2007 7:16 am
by Edward
The reason of such a behavior is that settings like multiple pages per one are specific for each kind of printer. That is why these settings are not controlled by our report generator.

If you have an idea how to control these parameters, please suggest your method and we will include it in our code.

Thank you.