StiReport.Print vs. StiReport.PrintWithWpf

Stimulsoft Reports.WPF discussion
Post Reply
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

StiReport.Print vs. StiReport.PrintWithWpf

Post 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?
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

StiReport.Print vs. StiReport.PrintWithWpf

Post by LukasT »

:surr: .... I have found this, so my situation is saved ;-) http://blog.saraf.me/2011/01/how-to-dis ... howdialog/
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

StiReport.Print vs. StiReport.PrintWithWpf

Post by Andrew »

Hello,

Do I understand you correct your issues is solved?

Thank you.
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

StiReport.Print vs. StiReport.PrintWithWpf

Post by LukasT »

Yes Andrew, this is solution for my issue ;-)
Have a nice day ;-)
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

StiReport.Print vs. StiReport.PrintWithWpf

Post by Andrew »

Have a great day too!

Thank you.
Post Reply