Some printersettings work only with your print dialog

Stimulsoft Reports.NET discussion
Post Reply
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

Some printersettings work only with your print dialog

Post 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.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Some printersettings work only with your print dialog

Post 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.
Post Reply