Page 1 of 1

StiReport.Print vs. StiReport.PrintWithWpf

Posted: Thu Jan 12, 2012 10:55 am
by LukasT
Hello,
why Print is using PrintDocument and PrintWithWpf PrintTicket? I need to call and modify current printer settings from another place in program and than don't show PrintDialog, but when I modify settings using this method http://stackoverflow.com/questions/2437 ... ve-changes than I have only PrintDocument. Only one way how to get PrintTicket with needed settings is copying property by property from PrinterSettings to PrintDialog - this method is really stupid. Print function with PrintDocument is right what is ideal for my purposes, but I can't use it in WPF... What shall I do?

StiReport.Print vs. StiReport.PrintWithWpf

Posted: Thu Jan 12, 2012 1:05 pm
by LukasT
:surr: .... I have found this, so my situation is saved ;-) http://blog.saraf.me/2011/01/how-to-dis ... howdialog/

StiReport.Print vs. StiReport.PrintWithWpf

Posted: Thu Jan 12, 2012 11:39 pm
by Andrew
Hello,

Do I understand you correct your issues is solved?

Thank you.

StiReport.Print vs. StiReport.PrintWithWpf

Posted: Fri Jan 13, 2012 3:23 am
by LukasT
Yes Andrew, this is solution for my issue ;-)
Have a nice day ;-)

StiReport.Print vs. StiReport.PrintWithWpf

Posted: Fri Jan 13, 2012 6:22 am
by Andrew
Have a great day too!

Thank you.