Please ignore the above message.
I wrote that code to see if printersettings were retained if i passed the printersettings taken from my print dialog.
I've tried with a physical printer and all worked fine if i change the "ShowPrintDialog" parameter from True to False (effectively i need to do so because print dialog must appear only once). It was only a test...
Now this is my code and seems ok, the papersource specified in my print dialog is honoured.
Code: Select all
Dim pd As New System.Windows.Forms.PrintDialog
pd.ShowDialog()
Report.Print(FALSE, pd.PrinterSettings)
I'm doing other tests, and i've found something that needs clarification, but i'll open another thread.
Thank you.